Difference between revisions of "Template:Ref"

67 bytes added ,  12 years ago
m
formatted nice, changed N for empty
m (+a)
m (formatted nice, changed N for empty)
<includeonly>{{#iftag:{{{N|}}}|ref<!--
-->{{#tag:ref||name={{uc:{{{N}}}|}}|group={{{group|}}}|}}<!--
-->|{{#tag:ref
|{{{pre|}}}{{#switch:{{lc:{{{1}}}|}}<!--
-->|a|article=[[{{{2}}}|{{{3|{{{2}}}|}}}]]<!--
-->|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}<!--
-->|?|wotdb|qa={{wotdb|{{{2}}}|{{{3}}}|{{{4}}}|}}<!--
-->|17s|f={{17s|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
-->|twg={{twg|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
-->|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
-->|sawiki|sa|w={{SAwiki|{{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
-->|wp={{wp|{{{2}}}|{{{3|Wikipedia}}}|}}<!--
-->|{{{1}}}<!--
-->}}{{{post|}}}<!--
 
TEXT
-->|name={{uc:{{{name|{{#switch:{{lc:{{{1}}}|}}|b|book={{{2}}}_{{{3}}}{{{4}}}|?|wotdb|qa=?{{{2}}}.{{{3}}}|}}|}}}|}}<!--
-->|{{#if:{{{empty|}}}||<!--
 
-->{{{pre|}}}<!--
|{{{pre|}}}-->{{#switch:{{lc:{{{1}}}|}}<!--
-->|a|article=[[{{{2}}}|{{{3|{{{2}}}|}}}]]<!--
-->{{#tag:ref|b|namebook={{uc:bref|{{{N2}}}|{{{3}}}|group={{{group|4}}}|}}<!--
-->|?|wotdb|qa={{wotdb|{{{2}}}|{{{3}}}|{{{4}}}|}}<!--
-->|17s|f={{17s|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
-->|twg={{twg|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
-->|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
-->|sawiki|sa|w={{SAwiki|{{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
-->|wp={{wp|{{{2}}}|{{{3|Wikipedia}}}|}}<!--
-->|{{{1}}}<!--
-->}}<!--
-->}}{{{post|}}}<!--
 
-->}}<!-- end $EMPTY
 
NAME
-->|name={{uc:{{{name|<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
-->|b|book={{bref|{{{2}}}|_{{{3}}}|{{{4}}}|}}<!--
-->|?|wotdb|qa=?{{{2}}}.{{{3}}}<!--
-->|}}<!--
 
-->|}}}|}}<!--
 
GROUP
-->|group={{{group|}}}<!--
 
-->}}|}}</includeonly><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.
40,275

edits