Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
||
Baris 1: | Baris 1: | ||
{{maplink |
{{maplink|raw=<!-- Kartographer needs the items to be called ?id and the coordinates ?geo -->{ |
||
"type": "ExternalData", |
"type": "ExternalData", |
||
"service": "geopoint", |
"service": "geopoint", |
||
"query": "SELECT ?id ?idLabel ?head\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, ']]') as ?description)\nWHERE { \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 ?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 ?geo" |
"query": "SELECT ?id ?idLabel ?head\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, ']]') as ?description)\nWHERE { \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 ?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 ?geo" |
||
} |
} |
||
}} |
|||
|frame-width=700|frame-height=400}} |