Template:ConditionalMapping: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
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 11: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
  ... 
  }}
  ...
}}