Difference between revisions of "Template:Ref"

From The Coppermind
Jump to navigation Jump to search
m (+name:17s base on url passed)
m
Line 9: Line 9:
 
-->|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}<!--
 
-->|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}<!--
 
-->|?|wotdb|qa={{wotdb|{{{2}}}|{{{3}}}|{{{4}}}|}}<!--
 
-->|?|wotdb|qa={{wotdb|{{{2}}}|{{{3}}}|{{{4}}}|}}<!--
-->|17s|f={{17s|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
+
-->|17s|f={{17s|{{{2}}}|{{{3|}}}={{{4}}}|2={{{5| }}}|}}<!--
 
-->|twg={{twg|{{{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}}}|=}}<!--
 
-->|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!--
Line 27: Line 27:
 
-->|b|book={{{2}}}_{{{3}}}{{{4}}}<!--
 
-->|b|book={{{2}}}_{{{3}}}{{{4}}}<!--
 
-->|?|wotdb|qa=?{{{2}}}.{{{3}}}<!--
 
-->|?|wotdb|qa=?{{{2}}}.{{{3}}}<!--
-->|17s=?{{{2}}}<!--
+
-->|17s=?{{{2}}}.{{{4}}}<!--
 
-->|}}<!--
 
-->|}}<!--
   
Line 41: Line 41:
 
For example to refer to a specific post on the forums:
 
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=post}}</nowiki></code>
+
<code><nowiki>{{ref|17s|519|post|9780|About The Allmighty}}</nowiki></code>
   
 
{{cat|templates}}
 
{{cat|templates}}

Revision as of 21:46, 6 August 2012

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|post|9780|About The Allmighty}}

Template:Cat