Modèle:Copy to Wikimedia Commons/doc

De Wikisisar
Aller à : navigation, rechercher

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Modèle:Copy to Wikimedia Commons
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Erreur Lua dans Module:Navbar à la ligne 23 : Invalid title {{#if:Deletion tools |Deletion tools |Deletion tools }}.

{{#if:||{{#ifeq:Copy to Wikimedia Commons/doc|Copy to Wikimedia Commons|}}}}

Usage

{{#ifeq:|yes||{{#switch:disabled
|tiny = ‹See Tfd›
|inline = ‹The template Details is being considered for merging.› 
|infobox|box|sidebar =
|disabled = 
|#default = }}}}

The style this template has above is meant for image pages. This template automatically detects if it is used on an article page (main space) and then it looks like this: {{#ifeq:Modèle|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if:main 
 | main    
 | {{#ifeq:Modèle|
   | main
   | other
   }} 
 }}

| main =

{{#ifeq:{{{small}}}|left|}

| other | #default =

}}{{#ifeq: Modèle | Fichier |{{#if:||{{#if: ||}}}}}}

This template will categorise tagged pages into Category:Copy to Wikimedia Commons.

Please do not subst: this template. Please do not insert {{...}} characters into the edit summary of the target pages, as this causes formatting problems after the edit history is transwikied. This template is a self-reference.

TemplateData

{{#if:| |This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools.}}

See the monthly error report for this template.

TemplateData for Copy to Wikimedia Commons

{{#ifeq:doc|sandbox||

}} <TemplateData> {

       "description": "A template to indicate that the file should be copied to Commons ",
       "params": {
               "date": {
                       "label": "Month and year",
                       "description": "Gives the date the file has been suggested for transfer to Commons",
                       "type": "string",
                       "required": false
               },
               "bot": {
                       "label": "Bot name",
                       "description": "Name of the tagging bot if it was mass-tagged by one",
                       "type": "string/wiki-user-name",
                       "required": false
               },
                "human": {
                       "label": "Reviewing user",
                       "description": "Name of human reviewer",
                       "type": "string/wiki-user-name",
                       "required": false
               },
                "inline": {
                       "label": "Add file to Category:Copy to Wikimedia Commons (inline-identified)",
                       "description": "Puts the file into Category:Copy to Wikimedia Commons (inline-identified) instead of Category:Copy to Wikimedia Commons",
                       "type": "string",
                       "required": false
               }
       }

} </TemplateData>

Redirects

See also

  • {{{{#if: |subst:}}Now Commons{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}, for tagging files for deletion after being moved to Commons
  • {{{{#if: |subst:}}Do not move to Commons{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}, for tagging files that should not be moved
  • {{{{#if: |subst:}}Deleted on Commons{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}, for tagging files that were deleted on Commons
  • {{{{#if: |subst:}}Incomplete move to Commons{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}