Mapping en:Infobox color: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
AnjaJentzsch (talk | contribs) No edit summary |
(The RGB values for blue and green were interchanged.) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{TemplateMapping | {{TemplateMapping | ||
| mapToClass = Colour | | mapToClass = Colour | ||
Line 6: | Line 4: | ||
| correspondingProperty = variantOf | | correspondingProperty = variantOf | ||
| mappings = | | mappings = | ||
{{PropertyMapping | templateProperty = title | ontologyProperty = foaf:name}} | |||
{{PropertyMapping | templateProperty = wavelength | ontologyProperty = wavelength | unit = nanometre}} | |||
{{PropertyMapping | templateProperty = frequency | ontologyProperty = frequency | unit = terahertz}} | |||
{{PropertyMapping | templateProperty = symbolism | ontologyProperty = connotation }} | |||
{{PropertyMapping | templateProperty = variations | ontologyProperty = hasVariant }} | |||
{{PropertyMapping | templateProperty = hex | ontologyProperty = colourHexCode }} | |||
<!-- Colour coordinates --> | |||
{{PropertyMapping | templateProperty = r | ontologyProperty = rgbCoordinateRed}} | |||
{{PropertyMapping | templateProperty = g | ontologyProperty = rgbCoordinateGreen}} | |||
{{PropertyMapping | templateProperty = b | ontologyProperty = rgbCoordinateBlue}} | |||
{{PropertyMapping | templateProperty = c | ontologyProperty = cmykCoordinateCyanic}} | |||
{{PropertyMapping | templateProperty = m | ontologyProperty = cmykCoordinateMagenta}} | |||
{{PropertyMapping | templateProperty = y | ontologyProperty = cmykCoordinateYellow}} | |||
{{PropertyMapping | templateProperty = k | ontologyProperty = cmykCoordinateBlack}} | |||
{{PropertyMapping | templateProperty = h | ontologyProperty = hsvCoordinateHue}} | |||
{{PropertyMapping | templateProperty = s | ontologyProperty = hsvCoordinateSaturation}} | |||
{{PropertyMapping | templateProperty = v | ontologyProperty = hsvCoordinateValue}} | |||
}} | }} |
Latest revision as of 14:31, 18 June 2014
This is the mapping for the Wikipedia template Infobox color. 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 | Colour |
corresponding class | Colour |
corresponding property | variantOf |
Mappings
Property Mapping (help) | |
---|---|
template property | title |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | wavelength |
ontology property | wavelength |
unit | nanometre |
Property Mapping (help) | |
---|---|
template property | frequency |
ontology property | frequency |
unit | terahertz |
Property Mapping (help) | |
---|---|
template property | symbolism |
ontology property | connotation |
Property Mapping (help) | |
---|---|
template property | variations |
ontology property | hasVariant |
Property Mapping (help) | |
---|---|
template property | hex |
ontology property | colourHexCode |
Property Mapping (help) | |
---|---|
template property | r |
ontology property | rgbCoordinateRed |
Property Mapping (help) | |
---|---|
template property | g |
ontology property | rgbCoordinateGreen |
Property Mapping (help) | |
---|---|
template property | b |
ontology property | rgbCoordinateBlue |
Property Mapping (help) | |
---|---|
template property | c |
ontology property | cmykCoordinateCyanic |
Property Mapping (help) | |
---|---|
template property | m |
ontology property | cmykCoordinateMagenta |
Property Mapping (help) | |
---|---|
template property | y |
ontology property | cmykCoordinateYellow |
Property Mapping (help) | |
---|---|
template property | k |
ontology property | cmykCoordinateBlack |
Property Mapping (help) | |
---|---|
template property | h |
ontology property | hsvCoordinateHue |
Property Mapping (help) | |
---|---|
template property | s |
ontology property | hsvCoordinateSaturation |
Property Mapping (help) | |
---|---|
template property | v |
ontology property | hsvCoordinateValue |