Modèle:Prose/doc : Différence entre versions
(Add TemplateData) |
m (1 révision importée) |
(Aucune différence)
|
Version actuelle datée du 21 octobre 2017 à 20:59
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Prose. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Modèle:Prose | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
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}}}}} |
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}}
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
- Wikipedia:Writing better articles
- Wikipedia:Manual of Style (trivia sections)
- Wikipedia:Handling trivia – essay on trivia in Wikipedia, what it is and how it should be handled.
- Wikipedia:"In popular culture" content – essay on "popular culture"-types articles and sections.
- Wikipedia:WikiProject Trivia Cleanup – wikiproject designed to clean up long lists of trivia in articles.
- Wikipedia:Proseline – essay on avoiding writing prose paragraphs that end up looking like a list anyway
- Template:Table to prose – for use where prose is preferable to a table
- Wikipedia:Template messages/Cleanup – index of cleanup templates
TemplateData
See the monthly error report for this template.
TemplateData for Prose
}} <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>