Templat:Commons category: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
dok
http://en.wikipedia.org/wiki/Template_talk:Commons_category#Edit_request_on_24_April_2013:_Check_Wikidata_errors
Baris 4:
| text =
[[Wikimedia Commons]] memiliki kategori mengenai '''''[[commons:{{#if:{{{1|}}}|Category:{{{1|}}}|Special:Search/{{PAGENAME}} }}|{{{2|{{PAGENAME}}}}}]]'''''
}}<includeonly><!-- Some tracking categories to see if we're ready to switch to Wikidata -->
}}<noinclude>{{dok}}</noinclude>
{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. -->
{{#if:{{#property:P373}}
| {{#if:{{{1|}}}
| {{#ifeq:{{#property:P373}}|{{{1|}}}
| [[Category:Kategori dengan pranala sama dengan Wikidata]] <!-- We want to end up here -->
| [[Category:Kategori dengan pranala berbeda dengan Wikidata]] <!-- Figure out the best link -->
}}
| {{#ifeq:{{#property:P373}}|{{PAGENAME}}
| [[Category:Kategori dengan judul sama dengan Wikidata]] <!-- Ending up here is just fine -->
| [[Category:Kategori dengan judul berbeda dengan Wikidata]] <!-- Figure out the best link here too -->
}}
}}
| [[Category:Commons category without a link on Wikidata]] <!-- These we still need to import -->
}}
}}</includeonly><noinclude>{{dok}}</noinclude>