Template:Commons category: Difference between revisions

From TestWiki
Content added Content deleted
(Undid revision 653620738 by Pigsonthewing (talk) c)
m (Reverted edits by Pigsonthewing (talk) to last version by Fuhghettaboutit)
Line 3: Line 3:
<!-- {{#if:x|}} strips whitespace from parameter 1,
<!-- {{#if:x|}} strips whitespace from parameter 1,
in case it is fed like this: {{Commons category| Some cat }}. -->
in case it is fed like this: {{Commons category| Some cat }}. -->
|Category:{{#if:x| {{{1| {{PAGENAMEBASE}} }}} }}<!--
|Category:{{#if:x| {{{1| {{PAGENAME}} }}} }}<!--
-->|{{{2|{{{1|{{PAGENAMEBASE}}}}}}}}<!--
-->|{{{2|{{{1|{{PAGENAME}}}}}}}}<!--
-->}}<includeonly>{{#if:{{{1|}}}||[[Category:Commons category template with no category set]]}}</includeonly><noinclude>
-->}}<includeonly>{{#if:{{{1|}}}||[[Category:Commons category template with no category set]]}}</includeonly><noinclude>


Line 17: Line 17:
| [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->
| [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->
}}
}}
| {{#ifeq:{{#property:P373}}|{{PAGENAMEBASE}}
| {{#ifeq:{{#property:P373}}|{{PAGENAME}}
| [[Category:Commons category with page title same as on Wikidata]] <!-- Ending up here is just fine -->
| [[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 -->
| [[Category:Commons category with page title different than on Wikidata]] <!-- Figure out the best link here too -->

Revision as of 16:19, 26 March 2015

Template:Commons