Mapping fr:Infobox Club sportif: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(first import from Mapping:Infobox_football_club (en))
 
(Adding conditionalmapping to identify sport type, added also mappings for "Siège")
Line 1: Line 1:
{{TemplateMapping
{{ConditionalMapping
| mapToClass = SoccerClub
| cases =
| mappings =
 
{{Condition
| templateProperty = Sport
| operator        = contains
| value            = football
| mapping          =
  {{TemplateMapping
  | mapToClass = SoccerClub
  }}
}}
 
{{Condition
| templateProperty = Sport
| operator        = contains
| value            = rugby
| mapping          =
  {{TemplateMapping
  | mapToClass = RugbyClub
  }}
}}
 
{{Condition
| operator = otherwise
| mapping =
  {{TemplateMapping
  | mapToClass = SportsTeam
  }}
 
| defaultMappings =
{{PropertyMapping | templateProperty = Nom du club | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = Nom du club | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = Nom complet | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = Nom complet | ontologyProperty = foaf:name }}
Line 12: Line 40:
         {{PropertyMapping | templateProperty = Stade  | ontologyProperty = ground }}
         {{PropertyMapping | templateProperty = Stade  | ontologyProperty = ground }}
         {{PropertyMapping | templateProperty = Capacite | ontologyProperty = capacity }}
         {{PropertyMapping | templateProperty = Capacite | ontologyProperty = capacity }}
        {{PropertyMapping | templateProperty = Siege | ontologyProperty = headquarter }}


{{PropertyMapping | templateProperty = Président | ontologyProperty = chairman }}
{{PropertyMapping | templateProperty = Président | ontologyProperty = chairman }}

Revision as of 14:25, 26 April 2012

{{ConditionalMapping | cases =

Condition (help)
template property Sport
operator contains
value football

This is the mapping for the Wikipedia template Infobox Club sportif. 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 SoccerClub


Condition (help)
template property Sport
operator contains
value rugby

This is the mapping for the Wikipedia template Infobox Club sportif. 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 RugbyClub


Condition (help)
otherwise

This is the mapping for the Wikipedia template Infobox Club sportif. 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 SportsTeam