Ŝablono:X

El Komunejo

(Malsamoj inter versioj)
Iri al: navigado, serĉi
E (28 versioj: Diversaj ŝablonoj)
 
(24 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
-
| NOGALLERY
+
| END | START  
-
| NOTITLECONVERT | NOTC
+
| NOINDEX | INDEX
-
| END
+
| STATICREDIRECT
-
| START
+
| HIDDENCAT
-
| HIDDENCAT = [[m:Help:Magic words{{!}}&#95;_{{{1}}}_&#95;]]
+
= [[mw:Help:Magic_words#Behavior_switches|{{{2|&#95;_{{{1}}}_&#95;}}}]]
-
| DEFAULTSORT = [[m:Help:Magic words{{!}}&#123;&#123;{{{1}}}:&#125;&#125;]]
+
<!-- {{behavior switches:}} -->
-
| REDIRECT = [[m:Help:Redirect{{!}}&#35;{{{1}}}]]
+
| PAGESIZE
-
| language
+
| PROTECTIONLEVEL
-
| special
+
| DISPLAYTITLE
-
| tag = [[m:Help:Magic words{{!}}&#123;&#123;&#35;{{{1}}}:&#125;&#125;]]
+
| DEFAULTSORT | DEFAULTSORTKEY | DEFAULTCATEGORYSORTKEY
-
| ns
+
| 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;
-
| int
+
| ns | nse
-
| msg
+
= &#123;&#123;[[mw:Help:Magic_words#Namespaces|{{{2|{{{1}}}:}}}]]&#125;&#125;
-
| raw
+
| lc | lcfirst | uc | ucfirst
-
| grammar
+
| formatnum
-
| plural = [[m:Help:Magic words{{!}}&#123;&#123;{{{1}}}:&#125;&#125;]]
+
| padleft | padright
-
| msgnw = [[m:Help:Template#msgnw{{!}}&#123;&#123;{{{1}}}:&#125;&#125;]]
+
| grammar | plural
-
| subst = [[m:Help:Substitution{{!}}&#123;&#123;{{{1}}}:&#125;&#125;]]
+
= &#123;&#123;[[mw:Help:Magic_words#Formatting|{{{2|{{{1}}}:}}}]]&#125;&#125;
-
| expr
+
| gender | GENDER
-
| if
+
| int | msg | msgnw
-
| ifeq
+
| raw | subst
-
| ifexist
+
= &#123;&#123;[[mw:Help:Magic_words#Miscellaneous|{{{2|{{{1}}}:}}}]]&#125;&#125;
-
| ifexpr
+
<!-- {{#parser functions:}} -->
-
| switch
+
| formatdate | dateformat = &#123;&#123;[[mw:Help:Magic_words#Formatting|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
-
| time
+
| special
-
| rel2abs
+
| tag
-
| titleparts
+
| language
-
| iferror = [[m:Help:ParserFunctions{{!}}&#123;&#123;&#35;{{{1}}}:&#125;&#125;]]
+
= &#123;&#123;[[mw:Help:Magic_words#Miscellaneous|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
-
| [[m:Help:Magic words{{!}}&#123;&#123;{{{1}}}&#125;&#125;]]
+
<!-- {{#ParserFunctions:}} -->
 +
| 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|DEFAULTSORT}} → {{mwl|DEFAULTSORT}}
+
* <nowiki>{{</nowiki>x|NAMESPACE}} → {{x|NAMESPACE}}
-
* <nowiki>{{</nowiki>mwl|ifexist}} → {{mwl|ifexist}}
+
* <nowiki>{{</nowiki>x|DEFAULTSORT}} → {{x|DEFAULTSORT}}
-
* <nowiki>{{</nowiki>mwl|localurl}} → {{mwl|localurl}}
+
* <nowiki>{{</nowiki>x|ifexist}} → {{x|ifexist}}
-
* <nowiki>{{</nowiki>mwl|REDIRECT}} → {{mwl|REDIRECT}}
+
* <nowiki>{{</nowiki>x|localurl}} → {{x|localurl}}
-
* <nowiki>{{</nowiki>mwl|NOTOC}} → {{mwl|NOTOC}}
+
* <nowiki>{{</nowiki>x|REDIRECT}} → {{x|REDIRECT}}
 +
* <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).

...

Personaj iloj