Difference between revisions of "Template:Ref"

98 bytes added ,  12 years ago
added ref
(added type= and explenation)
(added ref)
{{#tag:ref|{{{pre|}}}{{#switch:{{lc:{{{1}}}}}
|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}
|17s|f={{17s|{{{type|21}}}={{{2}}}|2={{{3|}}}|}}
|twg={{twg|{{{type|21}}}={{{2}}}|2={{{3|}}}|}}
|sb|stormblessed={{sb|{{{type|21}}}={{{2}}}|2={{{3|}}}|}}
|sawiki|sa|w={{SAwiki|{{{2}}}|{{{3|}}}|}}
|wp={{wp|{{{2}}}|{{{3|}}}|}}
|{{{1}}}
}}{{{post|}}}|name={{{name|}}}|group={{{group|}}}|}}<noinclude>This allows you to perumate through the reference generating templates.
To access the <code>link=</code> or <code>page=</code> parameters for {{t|17s}} and its ilk, include the <code>type=</code> parameter with the name of the parameter to pass the <code>1=<519-nightblood-and-breath/page__pid__9820#entry9820</code> parameter to.
For example to refer to a specific post on the forums: <code><nowiki>{{ref|17s|519-nightblood-and-breath/page__view__findpost__p__9780|About The Allmighty|type=page}}</nowiki></code>{{ref|17s|519-nightblood-and-breath/page__view__findpost__p__9780|About The Allmighty|type=page}}
 
== Other ==
40,275

edits