Mapping en:Infobox officeholder: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{Condition | {{Condition | ||
| templateProperty = $TemplateName | | templateProperty = $TemplateName | ||
| operator = | | operator = isIn | ||
| value = Infobox AM | | value = Infobox AM, Infobox Canadian MP, Infobox MP, Infobox MEP, Infobox MLA | ||
| mapping = {{TemplateMapping | header = 0 | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = MemberOfParliament | | mapToClass = MemberOfParliament | ||
Line 11: | Line 11: | ||
{{Condition | {{Condition | ||
| templateProperty = $TemplateName | | templateProperty = $TemplateName | ||
| operator = | | operator = isIn | ||
| value = Infobox | | value = Infobox governor, Infobox governor-elect, Infobox governor general, Infobox governor-general, Infobox US territorial governor | ||
| mapping = {{TemplateMapping | header = 0 | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = | | mapToClass = Governor | ||
{{Condition | {{Condition | ||
| operator = otherwise | | operator = otherwise | ||
Line 30: | Line 21: | ||
| mapToClass = OfficeHolder | | mapToClass = OfficeHolder | ||
}} | }} | ||
}} | |||
| defaultMappings = | | defaultMappings = | ||
{{PropertyMapping | templateProperty = otherparty | ontologyProperty = otherParty }} | {{PropertyMapping | templateProperty = otherparty | ontologyProperty = otherParty }} |
Revision as of 00:53, 16 October 2017
{{ConditionalMapping | cases =
Condition (help) | |
---|---|
template property | $TemplateName |
operator | isIn |
value | Infobox AM, Infobox Canadian MP, Infobox MP, Infobox MEP, Infobox MLA |
Template Mapping (help) map to class MemberOfParliament
{{Condition | templateProperty = $TemplateName | operator = isIn | value = Infobox governor, Infobox governor-elect, Infobox governor general, Infobox governor-general, Infobox US territorial governor | mapping =
Template Mapping (help) | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
map to class | [[OntologyClass:Governor
|Governor
]] |