Ŝablono:X

El Komunejo

(Malsamoj inter versioj)
Iri al: navigado, serĉi
({{{2|}}})
E (28 versioj: Diversaj ŝablonoj)
 
(17 mezaj versioj ne montrata.)
Linio 1: Linio 1:
-
{{ #switch:{{{1}}}
+
{{#switch:{{{1}}}
-
| NOTOC
+
<!-- __behaviour switches__ -->
-
| FORCETOC
+
| NOTOC | FORCETOC | TOC
-
| TOC = [[m:Help:Section#Table of contents (TOC)|{{{2|&#95;_{{{1}}}_&#95;}}]]
+
| NOEDITSECTION | NEWSECTIONLINK | NONEWSECTIONLINK
-
| NOEDITSECTION
+
| NOCONTENTCONVERT | NOCC
-
| NEWSECTIONLINK
+
| NOTITLECONVERT | NOTC
-
| NOCONTENTCONVERT | NOCC
+
| NOGALLERY
-
| NOGALLERY
+
| END | START
-
| NOTITLECONVERT | NOTC
+
| NOINDEX | INDEX
-
| END
+
| STATICREDIRECT
-
| START = [[m:Help:Magic words|{{{2|&#95;_{{{1}}}_&#95;}}]]
+
| HIDDENCAT
-
| HIDDENCAT = [[m:Help:Category#Hidden categories|{{{2|&#95;_{{{1}}}_&#95;}}]]
+
= [[mw:Help:Magic_words#Behavior_switches|{{{2|&#95;_{{{1}}}_&#95;}}}]]
-
| DEFAULTSORT = [[m:Help:Magic words|{{{2|&#123;&#123;{{{1}}}:&#125;&#125;}}]]
+
<!-- {{behavior switches:}} -->
-
| REDIRECT = [[m:Help:Redirect|{{{2|&#35;{{{1}}}}}]]
+
| PAGESIZE
-
| language
+
| PROTECTIONLEVEL
-
| special
+
| DISPLAYTITLE
-
| tag = [[m:Help:Magic words|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
| DEFAULTSORT | DEFAULTSORTKEY | DEFAULTCATEGORYSORTKEY
-
| ns = [[m:Help:Parser function#NS|{{{2|&#123;&#123;{{{1}}}:&#125;&#125;}}]]
+
| PAGESINCATEGORY | PAGESINCAT
-
| localurl | localurle
+
| NUMBERINGROUP | NUMINGROUP
-
| urlencode
+
| PAGESINNAMESPACE | PAGESINNS
-
| anchorencode
+
= &#123;&#123;[[mw:Help:Magic_words|{{{2|{{{1}}}:}}}]]&#125;&#125;
-
| fullurl | fullurle
+
<!-- #redirect: -->
-
| filepath
+
| REDIRECT | redirect
-
| lc
+
= [[mw:Help:Redirects|{{{2|&#35;{{{1}}}}}}]]
-
| lcfirst
+
<!-- {{parser functions:}} -->
-
| uc
+
| localurl | localurle
-
| ucfirst
+
| fullurl | fullurle
-
| formatnum
+
| filepath
-
| padleft
+
| urlencode | anchorencode
-
| padright
+
= &#123;&#123;[[mw:Help:Magic_words#URL_data|{{{2|{{{1}}}:}}}]]&#125;&#125;
-
| grammar
+
| ns | nse
-
| plural = [[m:Help:Magic words|{{{2|&#123;&#123;{{{1}}}:&#125;&#125;}}]]
+
= &#123;&#123;[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}:}}}]]&#125;&#125;
-
| int
+
| lc | lcfirst | uc | ucfirst
-
| msg
+
| formatnum
-
| raw = [[m:Help:Magic words#Template modifiers|{{{2|&#123;&#123;{{{1}}}:&#125;&#125;}}]]
+
| padleft | padright
-
| msgnw = [[m:Help:Template#msgnw|{{{2|&#123;&#123;{{{1}}}:&#125;&#125;}}]]
+
| grammar | plural
-
| subst = [[m:Help:Substitution|{{{2|&#123;&#123;{{{1}}}:&#125;&#125;}}]]
+
= &#123;&#123;[[mw:Help:Magic_words#Formatting|{{{2|{{{1}}}:}}}]]&#125;&#125;
-
<!-- ParserFunctions -->
+
| gender | GENDER
-
| expr = [[m:Help:ParserFunctions#.23expr:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
| int | msg | msgnw
-
| if = [[m:Help:ParserFunctions#.23if:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
| raw | subst
-
| ifeq = [[m:Help:ParserFunctions#.23ifeq:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
= &#123;&#123;[[mw:Help:Magic_words#Miscellaneous|{{{2|{{{1}}}:}}}]]&#125;&#125;
-
| ifexist = [[m:Help:ParserFunctions#.23ifexist:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
<!-- {{#parser functions:}} -->
-
| ifexpr = [[m:Help:ParserFunctions#.23ifexpr:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
| formatdate | dateformat = &#123;&#123;[[mw:Help:Magic_words#Formatting|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
-
| switch = [[m:Help:ParserFunctions#.23switch:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
| special
-
| time = [[m:Help:ParserFunctions#.23time:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
| tag
-
| rel2abs = [[m:Help:ParserFunctions#.23rel2abs:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
| language
-
| titleparts = [[m:Help:ParserFunctions#.23titleparts:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
= &#123;&#123;[[mw:Help:Magic_words#Miscellaneous|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
-
| iferror = [[m:Help:ParserFunctions#.23iferror:|{{{2|&#123;&#123;&#35;{{{1}}}:&#125;&#125;}}]]
+
<!-- {{#ParserFunctions:}} -->
-
| [[m:Help:Magic words|{{{2|&#123;&#123;{{{1}}}&#125;&#125;}}]]
+
| expr | if | ifeq | ifexist | ifexpr | iferror
 +
| rel2abs | switch | time | timel | titleparts
 +
= &#123;&#123;[[mw:Help:Extension:ParserFunctions#.23{{{1}}}:|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
 +
<!-- {{variables}} -->
 +
| SITENAME | SERVER | SERVERNAME | SCRIPTPATH
 +
| DIRMARK | DIRECTIONMARK
 +
| CURRENTVERSION
 +
| CONTENTLANGUAGE | CONTENTLANG
 +
| REVISIONID | REVISIONUSER
 +
| REVISIONDAY | REVISIONDAY2 | REVISIONMONTH | REVISIONYEAR | REVISIONTIMESTAMP
 +
&#123;&#123;[[mw:Help:Magic_words#Technical_metadata|{{{2|{{{1}}}}}}]]&#125;&#125;
 +
| NUMBEROFPAGES | NUMBEROFARTICLES | NUMBEROFFILES | NUMBEROFEDITS | NUMBEROFVIEWS
 +
| NUMBEROFUSERS | NUMBEROFADMINS | NUMBEROFACTIVEUSERS
 +
= &#123;&#123;[[mw:Help:Magic_words#Statistics|{{{2|{{{1}}}}}}]]&#125;&#125;
 +
| NAMESPACE | NAMESPACEE | SUBJECTSPACE | SUBJECTSPACEE
 +
| ARTICLESPACE | ARTICLESPACEE | TALKSPACE | TALKSPACEE
 +
= &#123;&#123;[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}}}}]]&#125;&#125;
 +
<!-- other {{variables}} / anything else -->
 +
| &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]&#125;&#125;
}}<noinclude>
}}<noinclude>
----
----
-
'''M'''agic '''W'''ord '''L'''ink. Links to a help page about the magic word. Takes any kind and will add the correct syntax.
+
Links to a help page about the magic word and automatically adds the correct syntax (case sensitive in most cases).
-
* <nowiki>{{</nowiki>mwl|NAMESPACE}} → {{mwl|NAMESPACE}}
+
* <nowiki>{{</nowiki>x|NAMESPACE}} → {{x|NAMESPACE}}
-
* <nowiki>{{</nowiki>mwl|DEFAULTSORT}} → {{mwl|DEFAULTSORT}}
+
* <nowiki>{{</nowiki>x|DEFAULTSORT}} → {{x|DEFAULTSORT}}
-
* <nowiki>{{</nowiki>mwl|ifexist}} → {{mwl|ifexist}}
+
* <nowiki>{{</nowiki>x|ifexist}} → {{x|ifexist}}
-
* <nowiki>{{</nowiki>mwl|localurl}} → {{mwl|localurl}}
+
* <nowiki>{{</nowiki>x|localurl}} → {{x|localurl}}
-
* <nowiki>{{</nowiki>mwl|REDIRECT}} → {{mwl|REDIRECT}}
+
* <nowiki>{{</nowiki>x|REDIRECT}} → {{x|REDIRECT}}
-
* <nowiki>{{</nowiki>mwl|NOTOC}} → {{mwl|NOTOC}}
+
* <nowiki>{{</nowiki>x|NOTOC}} → {{x|NOTOC}}
...
...
-
 
-
'''See also:''' {{tl|pfl}}
 
[[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).

...

Personaj iloj