Difference between revisions of "Template:Commons category"
Jump to navigation
Jump to search
m (1 revision: tree sapotes) |
m (1 revision: Suaeda) |
||
(One intermediate revision by the same user not shown) | |||
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> |
Latest revision as of 17:35, 18 December 2018
Wikimedia Commons has media related to [[commons:Template:If then show|Template:If then show]]. |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |