Template:Context

From BITPlan Wiki
Revision as of 10:59, 31 October 2017 by Wf (talk | contribs) (created by WikiTask 2017-10-31T09:59:49Z)
Jump to navigation Jump to search

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=
|since=
|master=
|storemode=subobject
}}

storemode property

{{Context
|name=
|since=
|master=
|storemode=property
}}

storemode none

{{Context
|name=
|since=
|master=
|storemode=none
}}


viewmode tableheader

{{Context
|name=
|since=
|master=
|viewmode=tableheader
}}

viewmode tablerow

{{Context
|name=
|since=
|master=
|viewmode=tablerow
}}

viewmode tablefooter

{{Context
|name=
|since=
|master=
|viewmode=tablefooter
}}

viewmode labelfield

{{Context
|name=
|since=
|master=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Context<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?since|}}}|"{{{?since}}}" is since of it <br>|}}
{{#if:{{{?master|}}}|"{{{?master}}}" is master of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Context
|Context name={{{name|}}}
|Context since={{{since|}}}
|Context master={{{master|}}}
}}
|#default={{#set:
|isA=Context
|Context name={{{name|}}}
|Context since={{{since|}}}
|Context master={{{master|}}}
}}
}}
{{#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 headerTabs = headerTabs
| ?Topic context = context



}}
|tableheader={{{!}} class='wikitable'
!name!!since!!master
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{master|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>master={{#if:{{{master|}}}|{{{master|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Context
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Context/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!since
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}-
!master
{{!}}&nbsp;{{#if:{{{master|}}}|{{{master|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Context]]{{#default_form:Context}}

Source

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