Template:Context
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This is the template Context.
It belongs to the concept/topic Concept:Context
You may find examples for the use of this template via the List of Contexts.
Usage
storemode subobject
{{Context |name= |storemode=subobject }}
storemode property
{{Context |name= |storemode=property }}
storemode none
{{Context |name= |storemode=none }}
viewmode tableheader
{{Context |name= |viewmode=tableheader }}
viewmode tablerow
{{Context |name= |viewmode=tablerow }}
{{Context |name= |viewmode=tablefooter }}
viewmode labelfield
{{Context |name= |viewmode=labelfield }}
Source
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Context<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|{{#set:
|isA=Context
|Context name={{{name|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
=== topics ===
{{#ask:[[Concept:Topic]][[Topic context::{{FULLPAGENAME}}]]
| ?Topic name = name
| ?Topic pluralName = pluralName
| ?Topic icon = icon
| ?Topic iconUrl = iconUrl
| ?Topic documentation = documentation
| ?Topic wikiDocumentation = wikiDocumentation
| ?Topic defaultstoremode = defaultstoremode
| ?Topic listLimit = listLimit
| ?Topic cargo = cargo
| ?Topic context = context
}}
|tableheader={{{!}} class='wikitable'
!name
{{!}}-
|tablerow=
{{!}}{{{name|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Context
{{!}}-
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Context]]
Click on "Edit" to edit the Source of this Template.