Template:SchemaProperty

From BITPlan ceur-ws Wiki
Jump to navigation Jump to search

This is the template SchemaProperty. It belongs to the concept/topic Concept:SchemaProperty
You may find examples for the use of this template via the List of SchemaProperties.

Usage

storemode subobject

{{SchemaProperty
|id=
|name=
|kind=
|type=
|iri=
|parent=
|mapsTo=
|comment=
|cardinality=
|definition=
|allowedValue=
|examples=
|schema=
|storemode=subobject
}}

storemode property

{{SchemaProperty
|id=
|name=
|kind=
|type=
|iri=
|parent=
|mapsTo=
|comment=
|cardinality=
|definition=
|allowedValue=
|examples=
|schema=
|storemode=property
}}

storemode none

{{SchemaProperty
|id=
|name=
|kind=
|type=
|iri=
|parent=
|mapsTo=
|comment=
|cardinality=
|definition=
|allowedValue=
|examples=
|schema=
|storemode=none
}}


viewmode tableheader

{{SchemaProperty
|id=
|name=
|kind=
|type=
|iri=
|parent=
|mapsTo=
|comment=
|cardinality=
|definition=
|allowedValue=
|examples=
|schema=
|viewmode=tableheader
}}

viewmode tablerow

{{SchemaProperty
|id=
|name=
|kind=
|type=
|iri=
|parent=
|mapsTo=
|comment=
|cardinality=
|definition=
|allowedValue=
|examples=
|schema=
|viewmode=tablerow
}}

viewmode tablefooter

{{SchemaProperty
|id=
|name=
|kind=
|type=
|iri=
|parent=
|mapsTo=
|comment=
|cardinality=
|definition=
|allowedValue=
|examples=
|schema=
|viewmode=tablefooter
}}

viewmode labelfield

{{SchemaProperty
|id=
|name=
|kind=
|type=
|iri=
|parent=
|mapsTo=
|comment=
|cardinality=
|definition=
|allowedValue=
|examples=
|schema=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA SchemaProperty<br>|}}
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?kind|}}}|"{{{?kind}}}" is kind of it <br>|}}
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
{{#if:{{{?iri|}}}|"{{{?iri}}}" is iri of it <br>|}}
{{#if:{{{?parent|}}}|"{{{?parent}}}" is parent of it <br>|}}
{{#if:{{{?mapsTo|}}}|"{{{?mapsTo}}}" is mapsTo of it <br>|}}
{{#if:{{{?comment|}}}|"{{{?comment}}}" is comment of it <br>|}}
{{#if:{{{?cardinality|}}}|"{{{?cardinality}}}" is cardinality of it <br>|}}
{{#if:{{{?definition|}}}|"{{{?definition}}}" is definition of it <br>|}}
{{#if:{{{?allowedValue|}}}|"{{{?allowedValue}}}" is allowedValue of it <br>|}}
{{#if:{{{?examples|}}}|"{{{?examples}}}" is examples of it <br>|}}
{{#if:{{{?schema|}}}|"{{{?schema}}}" is schema of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=SchemaProperty
|SchemaProperty id={{{id|}}}
|SchemaProperty name={{{name|}}}
|SchemaProperty kind={{{kind|}}}
|SchemaProperty type={{{type|}}}
|SchemaProperty iri={{{iri|}}}
|SchemaProperty parent={{{parent|}}}
|SchemaProperty mapsTo={{{mapsTo|}}}
|SchemaProperty comment={{{comment|}}}
|SchemaProperty cardinality={{{cardinality|}}}
|SchemaProperty definition={{{definition|}}}
|SchemaProperty allowedValue={{{allowedValue|}}}
|SchemaProperty examples={{{examples|}}}
|SchemaProperty schema={{{schema|}}}
}}
|#default={{#set:
|isA=SchemaProperty
|SchemaProperty id={{{id|}}}
|SchemaProperty name={{{name|}}}
|SchemaProperty kind={{{kind|}}}
|SchemaProperty type={{{type|}}}
|SchemaProperty iri={{{iri|}}}
|SchemaProperty parent={{{parent|}}}
|SchemaProperty mapsTo={{{mapsTo|}}}
|SchemaProperty comment={{{comment|}}}
|SchemaProperty cardinality={{{cardinality|}}}
|SchemaProperty definition={{{definition|}}}
|SchemaProperty allowedValue={{{allowedValue|}}}
|SchemaProperty examples={{{examples|}}}
|SchemaProperty schema={{{schema|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!id!!name!!kind!!type!!iri!!parent!!mapsTo!!comment!!cardinality!!definition!!allowedValue!!examples!!schema
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{kind|}}}{{!}}{{!}}{{{type|}}}{{!}}{{!}}{{{iri|}}}{{!}}{{!}}{{{parent|}}}{{!}}{{!}}{{{mapsTo|}}}{{!}}{{!}}{{{comment|}}}{{!}}{{!}}{{{cardinality|}}}{{!}}{{!}}{{{definition|}}}{{!}}{{!}}{{{allowedValue|}}}{{!}}{{!}}{{{examples|}}}{{!}}{{!}}{{{schema|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>kind={{#if:{{{kind|}}}|{{{kind|}}}|}}<br>type={{#if:{{{type|}}}|[[{{{type|}}}]]|}}<br>iri={{#if:{{{iri|}}}|{{{iri|}}}|}}<br>parent={{#if:{{{parent|}}}|[[{{{parent|}}}]]|}}<br>mapsTo={{#if:{{{mapsTo|}}}|[[{{{mapsTo|}}}]]|}}<br>comment={{#if:{{{comment|}}}|{{{comment|}}}|}}<br>cardinality={{#if:{{{cardinality|}}}|{{{cardinality|}}}|}}<br>definition={{#if:{{{definition|}}}|{{{definition|}}}|}}<br>allowedValue={{#if:{{{allowedValue|}}}|{{{allowedValue|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<br>schema={{#if:{{{schema|}}}|[[{{{schema|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}SchemaProperty
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/SchemaProperty/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!id
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!kind
{{!}}&nbsp;{{#if:{{{kind|}}}|{{{kind|}}}|}}
{{!}}-
!XSD type
{{!}}&nbsp;{{#if:{{{type|}}}|[[{{{type|}}}]]|}}
{{!}}-
!iri
{{!}}&nbsp;{{#if:{{{iri|}}}|{{{iri|}}}|}}
{{!}}-
!parent
{{!}}&nbsp;{{#if:{{{parent|}}}|[[{{{parent|}}}]]|}}
{{!}}-
!maps to
{{!}}&nbsp;{{#if:{{{mapsTo|}}}|[[{{{mapsTo|}}}]]|}}
{{!}}-
!comment
{{!}}&nbsp;{{#if:{{{comment|}}}|{{{comment|}}}|}}
{{!}}-
!cardinality
{{!}}&nbsp;{{#if:{{{cardinality|}}}|{{{cardinality|}}}|}}
{{!}}-
!definition
{{!}}&nbsp;{{#if:{{{definition|}}}|{{{definition|}}}|}}
{{!}}-
!allowedValue
{{!}}&nbsp;{{#if:{{{allowedValue|}}}|{{{allowedValue|}}}|}}
{{!}}-
!examples
{{!}}&nbsp;{{#if:{{{examples|}}}|{{{examples|}}}|}}
{{!}}-
!schema
{{!}}&nbsp;{{#if:{{{schema|}}}|[[{{{schema|}}}]]|}}
{{!}}-
{{!}}}
}}
}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.