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
unlink brackets and simpliy links
update
Line 1: Line 1:
{{#switch:{{{1}}}
{{#switch:{{{1}}}
<!-- __behaviour switches__ -->
| NOTOC | FORCETOC | TOC
| NOTOC | FORCETOC | TOC
| NOEDITSECTION | NEWSECTIONLINK
| NOEDITSECTION | NEWSECTIONLINK | NONEWSECTIONLINK
| NOCONTENTCONVERT | NOCC
| NOCONTENTCONVERT | NOCC
| NOTITLECONVERT | NOTC
| NOGALLERY
| NOGALLERY
| NOTITLECONVERT | NOTC
| END | START  
| END | START  
| NOINDEX | INDEX
| NOINDEX | INDEX
| STATICREDIRECT = [[mw:Help:Magic words#Behaviour switches|{{{2|&#95;_{{{1}}}_&#95;}}}]]
| STATICREDIRECT = [[mw:Help:Magic words#Behaviour switches|{{{2|&#95;_{{{1}}}_&#95;}}}]]
| HIDDENCAT = [[mw:Help:Category#Hidden categories|{{{2|&#95;_{{{1}}}_&#95;}}}]]
| HIDDENCAT = [[mw:Help:Category#Hidden categories|{{{2|&#95;_{{{1}}}_&#95;}}}]]
| DEFAULTSORT = &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}:}}}]]&#125;&#125;
<!-- {{behaviour switches:}} -->
| REDIRECT = [[mw:Help:Redirect|{{{2|&#35;{{{1}}}}}}]]
| PAGESIZE
| language = [[mw:Help:Extension:ParserFunctions#.23language:|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
| PROTECTIONLEVEL
| special
| DISPLAYTITLE
| tag = [[mw:Help:Magic words|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
| DEFAULTSORT
| ns = &#123;&#123;[[mw:Help:Extension:ParserFunctions#NS|{{{2|{{{1}}}:}}}]]&#125;&#125;
| PAGESINCATEGORY | PAGESINCAT
| NUMBERINGROUP
| PAGESINNAMESPACE | PAGESINNS = &#123;&#123;[[mw:Help:Magic words|{{{2|{{{1}}}:}}}]]&#125;&#125;
<!-- #redirect: -->
| REDIRECT | redirect = [[mw:Help:Redirect|{{{2|&#35;{{{1}}}}}}]]
<!-- {{parser functions:}} -->
| localurl | localurle
| localurl | localurle
| urlencode | anchorencode
| fullurl | fullurle
| fullurl | fullurle
| filepath = &#123;&#123;[[mw:Help:Magic words#Namespaces and URLs|{{{2|{{{1}}}:}}}]]&#125;&#125;
| filepath
| urlencode
| anchorencode = &#123;&#123;[[mw:Help:Magic words#URL data|{{{2|{{{1}}}:}}}]]&#125;&#125;
| ns = &#123;&#123;[[mw:Help:Magic words#Namespaces|{{{2|{{{1}}}:}}}]]&#125;&#125;
| lc | lcfirst
| lc | lcfirst
| uc | ucfirst
| uc | ucfirst
| formatnum
| formatnum
| padleft | padright = &#123;&#123;[[mw:Help:Magic words#Formatting|{{{2|{{{1}}}:}}}]]&#125;&#125;
| padleft | padright
| grammar
| grammar
| plural = &#123;&#123;[[mw:Help:Magic words#Language-dependent word conversions|{{{2|{{{1}}}:}}}]]&#125;&#125;
| plural = &#123;&#123;[[mw:Help:Magic words#Formatting|{{{2|{{{1}}}:}}}]]&#125;&#125;
| gender | GENDER
| int
| int
| msg
| msg | msgnw
| raw = &#123;&#123;[[mw:Help:Magic words#Template modifiers|{{{2|{{{1}}}:}}}]]&#125;&#125;
| raw
| msgnw = &#123;&#123;[[mw:Help:Template#msgnw|{{{2{{{1}}}:}}}]]&#125;&#125;
| subst = &#123;&#123;[[mw:Help:Magic words#Miscellaneous|{{{2|{{{1}}}:}}}]]&#125;&#125;
| subst = &#123;&#123;[[mw:Help:Substitution|{{{2|{{{1}}}:}}}]]&#125;&#125;
<!-- {{#parser functions:}} -->
<!-- ParserFunctions -->
| formatdate | dateformat = &#123;&#123;[[mw:Help:Magic words#Formatting|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
| special
| tag
| language = &#123;&#123;[[mw:Help:Magic words#Miscellaneous|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
<!-- {{#ParserFunctions:}} -->
| expr
| expr
| if
| if
Line 40: Line 53:
| switch
| switch
| time
| time
| titleparts
| titleparts = &#123;&#123;[[mw:Help:Extension:ParserFunctions#.23{{{1}}}:|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
| formatdate | dateformat = &#123;&#123;[[mw:Help:Extension:ParserFunctions#.23{{{1}}}:|{{{2|&#35;{{{1}}}:}}}]]&#125;&#125;
<!-- {{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>
Line 47: Line 60:


----
----
'''M'''agic '''W'''ord '''L'''ink. Links to a help page about the magic word. Takes any kind and will add the correct syntax.
'''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.


* <nowiki>{{</nowiki>mwl|NAMESPACE}} → {{mwl|NAMESPACE}}
* <nowiki>{{</nowiki>mwl|NAMESPACE}} → {{mwl|NAMESPACE}}

Revision as of 23:51, 1 May 2009

{{{{{1}}}}}



Magic Word Link (or MediaWiki Link). Links to a help page about the magic word. Takes any kind and will add the correct syntax.

...

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