Modèle:Generalize/doc : Différence entre versions
(→See also : +Template:Globalize) |
m (1 révision importée) |
(Aucune différence)
| |
Version actuelle datée du 21 octobre 2017 à 20:57
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|| This is a documentation subpage for Modèle:Generalize. 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:Generalize
| [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
Usage
<code>{{{{#if: |subst:}}Generalize{{#if:date=octobre 2026 ||date=octobre 2026}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}</code>
This template will add tagged articles to Category:Wikipedia articles needing context.
This template takes a "section" parameter, like this:
<code>{{{{#if: |subst:}}Generalize{{#if:section ||section}}{{#if:date=octobre 2026 ||date=octobre 2026}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}</code>
This template is a self-reference. Please do not subst: this template.
See also