Template:Commons category: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Mike Peel Changing tracking category logic so that we only use the P373 cases where we have actually fallen back to P373, rather than using the local text. No change to the display of the category links. |
meta>Mike Peel tweak tracking category logic |
||
Line 38: | Line 38: | ||
<!-- ... or we're using P373 | <!-- ... or we're using P373 | ||
-->|{{#ifeq:{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=True}}|{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=False}} | -->|{{#ifeq:{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=True}}|{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=False}}|[[Category:Commons category link is the pagename]]|[[Category:Commons category link is on Wikidata using P373]]}} | ||
}} | }} | ||
}} | }} |