Modèle:Manual

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

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

|{{#if:
 |{{#ifexist:Category:Wikipedia articles needing style editing from 
   ||}}
 |[[Category:{{#if:
              ||Wikipedia articles needing style editing}}]]}}{{#if:All articles needing style editing
|}}}}}}
Template documentation[view] [edit] [history] [purge]

{{#ifeq:manual |doc

    | 

{{#ifeq:show |show

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

Usage

articles
  • For articles needing major clean-up, place {{{{#if: |subst:}}manual{{#if:article ||article}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} at the top of the main page to alert readers.
  • For articles needing minor clean-up, place {{{{#if: |subst:}}manual{{#if:article ||article}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} at the top of the talk page to alert editors.
sections
  • To mark specific sections instead of the whole article, place {{{{#if: |subst:}}manual{{#if:section ||section}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} at the top of the section.
remarks
  • To replace the text "a manual or guidebook" with something else (e.g. "instructions", "a field guide", "a recipe"), you may use {{{{#if: |subst:}}manual{{#if:article/section ||article/section}}{{#if:yourtext ||yourtext}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} or {{{{#if: |subst:}}manual{{#if:2=yourtext ||2=yourtext}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} or {{{{#if: |subst:}}manual{{#if:type=yourtext ||type=yourtext}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}
  • This template adds articles to Category:Wikipedia articles needing style editing

See also