Difference between revisions of "Template:Ref"

207 bytes added ,  12 years ago
no edit summary
{{#tag:ref|{{{pre|}}}{{#switch:{{lc:{{{1}}}}}
|b|book={{bref{pre|{{{2}}}|{{#switch:{3}}}|{lc:{{{41}}}|}}<!--
-->|17sb|fbook={{17sbref|{{{type|12}}}=|{{{23}}}|2={{{3|17th Shard4}}}|}}<!--
-->|twg17s|f={{twg17s|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3|Time Wasters Guide}}}|=}}<!--
-->|sb|stormblessedtwg={{sbtwg|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3|Stormblessed}}}|=}}<!--
-->|sawikisb|sa|wstormblessed={{SAwikisb|{{{type|1}}}={{{2}}}|{{#if:{{{3|Stormlight Archive Wiki}}}|2|none}}={{{3}}}|=}}<!--
-->|wpsawiki|sa|w={{wpSAwiki|{{{2}}}|{{#if:{{{3|Wikipedia}}}|2|none}}={{{3}}}|=}}<!--
-->|wp={{wp|{{{2}}}|{{{3|Wikipedia}}}|}}<!--
-->|{{{1}}}<!--
}}{{{post|}}}|name={{{name|}}}|group={{{group|}}}|}}<noinclude>This allows you to perumate through the reference generating templates.
-->}}{{{post|}}}<!--
 
-->|name={{{name|}}}<!--
-->|group={{{group|}}}<!--
 
}}{{{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