Difference between revisions of "Template:Magicword"

From MidrangeWiki
Jump to: navigation, search
(creating template)
 
m (creating documentation sub-page)
Line 1: Line 1:
<noinclude>''See [[Template talk:{{PAGENAME}}]] for instructions.''[[Category:Internal link templates|{{PAGENAME}}]]</noinclude><includeonly><span style="color:#2A52BE">{{</span>[[Help:Magic words|{{{1}}}]]<span style="color:#2A52BE">}}</span></includeonly>
+
<span style="color:#2A52BE">{{</span>[[Help:Magic words|{{{1}}}]]<span style="color:#2A52BE">}}</span><noinclude>
 +
{{{{FULLPAGENAME}}/doc}}
 +
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Revision as of 19:40, 26 January 2007

{{{{{1}}}}}


The template documentation below is transcluded from Template:Magicword/doc [edit]

Documentation

{{magicword}} is used to created a clickable link to Help:Magic words. It automatically adds the leading {{ and trailing }} braces for ease of copy/paste.

Usage

{{magicword|NAMEOFMAGICWORD}}
Note that parameter should be entered as UPPERCASE.

Examples

Code Result
{{magicword|PAGENAME}}
{{PAGENAME}}
{{magicword|SUBJECTPAGENAME}}
{{SUBJECTPAGENAME}}