Template:Commons category: Difference between revisions

m
Reverted edits by Pigsonthewing (talk) to last version by Fuhghettaboutit
(Undid revision 653620738 by Pigsonthewing (talk) c)
m (Reverted edits by Pigsonthewing (talk) to last version by Fuhghettaboutit)
Line 3:
<!-- {{#if:x|}} strips whitespace from parameter 1,
in case it is fed like this: {{Commons category| Some cat }}. -->
|Category:{{#if:x| {{{1| {{PAGENAMEBASEPAGENAME}} }}} }}<!--
-->|{{{2|{{{1|{{PAGENAMEBASEPAGENAME}}}}}}}}<!--
-->}}<includeonly>{{#if:{{{1|}}}||[[Category:Commons category template with no category set]]}}</includeonly><noinclude>
 
Line 17:
| [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->
}}
| {{#ifeq:{{#property:P373}}|{{PAGENAMEBASEPAGENAME}}
| [[Category:Commons category with page title same as on Wikidata]] <!-- Ending up here is just fine -->
| [[Category:Commons category with page title different than on Wikidata]] <!-- Figure out the best link here too -->