Jump to content

Template:Now Commons: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
| image = [[File:Commons-logo.svg|40px|Commons]]
| image = [[File:Commons-logo.svg|40px|Commons]]
| text =
| text =
<span id="delete-reason" style="display:none"><nowiki>[[WP:CSD#F8|F8]]: File available on Wikimedia Commons as [[</nowiki>c:File:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}<nowiki>]]</nowiki></span>
<span id="delete-reason" style="display:none"><nowiki>[[Project:Candidates for speedy deletion|F8]]: File available on Wikimedia Commons as [[</nowiki>c:File:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}<nowiki>]]</nowiki></span>
{{#ifeq:{{{2|}}}|yes|These files are|This file is}} now available on '''[[c:Main Page|Wikimedia Commons]]''' as '''[[c:File:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|File:{{ucfirst:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}}}]]'''{{#ifeq:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|{{PAGENAME}}|&#32;(with the same name)}}.<hr /> Files that have been tagged with this template may be deleted after satisfying conditions of [[Wikipedia:Criteria for speedy deletion#F8|CSD F8]]. <span class="sysop-show">Administrators: If the file has been properly moved, [{{fullurl:{{FULLPAGENAME}}|action=delete&wpReason={{urlencode:[[WP:CSD#F8|F8]]: File available on Wikimedia Commons as [[c:File:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|File:{{ucfirst:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}}}]] {{#ifeq:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|{{PAGENAME}}|(under the same name)}}}}}} delete it]. If not, change the {{Tl|Now Commons}} tag to: {{Tlx|Incomplete move to Commons|{{{filename|{{{1|{{FULLPAGENAME}}}}}}}}|3=reason=reason why the image could not be moved}}</span>
{{#ifeq:{{{2|}}}|yes|These files are|This file is}} now available on '''[[c:Main Page|Wikimedia Commons]]''' as '''[[c:File:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|File:{{ucfirst:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}}}]]'''{{#ifeq:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|{{PAGENAME}}|&#32;(with the same name)}}.<hr /> Files that have been tagged with this template may be deleted after satisfying conditions of [[Project:Candidates for speedy deletion|CSD F8]]. <span class="sysop-show">Administrators: If the file has been properly moved, [{{fullurl:{{FULLPAGENAME}}|action=delete&wpReason={{urlencode:[[Project:Candidates for speedy deletion|F8]]: File available on Wikimedia Commons as [[c:File:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|File:{{ucfirst:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}}}]] {{#ifeq:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|{{PAGENAME}}|(under the same name)}}}}}} delete it]. If not, change the {{Tl|Now Commons}} tag to: {{Tlx|Incomplete move to Commons|{{{filename|{{{1|{{FULLPAGENAME}}}}}}}}|3=reason=reason why the image could not be moved}}</span>
<div style="text-align: center;"><small>[https://tools.wmflabs.org/magog/fileinfo.php?project=en.wikipedia&information=1&authordate=1&license=1&fields=1&src={{PAGENAMEE}} File upload log]&nbsp;&bull;&#32; [https://tools.wmflabs.org/magog/oldver.php?project=en.wikipedia&src={{PAGENAMEE}}&trg={{PAGENAMEE:{{{filename|{{{1|{{PAGENAME}}}}}}}}}} Move old versions to Commons]</small></div>
<div style="text-align: center;"><small>[https://tools.wmflabs.org/magog/fileinfo.php?project=en.wikipedia&information=1&authordate=1&license=1&fields=1&src={{PAGENAMEE}} File upload log]&nbsp;&bull;&#32; [https://tools.wmflabs.org/magog/oldver.php?project=en.wikipedia&src={{PAGENAMEE}}&trg={{PAGENAMEE:{{{filename|{{{1|{{PAGENAME}}}}}}}}}} Move old versions to Commons]</small></div>
{{#if:{{{bot|}}}| <br> <strong>Be careful. This file is tagged by a bot ({{{bot|}}}). Be sure to check [[c:File:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|the file at Commons]] before deleting this file.</strong> }}
{{#if:{{{bot|}}}| <br> <strong>Be careful. This file is tagged by a bot ({{{bot|}}}). Be sure to check [[c:File:{{PAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}}|the file at Commons]] before deleting this file.</strong> }}
Line 12: Line 12:
| below = <includeonly><!--Show a box with the image if the Commons image is different than the Wikipedia image--> {{#ifeq: {{BASEPAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}} | {{BASEPAGENAME}} | <!-- same name: do nothing -->
| below = <includeonly><!--Show a box with the image if the Commons image is different than the Wikipedia image--> {{#ifeq: {{BASEPAGENAME:{{{filename|{{{1|{{PAGENAME}}}}}}}}}} | {{BASEPAGENAME}} | <!-- same name: do nothing -->
| <!-- different name: check for Commons shadow --> {{#ifeq:{{ParmPart|5|2={{filepath:{{BASEPAGENAME:{{{filename|{{{1}}}}}}}}}}}}|en
| <!-- different name: check for Commons shadow --> {{#ifeq:{{ParmPart|5|2={{filepath:{{BASEPAGENAME:{{{filename|{{{1}}}}}}}}}}}}|en
| <div style="text-align: center;">{{error|message=A [[:File:{{BASEPAGENAME:{{{filename|{{{1}}}}}}}}|file]] on Wikipedia shadows the [[c:File:{{BASEPAGENAME:{{{filename|{{{1}}}}}}}}|file on Commons]]. Please do not delete this image until the Wikipedia image has been deleted or moved.}}</div>
| <div style="text-align: center;">{{error|message=A [[:File:{{BASEPAGENAME:{{{filename|{{{1}}}}}}}}|file]] on this wiki shadows the [[c:File:{{BASEPAGENAME:{{{filename|{{{1}}}}}}}}|file on Commons]]. Please do not delete this image until the Wikipedia image has been deleted or moved.}}</div>
| {{#ifexist: Media: {{BASEPAGENAME:{{{filename|{{{1}}}}}}}}
| {{#ifexist: Media: {{BASEPAGENAME:{{{filename|{{{1}}}}}}}}
| [[File:{{PAGENAME:{{{filename|{{{1}}}}}}}}|150x100px|right]]{{br}}
| [[File:{{PAGENAME:{{{filename|{{{1}}}}}}}}|150x100px|right]]{{br}}

Latest revision as of 10:16, 31 October 2026

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Now Commons/doc" to edit its documentation if it is available. (How does this work?)

This template will categorise tagged files into Category:Wikipedia files with the same name on Wikimedia Commons or Category:Wikipedia files with a different name on Wikimedia Commons. If the files are reviewed they will be categorised into Category:Wikipedia files reviewed on Wikimedia Commons.

Usage

Simple

Same filename on Wikimedia Commons:

  • {{subst:Now Commons}}

New filename on Wikimedia Commons:

  • {{subst:Now Commons|NEW FILENAME.ext}} or {{subst:Now Commons|File:NEW FILENAME.ext}}

Detailed

  • {{Now Commons|FILE|MULTIPLE|date=31 October 2026|bot=BOT|reviewer=REVIEWER}}

All parameters are optional:

  • If FILE (|1=) is omitted, the page name is used as the image name. If not it is assumed that the file on Commons has the same name as the file on English Wikipedia.
  • If MULTIPLE (|2=) is "yes", the template text is changed to indicate multiple messages.
  • If |date= is used the image is categorized in a subcategory matching the relevant date. It is possible to use dates like 2010-07-01 and 20100601023255. The date will be automatically added if the template is substituted: {{subst:Now Commons|...}}.
  • If |bot= is used the template shows a warning to "Be careful. This file is tagged by a bot (normally BotMultichillT). Be sure to check the file at Commons before deleting this file."
  • If |reviewer= is used then the file is marked as reviewed on Commons. That means that a user has checked that file has been transferred correct etc. See more at this page.

Examples:

  • {{Now Commons|1=Crow-Hassan Park Reserve 030527.jpg|2=no|date=2010-07-01|reviewer=SomeUser}}
  • {{Now Commons|File:Assistive Listening Device FM350.jpg|date=20100601023255|bot=BotMultichillT}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Now Commons in articles based on its TemplateData.

TemplateData for Now Commons

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
file name1 filename

Name of the file on Commons, by default the name of the file on Wikipedia.

Example
s
Fileoptional
multiple files2

If this parameter is “yes”, the message mention “these files” instead of “this file”.

Default
no
Example
yes
Lineoptional
tag datedate

Date when the file was tagged with this template, affects only categorization.

Example
2010-07-01
Auto value
{{subst:#time:Y-m-d}}
Dateoptional
tagger botbot

The bot that tagged the file as transferred (and transferred it). Displays a warning that human check is especially needed.

Example
BotMultichillT
Useroptional
reviewerreviewer

The file is marked as reviewed on Commons. That means that a user has checked that file has been transferred correct etc. This affects only categorization.

Useroptional

See also