Modèle:Too many photos : Différence entre versions

De Wikisisar
Aller à : navigation, rechercher
(adding section switch)
 
m (1 révision importée)
 
(Aucune différence)

Version actuelle datée du 21 octobre 2017 à 20:53

{{#ifeq:Modèle|Modèle||}}{{#ifeq:{{{small}}}|left|}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Modèle|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Template documentation[view] [edit] [history] [purge]

{{#ifeq:too many photos |doc

    | 

{{#ifeq:show |show

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

This template flags articles which contain an excessive number of images.

Usage

Placing {{too many photos}} on an article page will automatically add the page to {{#ifeq:{{#titleparts:Too many photos|1}}|Stub types for deletion |Cat:Pages with too many photos | Category:Pages with too many photos{{#ifeq:{{safesubst:#switch: no

|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|yes| {{#ifexpr:0>={{#expr:0+1}}|}}( 0 ){{#ifexpr:0>={{#expr:0+1}}|}}}}}} for further cleanup.

See also

tr:Şablon: Çok resim