Template:Selfref: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Debresser
m (Template redirected using AWB)
meta>Dispenser
(Adding error if switch is not matched valid case)
Line 1: Line 1:
{{#switch:{{{2|NONE}}}
{{#switch:{{{2|NONE}}}
|NONE|hatnote|hat={{dablink|1=<span class="plainlinks selfreference">{{{1}}}</span>}}
|NONE|hatnote|hat={{dablink|1=<span class="plainlinks selfreference">{{{1}}}</span>}}
|inline|=<span class="plainlinks selfreference">{{{1}}}</span>
|inline|<!--empty-->=<span class="plainlinks selfreference">{{{1}}}</span>
|#default={{error|Second parameter must be <code>hatnone</code>, <code>hat</code>, or <code>inline</code>}}
}}<!--
}}<!--
  * Note to editors - matching the empty string for inline with "|=" is important!
  * Note: matching the empty string for inline is for backwards compatibility with the 2006-2008 version
--><noinclude>
--><noinclude>
{{Pp-template|small=yes}}
 
{{documentation}}
{{documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 19:54, 10 February 2010

{{{1}}}