Modèle:Prose/doc

De Wikisisar
< Modèle:Prose
Révision datée du 21 octobre 2017 à 20:59 par TDLaouer (discussion | contributions) (1 révision importée)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Modèle:Prose
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}
{{#if:||{{#ifeq:Prose/doc|Prose|}}}}

Description

This template will add tagged articles to a cleanup category according to the month and year given.

Usage

{{Prose|date=mai 2024}}Category:Articles needing cleanup from mai 2024 and Category:Articles with sections that need to be turned into prose from mai 2024.

If no date is given, articles will be added to the more general Category:Wikipedia cleanup and Category:Articles with sections that need to be turned into prose.

Also parameter 1 may be included to replace "article" with a specific term, such as "section" or "table". For example:

{{Prose|section|date=mai 2024}}

Closely related templates

Please keep this template's messaging consistent with the related templates:

  • {{{{#if: |subst:}}Create list{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} – the opposite of this template
  • {{{{#if: |subst:}}Trivia{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} – suggests relocation rather than reformatting of the details in a trivia section.
  • {{{{#if: |subst:}}Reduce trivia{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} – a variant of {{{{#if:Trivia|Trivia| tlf|...}}{{#ifeq:x|| |{{{2}}} | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}, suggesting removal rather than reformatting or relocation of irrelevant/indiscriminate details.
  • {{{{#if: |subst:}}Expand list{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} – for use where a list is too short/incomplete
  • {{{{#if: |subst:}}List to table{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} – for use where a table would be better than a list
  • {{{{#if: |subst:}}Example farm{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} – for articles or sections with too many examples.

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 Prose

{{#ifeq:doc|sandbox||

}} <templatedata> { "params": { "1": { "label": "Scope (e.g. section)", "description": "This parameter allows an editor to replace the default word \"article\" with another word, usually \"section\"", "type": "content", "default": "article" }, "date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true } }, "format": "inline", "description": "Maintenance template for tagging articles that overuse lists/tables (see WP:PROSE)." } </templatedata>