Ŝablono:X
El Komunejo
(Malsamoj inter versioj)
E |
E (28 versioj: Diversaj ŝablonoj) |
||
(23 mezaj versioj ne montrata.) | |||
Linio 1: | Linio 1: | ||
- | {{ #switch:{{{1}}} | + | {{#switch:{{{1}}} |
- | | NOTOC | + | <!-- __behaviour switches__ --> |
- | | FORCETOC | + | | NOTOC | FORCETOC | TOC |
- | | TOC | + | | NOEDITSECTION | NEWSECTIONLINK | NONEWSECTIONLINK |
- | | NOEDITSECTION | + | | NOCONTENTCONVERT | NOCC |
- | | NEWSECTIONLINK | + | | NOTITLECONVERT | NOTC |
- | | NOCONTENTCONVERT | NOCC | + | | NOGALLERY |
- | + | | END | START | |
- | | NOTITLECONVERT | NOTC | + | | NOINDEX | INDEX |
- | | | + | | STATICREDIRECT |
- | | START | + | | HIDDENCAT |
- | | HIDDENCAT = [[ | + | = [[mw:Help:Magic_words#Behavior_switches|{{{2|__{{{1}}}__}}}]] |
- | + | <!-- {{behavior switches:}} --> | |
- | | REDIRECT = [[ | + | | PAGESIZE |
- | | | + | | PROTECTIONLEVEL |
- | | | + | | DISPLAYTITLE |
- | | | + | | DEFAULTSORT | DEFAULTSORTKEY | DEFAULTCATEGORYSORTKEY |
- | | | + | | PAGESINCATEGORY | PAGESINCAT |
- | | | + | | NUMBERINGROUP | NUMINGROUP |
- | | | + | | PAGESINNAMESPACE | PAGESINNS |
- | | | + | = {{[[mw:Help:Magic_words|{{{2|{{{1}}}:}}}]]}} |
- | | | + | <!-- #redirect: --> |
- | | | + | | REDIRECT | redirect |
- | | | + | = [[mw:Help:Redirects|{{{2|#{{{1}}}}}}]] |
- | | | + | <!-- {{parser functions:}} --> |
- | | | + | | localurl | localurle |
- | | | + | | fullurl | fullurle |
- | | | + | | filepath |
- | + | | urlencode | anchorencode | |
- | + | = {{[[mw:Help:Magic_words#URL_data|{{{2|{{{1}}}:}}}]]}} | |
- | | int | + | | ns | nse |
- | | msg | + | = {{[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}:}}}]]}} |
- | | raw | + | | lc | lcfirst | uc | ucfirst |
- | | | + | | formatnum |
- | + | | padleft | padright | |
- | | | + | | grammar | plural |
- | | | + | = {{[[mw:Help:Magic_words#Formatting|{{{2|{{{1}}}:}}}]]}} |
- | + | | gender | GENDER | |
- | | | + | | int | msg | msgnw |
- | | | + | | raw | subst |
- | | | + | = {{[[mw:Help:Magic_words#Miscellaneous|{{{2|{{{1}}}:}}}]]}} |
- | | | + | <!-- {{#parser functions:}} --> |
- | | | + | | formatdate | dateformat = {{[[mw:Help:Magic_words#Formatting|{{{2|#{{{1}}}:}}}]]}} |
- | | | + | | special |
- | | | + | | tag |
- | | | + | | language |
- | | | + | = {{[[mw:Help:Magic_words#Miscellaneous|{{{2|#{{{1}}}:}}}]]}} |
- | | [[ | + | <!-- {{#ParserFunctions:}} --> |
+ | | expr | if | ifeq | ifexist | ifexpr | iferror | ||
+ | | rel2abs | switch | time | timel | titleparts | ||
+ | = {{[[mw:Help:Extension:ParserFunctions#.23{{{1}}}:|{{{2|#{{{1}}}:}}}]]}} | ||
+ | <!-- {{variables}} --> | ||
+ | | SITENAME | SERVER | SERVERNAME | SCRIPTPATH | ||
+ | | DIRMARK | DIRECTIONMARK | ||
+ | | CURRENTVERSION | ||
+ | | CONTENTLANGUAGE | CONTENTLANG | ||
+ | | REVISIONID | REVISIONUSER | ||
+ | | REVISIONDAY | REVISIONDAY2 | REVISIONMONTH | REVISIONYEAR | REVISIONTIMESTAMP | ||
+ | = {{[[mw:Help:Magic_words#Technical_metadata|{{{2|{{{1}}}}}}]]}} | ||
+ | | NUMBEROFPAGES | NUMBEROFARTICLES | NUMBEROFFILES | NUMBEROFEDITS | NUMBEROFVIEWS | ||
+ | | NUMBEROFUSERS | NUMBEROFADMINS | NUMBEROFACTIVEUSERS | ||
+ | = {{[[mw:Help:Magic_words#Statistics|{{{2|{{{1}}}}}}]]}} | ||
+ | | NAMESPACE | NAMESPACEE | SUBJECTSPACE | SUBJECTSPACEE | ||
+ | | ARTICLESPACE | ARTICLESPACEE | TALKSPACE | TALKSPACEE | ||
+ | = {{[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}}}}]]}} | ||
+ | <!-- other {{variables}} / anything else --> | ||
+ | | {{[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]}} | ||
}}<noinclude> | }}<noinclude> | ||
---- | ---- | ||
- | + | Links to a help page about the magic word and automatically adds the correct syntax (case sensitive in most cases). | |
- | * <nowiki>{{</nowiki> | + | * <nowiki>{{</nowiki>x|NAMESPACE}} → {{x|NAMESPACE}} |
- | * <nowiki>{{</nowiki> | + | * <nowiki>{{</nowiki>x|DEFAULTSORT}} → {{x|DEFAULTSORT}} |
- | * <nowiki>{{</nowiki> | + | * <nowiki>{{</nowiki>x|ifexist}} → {{x|ifexist}} |
- | * <nowiki>{{</nowiki> | + | * <nowiki>{{</nowiki>x|localurl}} → {{x|localurl}} |
- | * <nowiki>{{</nowiki> | + | * <nowiki>{{</nowiki>x|REDIRECT}} → {{x|REDIRECT}} |
- | * <nowiki>{{</nowiki> | + | * <nowiki>{{</nowiki>x|NOTOC}} → {{x|NOTOC}} |
... | ... | ||
[[Category:Interwiki link templates|{{PAGENAME}}]] | [[Category:Interwiki link templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Nuna versio ekde 20:36, 11. Jan 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|NOTOC}} → __NOTOC__
...