Template:Commons category: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mike Peel
New version from sandbox: using commons sitelinks, redoing tracking categories, and other changes - see Template_talk:Commons_category#Please_test_a_new_version_of_this_template for discussion.
meta>Mike Peel
add P373 tracking category
Line 36: Line 36:
   ... or we've fallen back to the pagename
   ... or we've fallen back to the pagename
   -->|[[Category:Commons category link is the pagename]]}}
   -->|[[Category:Commons category link is the pagename]]}}
   }} }}</includeonly><noinclude>
   }}<!-- Check for P373 use
-->{{#ifeq:{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=True}}|{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=False}}||[[Category:Commons category link is on Wikidata using P373]]}} }}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 20:50, 4 December 2018

Template:Commons