wikilife>Jonesey95 (→See also: add) |
小 (导入1个版本) |
(没有差异)
|
2020年12月27日 (日) 14:50的最新版本
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Copy to Wikimedia Commons. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Copy to Wikimedia Commons | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Lua错误 在模块:Navbar的第58行:Invalid title {{#if:Deletion tools |Deletion tools |Deletion tools }}
40px | This template is used on approximately 155,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
50x40px | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! {{#if:| {{{1}}}}} |
{{#if:||{{#ifeq:Copy to Wikimedia Commons/doc|Copy to Wikimedia Commons|}}}}
Usage编辑
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:模板|{{subst:NAMESPACE}}||}}{{#switch:
{{#if:main | main | {{#ifeq:模板| | main | other }} }}
| main =
This page is a candidate to be copied to Wikimedia Commons. If the page can be re-written into an encyclopedic article, please do so and remove this message. |
{{#ifeq:{{{small}}}|left|}}
| other | #default =
Copy to Commons | This file is a candidate to be copied to Wikimedia Commons.
Any user may perform this transfer; refer to Wikipedia:Moving files to Commons for details. If this file has problems with attribution, copyright, or is otherwise ineligible for Commons, then remove this tag and DO NOT transfer it; repeat violators may be blocked from editing. {{#if:| Other Instructions |Other Instructions}}
| ||||
{{#if:|
{{#if: | {{#ifexist:Category:Copy to Wikimedia Commons reviewed by | | }}}} |
}}{{#ifeq: 模板 | 文件 |{{#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 contains a self-reference (it refers to the encyclopaedia in its contents).
TemplateData编辑
|={{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.
|None|none=Parameter usage report |for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Copy to Wikimedia Commons}}. |#default=[1]
}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:
|={{#ifeq:{{safesubst:#switch: yes |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.
|None|none=Parameter usage report |for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Copy to Wikimedia Commons}}. |#default=[2]
}}}}
TemplateData for Copy to Wikimedia Commons
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||
}} | other | #default = }} <TemplateData> {
"description": "A template to indicate that the file should be copied to Commons ", "params": { "date": { "label": "Mark date", "description": "The date the file has been suggested for transfer to Commons", "type": "date", "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": "inline-identified", "description": "Puts the file into Category:Copy to Wikimedia Commons (inline-identified) instead of Category:Copy to Wikimedia Commons", "type": "line", "required": false } }
} </TemplateData>
Redirects编辑
|{{{content}}}
}}{{#ifeq: |yes
|}}
{{Commons ok}}
{{Copy to commons}}
{{Copy to Commons}}
{{CtC}}
{{Movetocommons}}
{{MoveToCommons}}
{{Move to commons}}
{{Move to Commons}}
{{MTC}}
{{To Commons}}
See also编辑
- {{Now Commons}}, for tagging files for deletion after being moved to Commons
- {{Do not move to Commons}}, for tagging files that should not be moved
- {{Deleted on Commons}}, for tagging files that were deleted on Commons
- {{Incomplete move to Commons}}
- {{Esoteric file}}, for files that are Wikipedia-specific and should not be moved to Commons
- Wikipedia:Moving files to the Commons, for usage description.
- Wikipedia:Template messages/File namespace.
- Wikipedia:Template messages/Moving#Copying to other projects, for more template examples.
- Wikipedia:WikiProject Images and Media/Commons.