Template:Commons category: Difference between revisions

use template version
(sync with sandbox per edit request)
(use template version)
Line 18:
-->|{{#ifeq:{{replace|{{{1|}}}|_|&#32;}}|{{PAGENAME}}|<!--
... the local parameter is the same as the local pagename
-->[[Category:Commons category link is defined as the pagename]]{{#invoke:Previewpreview 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
-->|[[Category:Commons category link is locally defined]]{{#invoke:Previewpreview 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
Line 30:
 
<!-- ... or we're using the pagename
-->|[[Category:Commons category link is the pagename]]{{#invoke:Previewpreview warning|main|Commons category does not match the Commons sitelink on Wikidata – [[Template:Commons_category#Resolving_discrepancies|please check]]}}
}}
}}
Anonymous user