Modèle:Music-examples

De Wikisisar
Révision datée du 21 octobre 2017 à 20:54 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:|left|}
Template documentation[view] [edit] [history] [purge]

{{#ifeq:music-examples |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Modèle:Music-examples
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}
{{#ifeq:|left|}

Usage

{{{{#if: |subst:}}Music-examples{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} should be used with the following two parameters:

  • reason: the reason for requesting cleanup. This is useful for editors in case the reason for requesting a cleanup is not immediately obvious. The first character of the reason (immediately after the equals sign) should be lowercase, in order to preserve the sentence flow when rendered.
  • date: the month and year (e.g. mai 2024) when the Cleanup template was added to the article; this helps to figure out how long an article has been tagged for cleanup.

For example, {{{{#if: |subst:}}Music-examples{{#if:reason=the article is full of incorrect capitalisation ||reason=the article is full of incorrect capitalisation}}{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} would display as:

{{#ifeq:|left|}

The template should be placed at the top of the article requiring a cleanup. If practicable, please use a more specific cleanup template. Because {{{{#if: |subst:}}Music-examples{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} is general , specific problems should be identified in the reason field; a more detailed explanation of what needs to be done can be provided on the article's talk page. An article's {{{{#if: |subst:}}Music-examples{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} template may be removed without the problem(s) being fixed if it is not possible to identify what needs to be cleaned-up.

The template detects which namespace it is used in and changes accordingly:
Article {{#ifeq:|left|}
Category {{#ifeq:|left|}
Template {{#ifeq:|left|}

The descriptor (on the preceding example "template") can be changed from its default using the first parameter, for instance {{{{#if:Music-examples|Music-examples| tlc|...}}{{#ifeq:section|section| |section | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}} or {{{{#if:Music-examples|Music-examples| tlc|...}}{{#ifeq:disambiguation page|disambiguation page| |disambiguation page | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}.

Add a new section to the talk page explaining the type and extent of clean-up required so editors will know what to address, and when to remove this template.

Do not substitute this template.

Use this tag when the article needs improvement per WP:BETTER. Articles that violate policy need more direct action.

Categorization

This template will add pages on which it is used to a specific category Category:Pages needing music examples or a dated subcategory thereof.


See also

Redirects