Mapping en:Infobox color: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
AnjaJentzsch (talk | contribs) No edit summary |
RobertIsele (talk | contribs) (Added colour coordinates) |
||
Line 6: | Line 6: | ||
| 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 = variation }} | |||
<!-- Colour coordinates --> | |||
{{PropertyMapping | templateProperty = r | ontologyProperty = rgbCoordinateRed}} | |||
{{PropertyMapping | templateProperty = g | ontologyProperty = rgbCoordinateBlue}} | |||
{{PropertyMapping | templateProperty = b | ontologyProperty = rgbCoordinateGreen}} | |||
{{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}} | |||
}} | }} |
Revision as of 14:10, 29 March 2010
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.
{{TemplateMapping | mapToClass = Colour | correspondingClass = Colour | correspondingProperty = 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 | variation |
Property Mapping (help) | |
---|---|
template property | r |
ontology property | rgbCoordinateRed |
Property Mapping (help) | |
---|---|
template property | g |
ontology property | rgbCoordinateBlue |
Property Mapping (help) | |
---|---|
template property | b |
ontology property | rgbCoordinateGreen |
Property Mapping (help) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
template property | c | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ontology property | [[OntologyProperty:cmykCoordinateCyanic}
|