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:X: Difference between revisions

Template page
add support for <extension tags>
no docs
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
{{{{{|safesubst:}}}#switch:{{{1}}}
<!-- __behaviour switches__ -->
<!-- __behaviour switches__ -->
  | NOTOC | FORCETOC | TOC
  | NOTOC | FORCETOC | TOC
Line 10: Line 10:
  | STATICREDIRECT
  | STATICREDIRECT
  | HIDDENCAT
  | HIDDENCAT
  = [[mw:Help:Magic_words#Behavior_switches|{{{2|&#95;_{{{1}}}_&#95;}}}]]
  = &#95;_[[mw:Help:Magic_words#Behavior_switches|{{{2|{{{1}}}}}}]]_&#95;


<!-- {{behavior switches:}} -->
<!-- {{behavior switches:}} -->
Line 38: Line 38:
  = &#123;&#123;[[mw:Help:Magic_words#Formatting|{{{2|{{{1}}}:}}}]]&#125;&#125;
  = &#123;&#123;[[mw:Help:Magic_words#Formatting|{{{2|{{{1}}}:}}}]]&#125;&#125;
  | GENDER | gender
  | GENDER | gender
  | int | msg | msgnw
  | int | msg | msgnw | raw
| raw | subst
  = &#123;&#123;[[mw:Help:Magic_words#Miscellaneous|{{{2|{{{1}}}:}}}]]&#125;&#125;
  = &#123;&#123;[[mw:Help:Magic_words#Miscellaneous|{{{2|{{{1}}}:}}}]]&#125;&#125;
| subst | safesubst
= &#123;&#123;[[m:Help:Substitution|{{{2|{{{1}}}:}}}]]&#125;&#125;


<!-- {{#parser functions:}} -->
<!-- {{#parser functions:}} -->
  | formatdate | dateformat = &#123;&#123;[[mw:Help:Magic_words#Formatting|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
  | formatdate | dateformat
= &#123;&#123;[[mw:Help:Magic_words#Formatting|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
  | special
  | special
  | tag
  | tag
Line 68: Line 70:
  | ARTICLESPACE | ARTICLESPACEE | TALKSPACE | TALKSPACEE
  | ARTICLESPACE | ARTICLESPACEE | TALKSPACE | TALKSPACEE
  = &#123;&#123;[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}}}}]]&#125;&#125;
  = &#123;&#123;[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}}}}]]&#125;&#125;
| CURRENTMONTHNAMEGEN | LOCALMONTHNAMEGEN
= &#123;&#123;[[m:Help:Magic_words#Language-dependent_word_conversions|{{{2|{{{1}}}}}}]]&#125;&#125;


<!-- <extension tags> -->
<!-- <extension tags> -->
Line 92: Line 96:
  | &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]&#125;&#125;
  | &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]&#125;&#125;
}}<noinclude>
}}<noinclude>
 
{{No documentation|Information needs to be added to separate documentation page}}


----
----
Line 102: Line 106:
* <nowiki>{{</nowiki>x|localurl}} → {{x|localurl}}
* <nowiki>{{</nowiki>x|localurl}} → {{x|localurl}}
* <nowiki>{{</nowiki>x|REDIRECT}} → {{x|REDIRECT}}
* <nowiki>{{</nowiki>x|REDIRECT}} → {{x|REDIRECT}}
* <nowiki>{{</nowiki>x|safesubst}} → {{x|safesubst}}
* <nowiki>{{</nowiki>x|NOTOC}} → {{x|NOTOC}}
* <nowiki>{{</nowiki>x|NOTOC}} → {{x|NOTOC}}
* <nowiki>{{</nowiki>x|categorytree}} → {{x|categorytree}}
* <nowiki>{{</nowiki>x|categorytree}} → {{x|categorytree}}
...
...
 
{{Documentation}}
[[Category:Interwiki link templates|{{PAGENAME}}]]
[[Category:Interwiki link templates|{{PAGENAME}}]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
[[Category:One-letter templates| ]]
</noinclude>
</noinclude>

Latest revision as of 00:04, 31 July 2026

{{{{{1}}}}}



Links to a help page about the magic word and automatically adds the correct syntax (case sensitive in most cases).

...

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:X/doc.

Helper template that links to a magic-word or parser-function help page on MediaWiki.org with the correct syntax. Case-sensitive in most cases.

Examples

Contents
Cookies help us deliver our services. By using our services, you agree to our use of cookies.