Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:X: Difference between revisions

Template page
update
+ / prepare for move
Line 1: Line 1:
{{#switch:{{{1}}}
{{#switch:{{{1}}}
<!-- __behaviour switches__ -->
<!-- __behaviour switches__ -->
| NOTOC | FORCETOC | TOC
| NOTOC | FORCETOC | TOC
| NOEDITSECTION | NEWSECTIONLINK | NONEWSECTIONLINK
| NOEDITSECTION | NEWSECTIONLINK | NONEWSECTIONLINK
| NOCONTENTCONVERT | NOCC
| NOCONTENTCONVERT | NOCC
| NOTITLECONVERT | NOTC
| NOTITLECONVERT | NOTC
| NOGALLERY
| NOGALLERY
| END | START  
| END | START  
| NOINDEX | INDEX
| NOINDEX | INDEX
| STATICREDIRECT = [[mw:Help:Magic words#Behaviour switches|{{{2|&#95;_{{{1}}}_&#95;}}}]]
| STATICREDIRECT
| HIDDENCAT = [[mw:Help:Category#Hidden categories|{{{2|&#95;_{{{1}}}_&#95;}}}]]
= [[mw:Help:Magic words#Behaviour switches|{{{2|&#95;_{{{1}}}_&#95;}}}]]
| HIDDENCAT
= [[mw:Help:Category#Hidden categories|{{{2|&#95;_{{{1}}}_&#95;}}}]]
<!-- {{behaviour switches:}} -->
<!-- {{behaviour switches:}} -->
| PAGESIZE
| PAGESIZE
| PROTECTIONLEVEL
| PROTECTIONLEVEL
| DISPLAYTITLE
| DISPLAYTITLE
| DEFAULTSORT
| DEFAULTSORT | DEFAULTSORTKEY | DEFAULTCATEGORYSORTKEY
| PAGESINCATEGORY | PAGESINCAT
| PAGESINCATEGORY | PAGESINCAT
| NUMBERINGROUP
| NUMBERINGROUP | NUMINGROUP
| PAGESINNAMESPACE | PAGESINNS = &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}:}}}]]&#125;&#125;
| PAGESINNAMESPACE | PAGESINNS = &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}:}}}]]&#125;&#125;
<!-- #redirect: -->
<!-- #redirect: -->
| REDIRECT | redirect = [[mw:Help:Redirect|{{{2|&#35;{{{1}}}}}}]]
| REDIRECT | redirect = [[mw:Help:Redirect|{{{2|&#35;{{{1}}}}}}]]
<!-- {{parser functions:}} -->
<!-- {{parser functions:}} -->
| localurl | localurle
| localurl | localurle
| fullurl | fullurle
| fullurl | fullurle
| filepath
| filepath
| urlencode
| urlencode | anchorencode
| anchorencode = &#123;&#123;[[mw:Help:Magic words#URL data|{{{2|{{{1}}}:}}}]]&#125;&#125;
= &#123;&#123;[[mw:Help:Magic words#URL data|{{{2|{{{1}}}:}}}]]&#125;&#125;
| ns = &#123;&#123;[[mw:Help:Magic words#Namespaces|{{{2|{{{1}}}:}}}]]&#125;&#125;
| ns
| lc | lcfirst
= &#123;&#123;[[mw:Help:Magic words#Namespaces|{{{2|{{{1}}}:}}}]]&#125;&#125;
| uc | ucfirst
| lc | lcfirst | uc | ucfirst
| formatnum
| formatnum
| padleft | padright
| padleft | padright
| grammar
| grammar | plural
| plural = &#123;&#123;[[mw:Help:Magic words#Formatting|{{{2|{{{1}}}:}}}]]&#125;&#125;
= &#123;&#123;[[mw:Help:Magic words#Formatting|{{{2|{{{1}}}:}}}]]&#125;&#125;
| gender | GENDER
| gender | GENDER
| int
| int | msg | msgnw
| msg | msgnw
| raw | subst
| raw
= &#123;&#123;[[mw:Help:Magic words#Miscellaneous|{{{2|{{{1}}}:}}}]]&#125;&#125;
| subst = &#123;&#123;[[mw:Help:Magic words#Miscellaneous|{{{2|{{{1}}}:}}}]]&#125;&#125;
<!-- {{#parser functions:}} -->
<!-- {{#parser functions:}} -->
| formatdate | dateformat = &#123;&#123;[[mw:Help:Magic words#Formatting|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
| formatdate | dateformat = &#123;&#123;[[mw:Help:Magic words#Formatting|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
| special
| special
| tag
| tag
| language = &#123;&#123;[[mw:Help:Magic words#Miscellaneous|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
| language
= &#123;&#123;[[mw:Help:Magic words#Miscellaneous|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
<!-- {{#ParserFunctions:}} -->
<!-- {{#ParserFunctions:}} -->
| expr
| expr | if | ifeq | ifexist | ifexpr | iferror
| if
| rel2abs | switch | time | titleparts
| ifeq
= &#123;&#123;[[mw:Help:Extension:ParserFunctions#.23{{{1}}}:|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
| ifexist
| ifexpr
| iferror
| rel2abs
| switch
| time
| titleparts = &#123;&#123;[[mw:Help:Extension:ParserFunctions#.23{{{1}}}:|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
<!-- {{variables}} / anything else -->
<!-- {{variables}} / anything else -->
| &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]&#125;&#125;
| &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}}}}]]&#125;&#125;
}}<noinclude>
}}<noinclude>




----
----
'''M'''agic '''W'''ord '''L'''ink (or '''M'''edia'''W'''iki '''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>mwl|NAMESPACE}} → {{x|NAMESPACE}}
* <nowiki>{{</nowiki>mwl|DEFAULTSORT}} → {{mwl|DEFAULTSORT}}
* <nowiki>{{</nowiki>mwl|DEFAULTSORT}} → {{x|DEFAULTSORT}}
* <nowiki>{{</nowiki>mwl|ifexist}} → {{mwl|ifexist}}
* <nowiki>{{</nowiki>mwl|ifexist}} → {{x|ifexist}}
* <nowiki>{{</nowiki>mwl|localurl}} → {{mwl|localurl}}
* <nowiki>{{</nowiki>mwl|localurl}} → {{x|localurl}}
* <nowiki>{{</nowiki>mwl|REDIRECT}} → {{mwl|REDIRECT}}
* <nowiki>{{</nowiki>mwl|REDIRECT}} → {{x|REDIRECT}}
* <nowiki>{{</nowiki>mwl|NOTOC}} → {{mwl|NOTOC}}
* <nowiki>{{</nowiki>mwl|NOTOC}} → {{x|NOTOC}}
...
...


[[Category:Interwiki link templates|{{PAGENAME}}]]
[[Category:Interwiki link templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 19:26, 2 May 2009

{{{{{1}}}}}



Links to a help page about the magic word and automatically adds the correct syntax (case sensitive in most cases).

...

Cookies help us deliver our services. By using our services, you agree to our use of cookies.