Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Magic word/doc: Difference between revisions

Template page
 
Use main {{TemplateBox}}
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Shared Template Warning|Template:Magic word}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{TemplateBox
{{TemplateBox
| name = Magic word
| name = Magic word
| desc =  
| mbox =
{{Uses TemplateStyles|Template:Mono/styles.css|Template:Nowrap/styles.css}}
 
| desc-en = Creates a formatted link to the documentation of a magic word.


| namespace = all
| namespace = all
| usergroup = all
| usergroup = all


| example = <nowiki>#language|{{Magic word|PAGELANGUAGE}}</nowiki>
| example = <nowiki>nowrap=1|ext=Translate|#translation</nowiki>
| example-value = <code>{{Magic word|#language|{{Magic word|PAGELANGUAGE}}}}</code>
| example-value = {{Magic word|nowrap=1|ext=Translate|#translation}}
 
| example2 = <nowiki>mono=1|nowrap=1|ext=Scribunto|#invoke|Example</nowiki>
| example2-value = {{Magic word|mono=1|nowrap=1|ext=Scribunto|#invoke|Example}}


| print = line
| example3 = <nowiki>code=1|#language|{{Magic word|PAGELANGUAGE}}</nowiki>
| useTemplateData = only
| example3-value = {{Magic word|code=1|#language|{{Magic word|PAGELANGUAGE}}}}


| 1 = 1
| seealso =
| 1label = Magic Word
{{Tl-nav}}
| 1d-en = The name of the magic word or parser function.
| 1stat = required
| 1type = string


| 2 = 2
| i18n-method = -
| 2label = Parameter 0
| 2d-en = The parameter passed immediately after the colon.
| 2type = string


| 3 = ext
| print = line
| 3label = Extension
| useTemplateData = TNT
| 3d-en = The name of the extension that adds the parser function (without the “Extension:” namespace)
| 3type = string
}}
}}
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
Cookies help us deliver our services. By using our services, you agree to our use of cookies.