"ढाँचा:Commons category" को बिचमी भिन्नता
Content deleted Content added
imported>Redrose64 Undid revision 681550535 by Nyttend (talk) don't pre-empt the outcome of Wikipedia:Categories for discussion/Log/2015 August 20#Category:Commons category template with no category set |
imported>MSGJ use category defined on wikidata if no parameter is given |
||
पंक्ति ३:
<!-- {{#if:x|}} strips whitespace from parameter 1,
in case it is fed like this: {{Commons category| Some cat }}. -->
|1=Category:{{#if:
|{{#if:{{#property:P373}}
|{{#property:P373}}
|{{PAGENAME}}
}}
}}
|2={{{2|{{{1|{{PAGENAME}}}}}}}}<!--
-->}}<noinclude>
{{Documentation}}
<!-- Add categories
</noinclude><includeonly>{{#if:{{{1|}}}||{{#if:{{#property:P373}}||[[Category:Commons category template with no category set]]}}}}<!-- Some tracking categories to see if we're ready to switch to Wikidata -->
{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. -->
{{#if:{{#property:P373}}
|