Modèle:Peacock

De Wikisisar
Aller à : navigation, rechercher
{{#ifeq:Modèle|Modèle||}}{{#ifeq:{{{small}}}|left|}{{#ifeq:{{ safesubst:#if:
 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Modèle:Peacock}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Modèle:Peacock}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Modèle|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:
 |{{#ifexist:Category:Articles with peacock terms from 
   ||}}
 |[[Category:{{#if:
              ||Articles with peacock terms}}]]}}{{#if:All articles with peacock terms
     |}}}}}}
Template documentation[view] [edit] [history] [purge]

{{#ifeq:peacock |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Modèle:Peacock
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}
{{#if:||{{#ifeq:Peacock|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")
  • |{{#if:date|date=}}

{{{{#if: |subst:}}Peacock{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} will appear as

{{#ifeq:Modèle|{{subst:NAMESPACE}}||}}{{#ifeq:{{{small}}}|left|}{{#ifeq:{{ safesubst:#if:
 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Modèle:Peacock}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Modèle:Peacock}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Modèle|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:mai 2024
 |{{#ifexist:Category:Articles with peacock terms from mai 2024
   ||}}
 |[[Category:{{#if:
              ||Articles with peacock terms}}]]}}{{#if:All articles with peacock terms
     |}}}}}}

{{{{#if: |subst:}}Peacock{{#if:section ||section}}{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} will appear as

{{#ifeq:Modèle|{{subst:NAMESPACE}}||}}{{#ifeq:{{{small}}}|left|}{{#ifeq:{{ safesubst:#if:
 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Modèle:Peacock}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Modèle:Peacock}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Modèle|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:mai 2024
 |{{#ifexist:Category:Articles with peacock terms from mai 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 mai 2024

See also

TemplateData

{{#if:| |This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools.}}

See the monthly error report for this template.

TemplateData for Peacock

{{#ifeq:Peacock|sandbox||

}} <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>ar:قالب:تعظيم as:Template:Peacock bg:Шаблон:Паун ja:Template:大言壮語 pl:Szablon:Próżne wyrażenia