Difference between revisions of "Template:Ref"

From The Coppermind
Jump to navigation Jump to search
m (formatted nice, changed N for empty)
m (+ENG args)
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{#if:{{{empty|}}}||<!--
+
-->|{{#if:{{{empty|{{{E|}}}|}}}||<!--
   
 
-->{{{pre|}}}<!--
 
-->{{{pre|}}}<!--
Line 18: Line 18:
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
-->}}<!-- end $EMPTY
+
-->}}<!-- end $empty OR $E
   
 
NAME
 
NAME
-->|name={{uc:{{{name|<!--
+
-->|name={{uc:{{{name|{{{N|<!--
   
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
Line 28: Line 28:
 
-->|}}<!--
 
-->|}}<!--
   
-->|}}}|}}<!--
+
-->|}}}|}}}|}}<!--
   
 
GROUP
 
GROUP
-->|group={{{group|}}}<!--
+
-->|group={{{group|{{{G|}}}|}}}<!--
   
 
-->}}</includeonly><noinclude>This allows you to perumate through the reference generating templates.
 
-->}}</includeonly><noinclude>This allows you to perumate through the reference generating templates.

Revision as of 19:57, 25 April 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