Template:Commons category: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>TheDJ
whitespace fix
meta>Jdforrester
Adding Wikidata corruption tracking so we can find out if we're ready for the Wikidata switchover.
Line 9: Line 9:
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude><includeonly><!-- Some tracking categories to see if we're ready to switch to Wikidata -->
{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. -->
{{#if:{{#property:P373}}
| {{#if:{{{1|}}}
  | {{#ifeq:{{#property:P373}}|{{{1|}}}
  | [[Category:Commons category with local link same as on Wikidata]] <!-- We want to end up here -->
  | [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->
  }}
  | {{#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 different than on Wikidata]] <!-- Figure out the best link here too -->
  }}
  }}
| [[Category:Commons category without a link on Wikidata]] <!-- These we still need to import -->
}}
}}</includeonly>

Revision as of 18:08, 25 April 2013

Template:Commons