模板:)!/doc

来自决策链云智库
< 模板:)!
Zeroclanzhang讨论 | 贡献2024年1月22日 (一) 15:00的版本 (创建页面,内容为“{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Cascade-protected template}} {{Auxiliary template common notice|entity=#93}} ==TemplateData== {{TemplateData header}} <templatedata> { "params": {}, "description": "This template produces ] as ordinary text." } </templatedata> <includeonly>{{Sandbox other|| Category:Character-substitution templates <!--…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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.


Use this template to produce the character or characters " ] " as ordinary text rather than as part of a link [[ ]], transclusion {{ }}, variable {{{ }}}, etc.
The HTML character code "&#93;" may also be used, which will never be interpreted as markup even if nested in multiple templates or similar.

Similar templates

Template call
(m for magic word)
Output (delayed interpretation as wikimarkup) HTML alternative (never interpreted as wikimarkup)
{{!}} (m) | &#124; or {{pipe}}
{{}} (m) = &#61;
{{!!}} || &#124;&#124;
{{!(}} [ &#91;
{{)!}} ] &#93;
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!-}} |- &#124;&#45;
{{!)}} |} &#124;&#125;

See also

The following templates enclose text inside the indicated symbols:


TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:)! in articles based on its TemplateData.

TemplateData for )!

This template produces ] as ordinary text.

模板参数

参数描述类型状态
未指定参数