This is a documentation subpage for 模板:). It may contain usage information, categories and other content that is not part of the original 模板 page. |
This is a documentation subpage for 模板:). It may contain usage information, categories and other content that is not part of the original 模板 page. |
This is a cascade-protection notice, mostly intended for near the top of the documentation pages of template that are subject to cascaded protection because of their transclusion in some other page, and which are expected to have that protection indefinitely.
While a similar template is automatically generated by the system from MediaWiki:Cascadeprotected as an editnotice when someone tries to edit ("view source") on such a template, they have to actually try that before they get any inkling that the template is protected because of cascading. By putting a notice also on the template's /doc page, this should forestall attempts to have the template's protection level reduced to template-editor level (such requests must always be declined in cases of cascade-protection).
Usage
Just add {{Cascade-protected template}}
near the top of the template's /doc subpage (usually right below the {{documentation subpage}}
header).
In the odd case that the cascade-protected page is not a template, |page=
can be used to change the word, e.g. |page=interface page
.
This template is not for temporary protection. Many pages get short-term cascade-protected because of transclusion from an article listed on the Main Page for a few days. We do not need to tag then untag 100+ templates with this notice during that period. Volunteer editorial time is Wikipedia's most precious resource, and WP is not BureaucracyPedia.
This template is used in MediaWiki:citethispage-content. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
Use this template to produce the character or characters " } " as ordinary text rather than as part of a link [[ ]]
, transclusion {{ }}
, variable {{{ }}}
, etc.
Similar templates
Template call (m for magic word) |
Output (delayed interpretation as wikimarkup) | HTML alternative (never interpreted as wikimarkup) |
---|---|---|
{{!}} (m)
|
| | | or {{pipe}}
|
{{}} (m)
|
= | = |
{{!!}}
|
|| | || |
{{!(}}
|
[ | [ |
{{)!}}
|
] | ] |
{{!((}}
|
[[ | [[ |
{{))!}}
|
]] | ]] |
{{(}}
|
{ | { |
{{)}}
|
} | } |
{{((}}
|
{{ | {{ |
{{))}}
|
}} | }} |
{{(((}}
|
{{{ | {{{ |
{{)))}}
|
}}} | }}} |
{{(!}}
|
{| | {| |
{{!-}}
|
|- | |- |
{{!)}}
|
|} | |} |
See also
- Template: \ , which produces " /" (i.e. a slash character preceded by a non-breaking space)
- Template:Square bracket open, which produces " [ " or, as {{square bracket open|2}}, " [[ "
- Template:Square bracket close, which produces " ] " or, as {{square bracket close|2}}, " ]] "
The following templates enclose text inside the indicated symbols:
- Template:Braces, to produce text such as "{{example text}}" (without triggering a transclusion)
- Template:(()), like Template:Braces, except that this does not produce html markup, so that it can be processed and expanded by Lua
frame:preprocess()
function - Template:Brackets, to produce text such as "模板:Brackets" (without triggering a wikilink)
- Template:Bracket, to produce text such as "模板:Bracket" or "模板:Bracket"
- Template:Mset, to produce text such as "模板:Mset" (i.e., a mathematical set)
- Template:Tlf, to produce text such as "{{example text}}" (without triggering a transclusion)