Difference between revisions of "Template:Is Commons"

From blackwiki
Jump to navigation Jump to search
imported>Train2104
(braces and strip)
imported>Train2104
(a little more complicated)
Line 1: Line 1:
{{#ifexist:File:{{remove file prefix|{{{1|{{PAGENAME}}}}}}}|{{#ifeq:{{str find|{{filepath:{{remove file prefix|{{{1|{{PAGENAME}}}}}}}}}|/commons/}}|-1|no|yes}}|no}}
+
{{#ifexist:File:{{remove file prefix|{{{1|{{PAGENAME}}}}}}}
 +
|{{#ifeq:{{str find|{{filepath:{{remove file prefix|{{{1|{{PAGENAME}}}}}}}}}|/commons/}}|-1|<!--Local only-->no|<!--Commons with local description page-->yes}}
 +
|{{#ifexist:Media:{{remove file prefix|{{{1|{{PAGENAME}}}}}}}|<!--Commons only-->yes|<!--Neither wiki-->no}}}}

Revision as of 05:09, 26 March 2017

no