Template:X: Difference between revisions
Template page
More actions
no docs |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 96: | Line 96: | ||
| {{[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]}} | | {{[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]}} | ||
}}<noinclude> | }}<noinclude> | ||
{{No documentation|Information needs to be added to separate documentation page}} | |||
---- | ---- | ||
| Line 110: | Line 110: | ||
* <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: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).
- {{x|NAMESPACE}} → {{NAMESPACE}}
- {{x|DEFAULTSORT}} → {{DEFAULTSORT:}}
- {{x|ifexist}} → {{#ifexist:}}
- {{x|localurl}} → {{localurl:}}
- {{x|REDIRECT}} → #REDIRECT
- {{x|safesubst}} → {{safesubst:}}
- {{x|NOTOC}} → __NOTOC__
- {{x|categorytree}} → <categorytree>
...
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
{{x|NAMESPACE}}- {{NAMESPACE}}{{x|DEFAULTSORT}}- {{DEFAULTSORT:}}{{x|ifexist}}- {{#ifexist:}}{{x|localurl}}- {{localurl:}}{{x|REDIRECT}}- #REDIRECT{{x|safesubst}}- {{safesubst:}}{{x|NOTOC}}- __NOTOC__{{x|categorytree}}- <categorytree>