Template:Commons category: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mike Peel
(add P373 tracking category)
meta>Mike Peel
(tracking category fix for when _ is used rather than spaces)
Line 18: Line 18:
--><includeonly>{{#switch:{{NAMESPACE}}||{{ns:14}}=<!--
--><includeonly>{{#switch:{{NAMESPACE}}||{{ns:14}}=<!--
  Only add tracking categories to articles and categories.
  Only add tracking categories to articles and categories.
  -->{{#if:{{{1|}}}|{{#ifeq:Category:{{{1|}}}|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|<!--
  -->{{#if:{{{1|}}}|{{#ifeq:Category:{{replace|{{{1|}}}|_|&#32;}}|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|<!--
   -->[[Category:Commons category link is on Wikidata]]<!--
   -->[[Category:Commons category link is on Wikidata]]<!--


   -->|{{#ifeq:{{{1|}}}|{{PAGENAME}}|<!--
   -->|{{#ifeq:{{replace|{{{1|}}}|_|&#32;}}|{{PAGENAME}}|<!--
   ... the local parameter is the same as the local pagename, but not the same as on Wikidata
   ... the local parameter is the same as the local pagename, but not the same as on Wikidata
   -->[[Category:Commons category link is defined as the pagename]]<!--
   -->[[Category:Commons category link is defined as the pagename]]<!--

Revision as of 17:38, 1 January 2019

Template:Commons