Difference between revisions of "Template:ConditionalMapping"

From DBpedia Mappings
Jump to: navigation, search
Line 6: Line 6:
 
<blockquote>{{{defaultMappings}}}</blockquote>
 
<blockquote>{{{defaultMappings}}}</blockquote>
 
</includeonly>
 
</includeonly>
<noinclude>'''<nowiki>{{ConditionalMapping}}</nowiki>''' maps templates to ontology classes. In comparison to <nowiki>{{TemplateMapping}}</nowiki> the mapping can be made dependent on template properties and their values.
+
<noinclude>'''<nowiki>{{ConditionalMapping}}</nowiki>''' maps templates to ontology classes. In comparison to a [[Template:TemplateMapping|TemplateMapping]] the mapping can be made dependent on template properties and their values.
  
 
=== Usage ===
 
=== Usage ===

Revision as of 12:28, 8 March 2010

{{ConditionalMapping}} maps templates to ontology classes. In comparison to a TemplateMapping the mapping can be made dependent on template properties and their values.

Usage

{{ConditionalMapping
| cases           =
| defaultMappings =
}}

Meanings

  • cases:
  • defaultMappings:

Example

{{ConditionalMapping
| cases =
  {{Condition 
  ... 
  }}

  ...

  {{Condition
  | otherwise
  ...
  }}

| defaultMappings =
  {{PropertyMapping
  ... 
  }}
  ...
}}