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

Konten dihapus Konten ditambahkan
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Dikembalikan Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
 
(3 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1:
 
<!-- Kartographer needs the items to be called ?id and the coordinates ?geo -->
 
<mapframe width="700" height="400" text="Caption text">
{{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(?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 (concat('[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]') as ?title)
"query": "SELECT ?id ?idLabel ?head ?iso ?glotto (SAMPLE(?img) as ?img_) (SAMPLE(?gmbr) as ?gmbr_) (min(?partyId) as ?geo) \n(concat('[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]') as ?title) \n(if (BOUND(?glotto), \n if(BOUND(?iso), if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[: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>'))),\n if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:xx{{!}} Belum tersedia]]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>'))))\n, if (BOUND(?iso), \n if(BOUND(?glotto), if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[: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>'))),\n if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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/ Belum tersedia]</small>'), if(BOUND(?img_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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/ Belum tersedia]</small>'), 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/ Belum tersedia]</small>'))))\n, if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[File:', substr(str(?gmbr_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br><i>Tidak ada</i></small>'), if(BOUND(?img_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[File:', substr(str(?img_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br><i>Tidak ada</i></small>'), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '<small><hr>Informasi kode bahasa:<br><i>Tidak ada</i></small>')))\n )) as ?description)\nWHERE { \n ?id wdt:P31 wd:Q34770 .\n ?id wdt:P279 ?head. \n ?id wdt:P625 ?geo. \nSERVICE wikibase:label {\n bd:serviceParam wikibase:language 'id' .\n ?head rdfs:label ?headLabel.\n ?id rdfs:label ?idLabel. \n }\nOPTIONAL {?id wdt:P220 ?iso. }\nOPTIONAL {?id wdt:P1394 ?glotto. }\nOPTIONAL {?id wdt:P18 ?img. }\nOPTIONAL {?id wdt:P1846 ?gmbr.}\n \n?link schema:about ?head. \n?link schema:isPartOf <https://wiki-indonesia.club/>.\n \n?link2 schema:about ?id. \n?link2 schema:isPartOf <https://wiki-indonesia.club/>.\n} \n\n\nGROUP BY ?id ?idLabel ?head ?headLabel ?link2 ?link ?iso ?glotto ?geo"
<!-- galat mulai disini -->
"query": "SELECT ?id ?idLabel ?head ?iso ?glotto (SAMPLE(?img) as ?img_) (SAMPLE(?gmbr) as ?gmbr_) (min(?partyId) as ?geo) \n(concat('[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]') as ?title) \n(if (BOUND(?glotto), \n if(BOUND(?iso), if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[: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>'))),\n if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:xx{{!}} Belum tersedia]]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>'))))\n, if (BOUND(?iso), \n if(BOUND(?glotto), if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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('[[: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>'))),\n if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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/ Belum tersedia]</small>'), if(BOUND(?img_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[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/ Belum tersedia]</small>'), 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/ Belum tersedia]</small>'))))\n, if(BOUND(?gmbr_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[File:', substr(str(?gmbr_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br><i>Tidak adatersedia</i></small>'), if(BOUND(?img_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[File:', substr(str(?img_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br><i>Tidak adatersedia</i></small>'), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '<small><hr>Informasi kode bahasa:<br><i>Tidak adatersedia</i></small>')))\n )) as ?description)\nWHERE { \n ?id wdt:P31 wd:Q34770 .\n ?id wdt:P279 ?head. \n ?id wdt:P625 ?geo. \nSERVICE wikibase:label {\n bd:serviceParam wikibase:language 'id' .\n ?head rdfs:label ?headLabel.\n ?id rdfs:label ?idLabel. \n }\nOPTIONAL {?id wdt:P220 ?iso. }\nOPTIONAL {?id wdt:P1394 ?glotto. }\nOPTIONAL {?id wdt:P18 ?img. }\nOPTIONAL {?id wdt:P1846 ?gmbr.}\n \n?link schema:about ?head. \n?link schema:isPartOf <https://wiki-indonesia.club/>.\n \n?link2 schema:about ?id. \n?link2 schema:isPartOf <https://wiki-indonesia.club/>.\n} \n\n\nGROUP BY ?id ?idLabel ?head ?headLabel ?link2 ?link ?iso ?glotto ?geo"
<!-- galat berakhir di sini -->
\n WHERE { \n ?id wdt:P31 wd:Q34770 .\n ?id wdt:P279 ?head .\n ?id wdt:P625 ?geo .\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 ?id wdt:P18 ?img .\n }\n OPTIONAL {\n ?id wdt:P1846 ?gmbr .\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 ?geo"
}
|frame-width=900|frame-height=470|align=center}}
</mapframe>