Template:X: Difference between revisions
Template page
More actions
mNo edit summary |
unlink brackets and simpliy links |
||
| Line 1: | Line 1: | ||
{{ #switch:{{{1}}} | {{#switch:{{{1}}} | ||
| NOTOC | FORCETOC | TOC | | NOTOC | FORCETOC | TOC | ||
| NOEDITSECTION | NEWSECTIONLINK | | NOEDITSECTION | NEWSECTIONLINK | ||
| Line 9: | Line 9: | ||
| STATICREDIRECT = [[mw:Help:Magic words#Behaviour switches|{{{2|__{{{1}}}__}}}]] | | STATICREDIRECT = [[mw:Help:Magic words#Behaviour switches|{{{2|__{{{1}}}__}}}]] | ||
| HIDDENCAT = [[mw:Help:Category#Hidden categories|{{{2|__{{{1}}}__}}}]] | | HIDDENCAT = [[mw:Help:Category#Hidden categories|{{{2|__{{{1}}}__}}}]] | ||
| DEFAULTSORT = [[mw:Help:Magic words|{{{2| | | DEFAULTSORT = {{[[mw:Help:Magic words|{{{2|{{{1}}}:}}}]]}} | ||
| REDIRECT = [[mw:Help:Redirect|{{{2|#{{{1}}}}}}]] | | REDIRECT = [[mw:Help:Redirect|{{{2|#{{{1}}}}}}]] | ||
| language = [[mw:Help:Extension:ParserFunctions#.23language:|{{{2| | | language = [[mw:Help:Extension:ParserFunctions#.23language:|{{{2|#{{{1}}}:}}}]]}} | ||
| special | | special | ||
| tag = [[mw:Help:Magic words|{{{2| | | tag = [[mw:Help:Magic words|{{{2|#{{{1}}}:}}}]]}} | ||
| ns = [[mw:Help:Extension:ParserFunctions#NS|{{{2| | | ns = {{[[mw:Help:Extension:ParserFunctions#NS|{{{2|{{{1}}}:}}}]]}} | ||
| localurl | localurle | | localurl | localurle | ||
| urlencode | | urlencode | anchorencode | ||
| anchorencode | |||
| fullurl | fullurle | | fullurl | fullurle | ||
| filepath = [[mw:Help:Magic words#Namespaces and URLs|{{{2| | | filepath = {{[[mw:Help:Magic words#Namespaces and URLs|{{{2|{{{1}}}:}}}]]}} | ||
| lc | | lc | lcfirst | ||
| lcfirst | | uc | ucfirst | ||
| uc | |||
| ucfirst | |||
| formatnum | | formatnum | ||
| padleft | | padleft | padright = {{[[mw:Help:Magic words#Formatting|{{{2|{{{1}}}:}}}]]}} | ||
| padright = [[mw:Help:Magic words#Formatting|{{{2| | |||
| grammar | | grammar | ||
| plural = [[mw:Help:Magic words#Language-dependent word conversions|{{{2| | | plural = {{[[mw:Help:Magic words#Language-dependent word conversions|{{{2|{{{1}}}:}}}]]}} | ||
| int | | int | ||
| msg | | msg | ||
| raw = [[mw:Help:Magic words#Template modifiers|{{{2| | | raw = {{[[mw:Help:Magic words#Template modifiers|{{{2|{{{1}}}:}}}]]}} | ||
| msgnw = [[mw:Help:Template#msgnw|{{{2 | | msgnw = {{[[mw:Help:Template#msgnw|{{{2{{{1}}}:}}}]]}} | ||
| subst = [[mw:Help:Substitution|{{{2| | | subst = {{[[mw:Help:Substitution|{{{2|{{{1}}}:}}}]]}} | ||
<!-- ParserFunctions --> | <!-- ParserFunctions --> | ||
| expr | | expr | ||
| if | | if | ||
| | | ifeq | ||
| | | ifexist | ||
| | | ifexpr | ||
| iferror | |||
| rel2abs | |||
| switch | |||
| time | |||
| titleparts | |||
| formatdate | dateformat = {{[[mw:Help:Extension:ParserFunctions#.23{{{1}}}:|{{{2|#{{{1}}}:}}}]]}} | |||
| {{[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]}} | |||
}}<noinclude> | }}<noinclude> | ||
| Line 59: | Line 56: | ||
* <nowiki>{{</nowiki>mwl|NOTOC}} → {{mwl|NOTOC}} | * <nowiki>{{</nowiki>mwl|NOTOC}} → {{mwl|NOTOC}} | ||
... | ... | ||
[[Category:Interwiki link templates|{{PAGENAME}}]] | [[Category:Interwiki link templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 23:14, 1 May 2009
{{{{{1}}}}}
Magic Word Link. Links to a help page about the magic word. Takes any kind and will add the correct syntax.
- {{mwl|NAMESPACE}} → Template:Mwl
- {{mwl|DEFAULTSORT}} → Template:Mwl
- {{mwl|ifexist}} → Template:Mwl
- {{mwl|localurl}} → Template:Mwl
- {{mwl|REDIRECT}} → Template:Mwl
- {{mwl|NOTOC}} → Template:Mwl
...