Template:Commons category: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ahecht
(escaping the string isn't needed. tested with Q739550 (M&M's) and Q8349 ("Weird Al" Yankovic))
meta>Ahecht
(Handle underscores (which was asked for in the original edit request that resulted in the page name encoding, but never implemented))
Line 21: Line 21:
-->{{#if:{{#property:P373}}
-->{{#if:{{#property:P373}}
  | {{#if:{{{1|}}}
  | {{#if:{{{1|}}}
   | {{#ifeq:{{#property:P373}}|{{{1|}}}
   | {{#ifeq:{{PAGENAME:{{#property:P373}}}}|{{PAGENAME:{{{1|}}}}}
   | <!-- [[Category:Commons category with local link same as on Wikidata]]  – deleted per [[Wikipedia:Categories for discussion/Log/2017 January 25]] -->
   | <!-- [[Category:Commons category with local link same as on Wikidata]]  – deleted per [[Wikipedia:Categories for discussion/Log/2017 January 25]] -->
   | [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->
   | [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->
   }}
   }}
   | {{#ifeq:{{#property:P373}}|{{PAGENAME}}
   | {{#ifeq:{{PAGENAME:{{#property:P373}}}}|{{PAGENAME}}
   | <!-- [[Category:Commons category with page title same as on Wikidata]]  – deleted per [[Wikipedia:Categories for discussion/Log/2017 January 25]] -->
   | <!-- [[Category:Commons category with page title same as on Wikidata]]  – deleted per [[Wikipedia:Categories for discussion/Log/2017 January 25]] -->
   | [[Category:Commons category with page title different than on Wikidata]] <!-- Figure out the best link here too -->
   | [[Category:Commons category with page title different than on Wikidata]] <!-- Figure out the best link here too -->

Revision as of 18:10, 13 June 2018

Template:Commons