{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Peacock. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Peacock | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
50x40px | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! {{#if:| {{{1}}}}} |
{{#if:||{{#ifeq:Peacock/doc|Peacock|}}}}
Usage编辑
This template should be used on any articles or sections that contain one or more subjective terms.
- First, unnamed, parameter: section, article (defaults to "article")
|{{SAFESUBST:#if:date|date=}}
{{Peacock|date=11月 2024}}
will appear as
{{#ifeq:模板|{{subst:NAMESPACE}}||}}
This article contains wording that promotes the subject in a subjective manner without imparting real information. (11月 2024) (Learn how and when to remove this template message) |
{{#ifeq:{{{small}}}|left|}}{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Peacock/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|模板:Peacock/doc}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if:11月 2024 |{{#ifexist:Category:Articles with peacock terms from 11月 2024 ||}} |[[Category:{{#if: ||Articles with peacock terms}}]]}}{{#if:All articles with peacock terms |}}}}}}
{{Peacock|section|date=11月 2024}}
will appear as
{{#ifeq:模板|{{subst:NAMESPACE}}||}}
This section contains wording that promotes the subject in a subjective manner without imparting real information. (11月 2024) (Learn how and when to remove this template message) |
{{#ifeq:{{{small}}}|left|}}{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Peacock/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|模板:Peacock/doc}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if:11月 2024 |{{#ifexist:Category:Articles with peacock terms from 11月 2024 ||}} |[[Category:{{#if: ||Articles with peacock terms}}]]}}{{#if:All articles with peacock terms |}}}}}}
This template will add articles to Category:All articles with peacock terms and Category:Articles with peacock terms from 11月 2024
See also编辑
- Template:Advert
- Template:By whom – inline
- Template:Controversial
- Template:Disputed
- Template:Peacock term
- Template:POV
- Template:POV check
- Template:POV section
- Template:Weasel
- Template:Weasel inline
- Template:Who – inline
TemplateData编辑
|={{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.
|None|none=Parameter usage report |for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Peacock}}. |#default=[1]
}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:
|={{#ifeq:{{safesubst:#switch: yes |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.
|None|none=Parameter usage report |for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Peacock}}. |#default=[2]
}}}}
TemplateData for Peacock
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||
}} | other | #default = }} <templatedata> { "description": "This template should be used on any articles or sections that contain one or more subjective terms.", "params": { "1": { "label": "Type (typically section)", "description": "This parameter allows an editor to replace the default word \"article\" with another word, usually the word \"section\"", "type": "string", "required": false, "default": "article", "example": "section" }, "date": { "label": "Month and year", "description": "The month and year that the need for citations is identified, such as 'June 2013'; may use '{{subst:DATE}}' template instead; if not specified, this parameter will be filled automatically by a bot", "type": "string", "required": false, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true } }, "format": "inline" } </templatedata>