Difference between revisions of "Template:Commons category"

From Dharmawiki
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
  | {{#if:{{{1|}}}
 
  | {{#if:{{{1|}}}
 
   | {{#ifeq:{{#property:P373}}|{{#invoke:StringReplace|encode wiki page name|{{{1|}}}}}
 
   | {{#ifeq:{{#property:P373}}|{{#invoke:StringReplace|encode wiki page name|{{{1|}}}}}
   | [[Category:Commons category with local link same as on Wikidata]] <!-- We want to end up here -->
+
   | <!-- [[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:{{#property:P373}}|{{PAGENAME}}
   | [[Category:Commons category with page title same as on Wikidata]] <!-- Ending up here is just fine -->
+
   | <!-- [[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 12:05, 14 April 2017

Lua error in mw.lua at line 307: frame:expandTemplate: a title is required.