Template:X: Difference between revisions
Template page
More actions
+safesubst |
tweak / +{{{|safesubst:}}} |
||
| 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| | = __[[mw:Help:Magic_words#Behavior_switches|{{{2|{{{1}}}}}}]]__ | ||
<!-- {{behavior switches:}} --> | <!-- {{behavior switches:}} --> | ||
| Line 38: | Line 38: | ||
= {{[[mw:Help:Magic_words#Formatting|{{{2|{{{1}}}:}}}]]}} | = {{[[mw:Help:Magic_words#Formatting|{{{2|{{{1}}}:}}}]]}} | ||
| GENDER | gender | | GENDER | gender | ||
| int | msg | msgnw | | int | msg | msgnw | raw | ||
| | = {{[[mw:Help:Magic_words#Miscellaneous|{{{2|{{{1}}}:}}}]]}} | ||
= {{[[ | | subst | safesubst | ||
= {{[[m:Help:Substitution|{{{2|{{{1}}}:}}}]]}} | |||
<!-- {{#parser functions:}} --> | <!-- {{#parser functions:}} --> | ||
| formatdate | dateformat = {{[[mw:Help:Magic_words#Formatting|{{{2|#{{{1}}}:}}}]]}} | | formatdate | dateformat | ||
= {{[[mw:Help:Magic_words#Formatting|{{{2|#{{{1}}}:}}}]]}} | |||
| special | | special | ||
| tag | | tag | ||
| Line 68: | Line 70: | ||
| ARTICLESPACE | ARTICLESPACEE | TALKSPACE | TALKSPACEE | | ARTICLESPACE | ARTICLESPACEE | TALKSPACE | TALKSPACEE | ||
= {{[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}}}}]]}} | = {{[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}}}}]]}} | ||
| CURRENTMONTHNAMEGEN | LOCALMONTHNAMEGEN | |||
= {{[[m:Help:Magic_words#Language-dependent_word_conversions|{{{2|{{{1}}}}}}]]}} | |||
<!-- <extension tags> --> | <!-- <extension tags> --> | ||
| 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}} | ||
Revision as of 06:36, 3 August 2010
{{{{{1}}}}}
Links to a help page about the magic word and automatically adds the correct syntax (case sensitive in most cases).
- {{x|NAMESPACE}} → {{NAMESPACE}}
- {{x|DEFAULTSORT}} → {{DEFAULTSORT:}}
- {{x|ifexist}} → {{#ifexist:}}
- {{x|localurl}} → {{localurl:}}
- {{x|REDIRECT}} → #REDIRECT
- {{x|safesubst}} → {{safesubst:}}
- {{x|NOTOC}} → __NOTOC__
- {{x|categorytree}} → <categorytree>
...