Difference between revisions of "Template:Ref"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>{{#if:{{{N|}}}|<!--
 
<includeonly>{{#if:{{{N|}}}|<!--
-->{{#tag:ref|name={{{N}}}|group={{{group|}}}|3=}}<!--
+
-->{{#tag:ref||name={{uc:{{{N}}}|}}|group={{{group|}}}|}}<!--
 
-->|{{#tag:ref
 
-->|{{#tag:ref
 
|{{{pre|}}}{{#switch:{{lc:{{{1}}}|}}<!--
 
|{{{pre|}}}{{#switch:{{lc:{{{1}}}|}}<!--
Line 13: Line 13:
 
-->}}{{{post|}}}<!--
 
-->}}{{{post|}}}<!--
   
-->|name={{{name|{{#switch:{{lc:{{{1}}}|}}|b|book={{{2}}}_{{{3}}}{{{4}}}|?|wotdb|qa=?{{{2}}}.{{{3}}}|}}|}}}<!--
+
-->|name={{uc:{{{name|{{#switch:{{lc:{{{1}}}|}}|b|book={{{2}}}_{{{3}}}{{{4}}}|?|wotdb|qa=?{{{2}}}.{{{3}}}|}}|}}}|}}<!--
 
-->|group={{{group|}}}<!--
 
-->|group={{{group|}}}<!--
   

Revision as of 20:04, 22 March 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-nightblood-and-breath/page__view__findpost__p__9780|About The Allmighty|type=post}}

Template:Cat