Template:Commons category: Difference between revisions

From TestWiki
Content added Content deleted
(Removing P373 support to only use the sitelinks)
(sync with sandbox per edit request)
Line 18: Line 18:
-->|{{#ifeq:{{replace|{{{1|}}}|_|&#32;}}|{{PAGENAME}}|<!--
-->|{{#ifeq:{{replace|{{{1|}}}|_|&#32;}}|{{PAGENAME}}|<!--
... the local parameter is the same as the local pagename
... the local parameter is the same as the local pagename
-->[[Category:Commons category link is defined as the pagename]]{{#invoke:Preview warning|main|Commons category does not match the Commons sitelink on Wikidata - [[Template:Commons_category#Resolving_discrepancies|please check]]}}<!--
-->[[Category:Commons category link is defined as the pagename]]{{#invoke:Preview warning|main|Commons category does not match the Commons sitelink on Wikidata [[Template:Commons_category#Resolving_discrepancies|please check]]}}<!--


... the local parameter is not the pagename
... the local parameter is not the pagename
-->|[[Category:Commons category link is locally defined]]{{#invoke:Preview warning|main|Commons category does not match the Commons sitelink on Wikidata - [[Template:Commons_category#Resolving_discrepancies|please check]]}}}} }}<!--
-->|[[Category:Commons category link is locally defined]]{{#invoke:Preview warning|main|Commons category does not match the Commons sitelink on Wikidata [[Template:Commons_category#Resolving_discrepancies|please check]]}}}} }}<!--


We don't have a locally-defined link
We don't have a locally-defined link
Line 30: Line 30:


<!-- ... or we're using the pagename
<!-- ... or we're using the pagename
-->|[[Category:Commons category link is the pagename]]{{#invoke:Preview warning|main|Commons category does not match the Commons sitelink on Wikidata - [[Template:Commons_category#Resolving_discrepancies|please check]]}}
-->|[[Category:Commons category link is the pagename]]{{#invoke:Preview warning|main|Commons category does not match the Commons sitelink on Wikidata [[Template:Commons_category#Resolving_discrepancies|please check]]}}
}}
}}
}}
}}

Revision as of 20:56, 22 August 2020