Mapping uk:Infobox Settlement: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
m (whitespace; remove the most horrifically wrong entries. This is a generic template, so some conditional mappings are needed for divisions. The English template, of which this is a copy, is unmapped) |
||
Line 1: | Line 1: | ||
{{ TemplateMapping | {{ TemplateMapping | ||
| mapToClass = PopulatedPlace| mappings ={{ PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation }}{{ PropertyMapping | templateProperty = utc_offset | ontologyProperty = utcOffset }}{{ PropertyMapping | templateProperty = population_total | ontologyProperty = populationTotal }}{{ PropertyMapping | templateProperty = population_urban | ontologyProperty = populationUrban }} | | mapToClass = PopulatedPlace | ||
| mappings = | |||
{{ PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation }} | |||
{{ PropertyMapping | templateProperty = utc_offset | ontologyProperty = utcOffset }} | |||
{{ PropertyMapping | templateProperty = population_total | ontologyProperty = populationTotal }} | |||
{{ PropertyMapping | templateProperty = population_urban | ontologyProperty = populationUrban }} | |||
{{ PropertyMapping | templateProperty = image_shield | ontologyProperty = blazon }} | |||
{{ PropertyMapping | templateProperty = blank_info | ontologyProperty = fipsCode }} | |||
{{ PropertyMapping | templateProperty = area_code | ontologyProperty = phonePrefix }} | |||
{{ PropertyMapping | templateProperty = image_flag | ontologyProperty = flag }} | |||
{{ PropertyMapping | templateProperty = population_metro | ontologyProperty = populationMetro }} | |||
{{ PropertyMapping | templateProperty = established_date | ontologyProperty = foundingDate }} | |||
{{ PropertyMapping | templateProperty = seat | ontologyProperty = capital }} | |||
{{ PropertyMapping | templateProperty = motto | ontologyProperty = motto }} | |||
{{ PropertyMapping | templateProperty = population_as_of | ontologyProperty = populationYear }} | |||
{{ PropertyMapping | templateProperty = postal_code | ontologyProperty = zipCode }} | |||
}} |
Revision as of 00:23, 12 February 2015
This is the mapping for the Wikipedia template Infobox Settlement. Find usages of this Wikipedia template here.
Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.
Read more about mapping Wikipedia templates.
Template Mapping (help) | |
---|---|
map to class | PopulatedPlace |
Mappings
Property Mapping (help) | |
---|---|
template property | elevation_m |
ontology property | elevation |
Property Mapping (help) | |
---|---|
template property | utc_offset |
ontology property | utcOffset |
Property Mapping (help) | |
---|---|
template property | population_total |
ontology property | populationTotal |
Property Mapping (help) | |
---|---|
template property | population_urban |
ontology property | populationUrban |
Property Mapping (help) | |
---|---|
template property | image_shield |
ontology property | blazon |
Property Mapping (help) | |
---|---|
template property | blank_info |
ontology property | fipsCode |
Property Mapping (help) | |
---|---|
template property | area_code |
ontology property | phonePrefix |
Property Mapping (help) | |
---|---|
template property | image_flag |
ontology property | flag |
Property Mapping (help) | |
---|---|
template property | population_metro |
ontology property | populationMetro |
Property Mapping (help) | |
---|---|
template property | established_date |
ontology property | foundingDate |
Property Mapping (help) | |
---|---|
template property | seat |
ontology property | capital |
Property Mapping (help) | |
---|---|
template property | motto |
ontology property | motto |
Property Mapping (help) | |
---|---|
template property | population_as_of |
ontology property | populationYear |
Property Mapping (help) | |
---|---|
template property | postal_code |
ontology property | zipCode |