Difference between revisions of "Template:Magicword/doc"

From MidrangeWiki
Jump to: navigation, search
(created template doc page with examples)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 +
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
=Documentation=
 
=Documentation=
 
<big>{{tl|magicword}}</big> is used to created a clickable link to [http://meta.wikimedia.org/wiki/Help:Magic_words Help:Magic words].  It automatically adds the leading <code>{{</code> and trailing <code>}}</code> braces for ease of copy/paste.
 
<big>{{tl|magicword}}</big> is used to created a clickable link to [http://meta.wikimedia.org/wiki/Help:Magic_words Help:Magic words].  It automatically adds the leading <code>{{</code> and trailing <code>}}</code> braces for ease of copy/paste.
Line 24: Line 26:
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
[[Category:Internal link templates|{{PAGENAME}}]]
 +
[[Category:Internal formatting templates|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
</includeonly>
 
</includeonly>

Latest revision as of 13:47, 5 February 2007

48px This is the template documentation page for {{Magicword}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

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