This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.
Template:X: Difference between revisions
Jump to navigation
Jump to search
imported>Dcoetzee Import from http://commons.wikimedia.org/w/index.php?title=Template:X&oldid=55431653 |
imported>Dcoetzee Fix links |
||
| Line 10: | Line 10: | ||
| STATICREDIRECT | | STATICREDIRECT | ||
| HIDDENCAT | | HIDDENCAT | ||
= __[ | = __[http://www.mediawiki.org/wiki/Help:Magic_words#Behavior_switches {{{2|{{{1}}}}}}]__ | ||
<!-- {{behavior switches:}} --> | <!-- {{behavior switches:}} --> | ||
| Line 20: | Line 20: | ||
| NUMBERINGROUP | NUMINGROUP | | NUMBERINGROUP | NUMINGROUP | ||
| PAGESINNAMESPACE | PAGESINNS | | PAGESINNAMESPACE | PAGESINNS | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words {{{2|{{{1}}}:}}}]}} | ||
<!-- #redirect: --> | <!-- #redirect: --> | ||
| REDIRECT | redirect | | REDIRECT | redirect | ||
= [ | = [http://www.mediawiki.org/wiki/Help:Redirects {{{2|#{{{1}}}}}}] | ||
<!-- {{parser functions:}} --> | <!-- {{parser functions:}} --> | ||
| localurl | localurle | fullurl | fullurle | filepath | | localurl | localurle | fullurl | fullurle | filepath | ||
| urlencode | anchorencode | | urlencode | anchorencode | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#URL_data {{{2|{{{1}}}:}}}]}} | ||
| ns | nse | | ns | nse | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#Namespaces {{{2|{{{1}}}:}}}]}} | ||
| lc | lcfirst | uc | ucfirst | | lc | lcfirst | uc | ucfirst | ||
| formatnum | | formatnum | ||
| padleft | padright | | padleft | padright | ||
| grammar | plural | | grammar | plural | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#Formatting {{{2|{{{1}}}:}}}]}} | ||
| GENDER | gender | | GENDER | gender | ||
| int | msg | msgnw | raw | | int | msg | msgnw | raw | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#Miscellaneous {{{2|{{{1}}}:}}}]}} | ||
| subst | safesubst | | subst | safesubst | ||
= {{[[m:Help:Substitution|{{{2|{{{1}}}:}}}]]}} | = {{[[m:Help:Substitution|{{{2|{{{1}}}:}}}]]}} | ||
| Line 45: | Line 45: | ||
<!-- {{#parser functions:}} --> | <!-- {{#parser functions:}} --> | ||
| formatdate | dateformat | | formatdate | dateformat | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#Formatting {{{2|#{{{1}}}:}}}]}} | ||
| special | | special | ||
| tag | | tag | ||
| language | | language | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#Miscellaneous {{{2|#{{{1}}}:}}}]}} | ||
<!-- {{#ParserFunctions:}} --> | <!-- {{#ParserFunctions:}} --> | ||
| expr | if | ifeq | ifexist | ifexpr | iferror | | expr | if | ifeq | ifexist | ifexpr | iferror | ||
| rel2abs | switch | time | timel | titleparts | | rel2abs | switch | time | timel | titleparts | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23{{{1}}}: {{{2|#{{{1}}}:}}}]}} | ||
<!-- {{variables}} --> | <!-- {{variables}} --> | ||
| Line 63: | Line 63: | ||
| REVISIONID | REVISIONUSER | | REVISIONID | REVISIONUSER | ||
| REVISIONDAY | REVISIONDAY2 | REVISIONMONTH | REVISIONYEAR | REVISIONTIMESTAMP | | REVISIONDAY | REVISIONDAY2 | REVISIONMONTH | REVISIONYEAR | REVISIONTIMESTAMP | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#Technical_metadata {{{2|{{{1}}}}}}]}} | ||
| NUMBEROFPAGES | NUMBEROFARTICLES | NUMBEROFFILES | NUMBEROFEDITS | NUMBEROFVIEWS | | NUMBEROFPAGES | NUMBEROFARTICLES | NUMBEROFFILES | NUMBEROFEDITS | NUMBEROFVIEWS | ||
| NUMBEROFUSERS | NUMBEROFADMINS | NUMBEROFACTIVEUSERS | | NUMBEROFUSERS | NUMBEROFADMINS | NUMBEROFACTIVEUSERS | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#Statistics {{{2|{{{1}}}}}}]}} | ||
| NAMESPACE | NAMESPACEE | SUBJECTSPACE | SUBJECTSPACEE | | NAMESPACE | NAMESPACEE | SUBJECTSPACE | SUBJECTSPACEE | ||
| ARTICLESPACE | ARTICLESPACEE | TALKSPACE | TALKSPACEE | | ARTICLESPACE | ARTICLESPACEE | TALKSPACE | TALKSPACEE | ||
= {{[ | = {{[http://www.mediawiki.org/wiki/Help:Magic_words#Namespaces {{{2|{{{1}}}}}}]}} | ||
| CURRENTMONTHNAMEGEN | LOCALMONTHNAMEGEN | | CURRENTMONTHNAMEGEN | LOCALMONTHNAMEGEN | ||
= {{[[m:Help:Magic_words#Language-dependent_word_conversions|{{{2|{{{1}}}}}}]]}} | = {{[[m:Help:Magic_words#Language-dependent_word_conversions|{{{2|{{{1}}}}}}]]}} | ||
| Line 75: | Line 75: | ||
<!-- <extension tags> --> | <!-- <extension tags> --> | ||
| categorytree | | categorytree | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:CategoryTree {{{2|{{{1}}}}}}]> | ||
| charinsert | | charinsert | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:CharInsert {{{2|{{{1}}}}}}]> | ||
| hiero | | hiero | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:WikiHiero {{{2|{{{1}}}}}}]> | ||
| imagemap | | imagemap | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:ImageMap {{{2|{{{1}}}}}}]> | ||
| inputbox | | inputbox | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:InputBox {{{2|{{{1}}}}}}]> | ||
| poem | | poem | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:Poem {{{2|{{{1}}}}}}]> | ||
| ref | references | | ref | references | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:Cite/Cite.php {{{2|{{{1}}}}}}]> | ||
| source | syntaxhighlight | | source | syntaxhighlight | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:SyntaxHighlight GeSHi {{{2|{{{1}}}}}}]> | ||
| timeline | | timeline | ||
= <[ | = <[http://www.mediawiki.org/wiki/Extension:EasyTimeline {{{2|{{{1}}}}}}]> | ||
<!-- other {{variables}} / anything else --> | <!-- other {{variables}} / anything else --> | ||
| {{[ | | {{[http://www.mediawiki.org/wiki/Help:Magic_words {{{2|{{{1}}}}}}]}} | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 15:12, 14 January 2013
{{{{{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>
...