Difference between revisions of "Template:Magicword"

From MidrangeWiki
Jump to: navigation, search
m (creating documentation sub-page)
(changing from external link back to WP or meta to internal Help page)
Line 1: Line 1:
<span style="color:#2A52BE">{{</span>[[Help:Magic words|{{{1}}}]]<span style="color:#2A52BE">}}</span><noinclude>
+
<includeonly><span style="color:#2A52BE">{{</span>[[Help:Magic_words#Page_names_and_related_info|{{1}}}]]<span style="color:#2A52BE">}}</span></includeonly><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>

Revision as of 19:53, 26 January 2007


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}}