Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/WD: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
 
(28 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1:
 
{{maplink|plain=yes|frame=yes|text=Navigasi untuk basis data lokal Wikipedia Bahasa Indonesia. Silakan tekan markah untuk melihat rincian daripada bahasa|raw=<!-- Kartographer needs the items to be called ?id and the coordinates ?geo -->{
"type": "ExternalData",
"service": "geopoint",
"query": "SELECT ?id ?idLabel ?head\n (SAMPLE(?status) as ?status_) (SAMPLE(?ntr) as ?native) (SAMPLE(?ison) as ?iso) \n (SAMPLE(?glotton) as ?glotto)\n (SAMPLE(?img) as ?img_) \n (SAMPLE(?gmbr) as ?gmbr_) \n (min(?partyId) as ?geo) \n \n\n
"query": "SELECT ?id ?idLabel ?head\n ?iso\n ?glotto\n (SAMPLE(?img) as ?img_) \n (min(?partyId) as ?geo) \n\n (concat('[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]') as ?title)\n (concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>') as ?description)\nWHERE { \n ?id wdt:P31 wd:Q34770 .\n ?id wdt:P279 ?head .\n ?id wdt:P625 ?geo .\n ?id wdt:P220 ?iso .\n ?id wdt:P1394 ?glotto .\n SERVICE wikibase:label {\n bd:serviceParam wikibase:language 'id' .\n ?head rdfs:label ?headLabel .\n ?id rdfs:label ?idLabel .\n }\n OPTIONAL {\n ?head wdt:P18 ?img .\n }\n ?link schema:about ?head .\n ?link schema:isPartOf <https://wiki-indonesia.club/> .\n ?link2 schema:about ?id .\n ?link2 schema:isPartOf <https://wiki-indonesia.club/> .\n} GROUP BY ?id ?idLabel ?head ?headLabel ?link2 ?link ?iso ?glotto ?geo"
<!-- judul -->
(<!-- jangan dipakaiif (BOUND(?native), if(BOUND(?native), concat('<big>[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]</big><br><small>Nama lain:&nbsp;', ?native, '<br>Status bahasa:</small><br><big>',?native ,'</big>'), concat('<big>[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]</big><br><small>Status bahasa</small><big>', ?native , '</big>')),-->
if(BOUND(?native), concat('<big>[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]</big><br><small>Nama lain:&nbsp;', ?native, '</small></big>'), concat('<big>[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]</big>')) <!-- ) --> as ?title)
<!-- galat mulai disini -->
(if (BOUND(?glotto), if(BOUND(?iso), if(BOUND(?gmbr_), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '[[File:', substr(str(?gmbr_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>'), if(BOUND(?img_), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '[[File:', substr(str(?img_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>'), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>'))), if(BOUND(?gmbr_), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '[[File:', substr(str(?gmbr_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:xx{{!}}Belum tersedia]]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>'), if(BOUND(?img_), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '[[File:', substr(str(?img_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:xx {{!}} Belum tersedia]]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>'), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:xx{{!}} Belum tersedia]]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>')))), if(BOUND(?gmbr_), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '[[File:', substr(str(?gmbr_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br><i>Tidak tersedia</i></small>'), if(BOUND(?img_), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '[[File:', substr(str(?img_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br><i>Tidak tersedia</i></small>'), concat('[[:en:', substr(str(?link),31), '{{!}}', ?headLabel, ']] ([[Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/Teknis#Rumpun bahasa|?]])', '<small><hr>Informasi kode bahasa:<br><i>Tidak tersedia</i></small>'))) ) as ?description)\n
<!-- galat berakhir di sini -->
"query": "SELECT ?id ?idLabel ?head\n ?iso\nWHERE ?glotto\n{ (SAMPLE(?img) as ?img_) \n (min({?partyId)id aswdt:P31 ?geo) \n\n (concat('[[wd:id:',Q34770 substr(str(?link2),31),.} UNION '{{!}}', ?idLabel,id ']]')wdt:P31 as ?title)\n (concat('[[wd:id:',Q33384 substr(str(?link),31),.} UNION '{{!}}', ?headLabel,id ']]',wdt:P31 '<small><hr>Informasi kode bahasawd:<br>[[ISO639-3:',Q38058796.} ?iso,UNION '{{!}}', ?iso,id ']]&nbsp;{{*}}&nbsp;[httpswdt://glottologP31 wd:Q33742.org/resource/languoid/id/',} ?glotto, ' ' , ?glotto, ']</small>') as ?description)\nWHEREUNION { \n ?id wdt:P31 wd:Q34770 Q436240.\n} UNION {?id wdt:P279 ?headP31 wd:Q34228.\n} UNION {?id wdt:P625 ?geoP31 wd:Q33215.} \n ?id wdt:P220P279 ?isohead .\n ?id wdt:P1394P625 ?glottogeo .\n SERVICE wikibase:label {\n bd:serviceParam wikibase:language 'id' .\n ?head rdfs:label ?headLabel .\n ?id rdfs:label ?idLabel .\n }\n OPTIONAL {\n ?id wdt:P220 ?ison .\n}\n OPTIONAL {\n ?id wdt:P1394 ?glotton .\n}\n OPTIONAL {\n ?headid wdt:P18 ?img .\n }\n OPTIONAL {\n ?id wdt:P3823 ?status .\n }\n OPTIONAL {\n ?id wdt:P1705 ?ntr .\n }\n OPTIONAL {\n ?id wdt:P1846 ?gmbr .\n}\n ?link schema:about ?head .\n ?link schema:isPartOf <https://iden.wiki-indonesia.club/> .\n ?link2 schema:about ?id .\n ?link2 schema:isPartOf <https://wiki-indonesia.club/> .\n} GROUP BY ?id ?idLabel ?head ?headLabel ?link2 ?link ?iso ?glotto ?geo"
}
|frame-width=900930|frame-height=470|align=center}}