Difference between revisions of "Template:Magicword/doc"
From MidrangeWiki
MrDolomite (talk | contribs) (created template doc page with examples) |
MrDolomite (talk | contribs) |
||
(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
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}} |
- This template is a self-reference and so is part of the MidrangeWiki project rather than the content itself.