Difference between revisions of "Template:Ref"

From The Coppermind
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#tag:ref|{{{pre|}}}{{#switch:{{lc:{{{1}}}}}
 
{{#tag:ref|{{{pre|}}}{{#switch:{{lc:{{{1}}}}}
 
|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}
 
|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}
|17s|f={{17s|{{{type|1}}}={{{2}}}|{{{3|17th Shard}}}|}}
+
|17s|f={{17s|{{{type|1}}}={{{2}}}|2={{{3|17th Shard}}}|}}
|twg={{twg|{{{type|1}}}={{{2}}}|{{{3|Time Wasters Guide}}}|}}
+
|twg={{twg|{{{type|1}}}={{{2}}}|2={{{3|Time Wasters Guide}}}|}}
 
|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|2={{{3|Stormblessed}}}|}}
 
|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|2={{{3|Stormblessed}}}|}}
 
|sawiki|sa|w={{SAwiki|{{{2}}}|{{{3|Stormlight Archive Wiki}}}|}}
 
|sawiki|sa|w={{SAwiki|{{{2}}}|{{{3|Stormlight Archive Wiki}}}|}}
Line 9: Line 9:
 
}}{{{post|}}}|name={{{name|}}}|group={{{group|}}}|}}<noinclude>This allows you to perumate through the reference generating templates.
 
}}{{{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.
 
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}}
+
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>
   
 
== Other ==
 
== Other ==

Revision as of 13:22, 26 June 2011

[1]This allows you to perumate through the reference generating templates. To access the link= or page= parameters for {{17s}} and its ilk, include the type= parameter with the name of the parameter to pass the 1=<519-nightblood-and-breath/page__pid__9820#entry9820 parameter to. For example to refer to a specific post on the forums: {{ref|17s|519-nightblood-and-breath/page__view__findpost__p__9780|About The Allmighty|type=page}}

Other

  1. {{{1}}}

Template:Cat