Template:Tiw
This page will only parse completely when it is included in another page.
[if=" {{{2|}}} "] [wiki]:{{{1}}}:Template:{{{2}}}[/wiki] ([wiki=":{{{1}}}:Special:Whatlinkshere/Template:{{{2}}}"]backlinks[/wiki], [wiki="var]fullurl"]{{{1}}}:Template:{{{2}}}|action=edit[/var] edit]) [else /] [[Template:{{{1|{{PAGENAME}}}[/if[/wiki]] ([special="Whatlinkshere/Template:{{{1"]{{PAGENAME}}}}}|backlinks[/special], [[var]fullurl|w:Template:{{{1|{{PAGENAME}}}[/var]|action=edit}} edit]) }}[if="
"]
|[if=" [template]lc:[template]SUBPAGENAME[/template][/template] == doc
"]
Template:-- template namespace detect
Template:defaultsort:tiw[if="
"]
[else /] [category] Template:subjectspace
documentation
}}
default Wikipedia:Protection policy#{{lc:indef}}}}}|{{{icon-text|This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is {{#switch:{{lc:indef}}
|semi=semi-
|move=move-
|indef=permanently
|create=creation-
|office=
|full
|#default=
}}protected{{#ifeq:{{lc:indef}}|indef||{{#if:|unti l {{#time:F j, Y|}}}}}}.}}}
desc none
}}
[/div]
|
Template:-- template namespace detect|40px|{{{icon-text|This page is {{#switch:{{lc:indef}}
|semi=semi-
|move=move-
|indef=permanently
|create=creation-
|office=
|full
|#default=
}}protected.}}}[/image]
| text = '''{{{reason-text|{{#switch:{{lc:indef}}
|full=This page is currently protected from editing
|semi=Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by new or unregistered users is currently disabled
|move=This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is currently protected from page moves
|indef=This page is protected from editing indefinitely
|office=This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is currently protected from editing
|create=Recreation of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} has been disabled
}}{{#ifeq:{{lc:indef}}|indef||{{#if:| until {{#time:F j, Y|}}}}}}[/includeonly].}}}
{{{explanation-text|{{#ifeq:{{lc:no}}|yes|This protection is not''' an endorsement of the {{#ifeq:indef|move|[{{fullurl:Special:Log|type=move&page={{FULLPAGENAMEE}}}} current title]|Template:Tiw|action=history[/var] current version]}}.}} See the [[Wikipedia:Protection policy|protection policy and [wiki="var]fullurl"]Special:Log|type=protect&page=Template:Tiw[/var] protection log] for more details.
"][/if]}}}
}}
}}
This is the Template:template template meta-template.
This is an auxiliary template allowing to encode "
within template parameters. It is necessary if the character is used in wiki table syntax, or if the parameter is automatically wikilinked and you wish to use a pipe to specify different link text from the target page name. In other cases it is better to use "
This template cannot be used for putting the character as text in a wiki table; in that case, again, "
Note that no special template is needed for "
This is a high risk template, and it usually cannot be substituted (see conditions for substing on the talk page).
"]
|[if=" [template]lc:[template]SUBPAGENAME[/template][/template] == doc
"]
Template:-- template namespace detect
Template:defaultsort:tiw[if="
"]
[else /] [category] Template:subjectspace
documentation
}}
default Wikipedia:Protection policy#{{lc:indef}}}}}|{{{icon-text|This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is {{#switch:{{lc:indef}}
|semi=semi-
|move=move-
|indef=permanently
|create=creation-
|office=
|full
|#default=
}}protected{{#ifeq:{{lc:indef}}|indef||{{#if:|unti l {{#time:F j, Y|}}}}}}.}}}
desc none
}}
[/div]
|
Template:-- template namespace detect|40px|{{{icon-text|This page is {{#switch:{{lc:indef}}
|semi=semi-
|move=move-
|indef=permanently
|create=creation-
|office=
|full
|#default=
}}protected.}}}[/image]
| text = '''{{{reason-text|{{#switch:{{lc:indef}}
|full=This page is currently protected from editing
|semi=Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by new or unregistered users is currently disabled
|move=This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is currently protected from page moves
|indef=This page is protected from editing indefinitely
|office=This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is currently protected from editing
|create=Recreation of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} has been disabled
}}{{#ifeq:{{lc:indef}}|indef||{{#if:| until {{#time:F j, Y|}}}}}}[/includeonly].}}}
{{{explanation-text|{{#ifeq:{{lc:no}}|yes|This protection is not''' an endorsement of the {{#ifeq:indef|move|[{{fullurl:Special:Log|type=move&page={{FULLPAGENAMEE}}}} current title]|Template:Tiw|action=history[/var] current version]}}.}} See the [[Wikipedia:Protection policy|protection policy and [wiki="var]fullurl"]Special:Log|type=protect&page=Template:Tiw[/var] protection log] for more details.
"][/if]}}}
}}
}}
This template is used on many pages, and is the single most used template on the English Wikipedia. To avoid any disruptions and to save server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at the talk page before implementing them. |
This is the Template:template template meta-template.
This is an auxiliary template allowing to encode "
|
"within template parameters. It is necessary if the character is used in wiki table syntax, or if the parameter is automatically wikilinked and you wish to use a pipe to specify different link text from the target page name. In other cases it is better to use "
|
". This template cannot be used for putting the character as text in a wiki table; in that case, again, "
|
" can be used.Note that no special template is needed for "
!
" (exclamation mark).This is a high risk template, and it usually cannot be substituted (see conditions for substing on the talk page).
[top]See also
- Template:template template
- Template:template - - template
- Template:template - - template
- Template:template broken bar broken bar template
- Template:tn and related
- Qif conditionals
- Template:template pipe pipe template - Note that this one looks like Template:tlf but has a very different meaning for the MediaWiki parser and thus has different functionality.
Created by Last edited by , 10-23-2011 at 12:10 PM 0 Comments, 836 Views |
, 11-23-2008 at 08:30 PM
Bookmarks