Difference between revisions of "Template:Magicword"

From MidrangeWiki
Jump to: navigation, search
(changing from external link back to WP or meta to internal Help page)
m (hmm, revert back to previous good working copy)
 
Line 1: Line 1:
<includeonly><span style="color:#2A52BE">{{</span>[[Help:Magic_words#Page_names_and_related_info|{{1}}}]]<span style="color:#2A52BE">}}</span></includeonly><noinclude>
+
<span style="color:#2A52BE">{{</span>[[Help:Magic words|{{{1}}}]]<span style="color:#2A52BE">}}</span><noinclude>
 
{{{{FULLPAGENAME}}/doc}}
 
{{{{FULLPAGENAME}}/doc}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 14:55, 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}}