Template:Now Commons: Difference between revisions
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:
| image = [[File:Commons-logo.svg|40px|Commons]]
| text =
<span id="delete-reason" style="display:none"><nowiki>[[
{{#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}}| (with the same name)}}.<hr /> Files that have been tagged with this template may be deleted after satisfying conditions of [[
<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] •  [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> }}
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 -->
| <!-- 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
| {{#ifexist: Media: {{BASEPAGENAME:{{{filename|{{{1}}}}}}}}
| [[File:{{PAGENAME:{{{filename|{{{1}}}}}}}}|150x100px|right]]{{br}}
| |||