Template:Commons category: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Fuhghettaboutit
m (Changed protection level of Template:Commons category ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
meta>Pigsonthewing
(PAGENAME -> PAGENAMEBASE)
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| {{PAGENAME}} }}} }}<!--
|Category:{{#if:x| {{{1| {{PAGENAMEBASE}} }}} }}<!--
-->|{{{2|{{{1|{{PAGENAME}}}}}}}}<!--
-->|{{{2|{{{1|{{PAGENAMEBASE}}}}}}}}<!--
-->}}<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}}|{{PAGENAME}}
   | {{#ifeq:{{#property:P373}}|{{PAGENAMEBASE}}
   | [[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 10:56, 26 March 2015

Template:Commons