Template:Italy Labelled Map/testcases
Jump to navigation
Jump to search
![]() | This is the template test cases page for the sandbox of Template:Italy Labelled Map. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
{{Italy Labelled Map|float=left}}
<mapframe align="left" latitude="41.8" longitude="12.0" zoom="5" width="300" height="350"> {
"type": "ExternalData", "service": "geoshape", "properties": { "stroke-width": 1 }, "query": "SELECT ?id ?population ( '#C12838' as ?fill) (concat('Population: ', str(?population)) as ?description) (concat('', ?stateLabel, '') as ?title) WHERE { {?id wdt:P31 wd:Q1710033.} union {?id wdt:P31 wd:Q16110. } OPTIONAL { ?id wdt:P1082 ?population. } SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' . ?id rdfs:label ?stateLabel . } ?link schema:about ?id. ?link schema:isPartOf <https://en.wikipedia.org/> .} GROUP BY ?id ?link ?stateLabel ?population"
} </mapframe>
{{Italy Labelled Map|float=center}}
<mapframe align="center" latitude="41.8" longitude="12.0" zoom="5" width="300" height="350"> {
"type": "ExternalData", "service": "geoshape", "properties": { "stroke-width": 1 }, "query": "SELECT ?id ?population ( '#C12838' as ?fill) (concat('Population: ', str(?population)) as ?description) (concat('', ?stateLabel, '') as ?title) WHERE { {?id wdt:P31 wd:Q1710033.} union {?id wdt:P31 wd:Q16110. } OPTIONAL { ?id wdt:P1082 ?population. } SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' . ?id rdfs:label ?stateLabel . } ?link schema:about ?id. ?link schema:isPartOf <https://en.wikipedia.org/> .} GROUP BY ?id ?link ?stateLabel ?population"
} </mapframe>
{{Italy Labelled Map|float=right}}
<mapframe align="right" latitude="41.8" longitude="12.0" zoom="5" width="300" height="350"> {
"type": "ExternalData", "service": "geoshape", "properties": { "stroke-width": 1 }, "query": "SELECT ?id ?population ( '#C12838' as ?fill) (concat('Population: ', str(?population)) as ?description) (concat('', ?stateLabel, '') as ?title) WHERE { {?id wdt:P31 wd:Q1710033.} union {?id wdt:P31 wd:Q16110. } OPTIONAL { ?id wdt:P1082 ?population. } SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' . ?id rdfs:label ?stateLabel . } ?link schema:about ?id. ?link schema:isPartOf <https://en.wikipedia.org/> .} GROUP BY ?id ?link ?stateLabel ?population"
} </mapframe>