{{#ifeq:模板|模板||}}
{{#ifeq:{{{small}}}|left|}}{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Example farm}}|1}} | {{ safesubst:#if:|{{{1}}}|模板:Example farm}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if: |{{#ifexist:Category:Wikipedia articles with style issues from ||}} |[[Category:{{#if:Wikipedia articles with style issues by month |Wikipedia articles with style issues by month|Wikipedia articles with style issues}}]]}}{{#if: |[[Category:]]}}}}}}
{{#ifeq:example farm |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for 模板:Example farm. 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:模板:Example farm | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage编辑
- This template is used to indicate that cleanup is needed for an excessive use of examples.
- Do not use subst: with this template.
- For use in sections, use
{{Example farm|section}}
{{Cleanup list}} is for poorly trimmed lists, while {{Example farm}} is for poorly trimmed articles, including prose.
Notes编辑
- This template will add tagged articles to dated subcategories of Category:Wikipedia articles with style issues by month and Category:Articles with too many examples, and to Category:All articles with style issues and Category:All articles with too many examples.
- This template is a self-reference.
Redirects编辑
- {{Too many examples}}
- {{Examplefarm}}
- {{Bad examples}}
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:Example farm}}. |#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:Example farm}}. |#default=[2]
}}}}
TemplateData for Example farm
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:Example|sandbox|1}}{{#ifeq:Example farm|doc|1}}||
}} | other | #default = }} <templatedata> { "description": "Banner to indicate that cleanup is needed for an excessive use of examples.", "params": { "1": {
"label": "Article or section?", "type": "string", "description": "Set to 'section' to specify that you are referring to the section", "default": "article" },
"date": {
"label": "Date", "type": "string", "description": "Date when it was added or verified", "autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}", "example": "November 2018" }
}, "paramOrder": [ "1", "date" ] } </templatedata>
See also编辑
- {{Example cruft editnotice}} – for articles not yet example farms but at high risk of becoming farms
- Wikipedia:Writing better articles
style="background: #{{#switch:
{{#if: |
{{{demospace}}} | main | other
}} }} |
main = F0F2F5 | other | #default = CCFFCC
}}; font-size:87%; padding:0.2em 0.3em; text-align:{{safesubst:#if:y|left|{{safesubst:#if:|left|center}}}}; {{safesubst:#if:|color: {{{fc}}};|}}" | Other trivia-related templates
{{safesubst:#if: |
- | The following is a closed discussion. 模板:Strongbad }} | |
---|---|---|---|---|---|---|---|---|---|
{{#if:
|
{{{content}}} }}{{#ifeq: |yes | }}
|
{{#if:{{#ifeq:Example|sandbox|1}}{{#ifeq:Example farm|doc|1}}||
}}