Difference between revisions of "Template:Context"
Jump to navigation
Jump to search
m (created by WikiTask 2017-10-31T09:59:49Z) |
m (created by WikiTask 2017-11-05T16:16:24Z) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<!-- | <!-- | ||
− | -- Copyright (C) 2015- | + | -- Copyright (C) 2015-2017 BITPlan GmbH |
-- | -- | ||
-- Pater-Delp-Str. -- 1 | -- Pater-Delp-Str. -- 1 |
Revision as of 17:16, 5 November 2017
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 }}
{{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
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!since
{{!}} {{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}-
!master
{{!}} {{#if:{{{master|}}}|{{{master|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Context]]{{#default_form:Context}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.