Templat:Commons category: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Hidayatsrf (bicara | kontrib) sesuaikan dengan Modul:Commons_link dan en:Template:Commons category |
Hidayatsrf (bicara | kontrib) terjadi kesalahan karena pranala kategori ke commons adalah "commons:Category" bukan "commons:Kategori" |
||
Baris 14:
Only add tracking categories to articles and categories.
-->{{#if:{{{1|}}}|{{#ifeq:Kategori:{{replace|{{{1|}}}|_| }}|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|<!--
-->
-->|{{#ifeq:{{replace|{{{1|}}}|_| }}|{{PAGENAME}}|<!--
... the local parameter is the same as the local pagename
--><
... the local parameter is not the pagename
-->|
We don't have a locally-defined link
Baris 27:
... so we're using Wikidata
-->
<!-- ... or we're using the pagename
|