Template:Context

From BITPlan ceur-ws Wiki
Revision as of 09:36, 20 July 2020 by Wf (talk | contribs) (created by WikiTask 2020-07-20T07:36:25Z)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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=
|copyright=
|master=
|storemode=subobject
}}

storemode property

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

storemode none

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


viewmode tableheader

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

viewmode tablerow

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

viewmode tablefooter

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

viewmode labelfield

{{Context
|name=
|since=
|copyright=
|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:{{{?copyright|}}}|"{{{?copyright}}}" is copyright 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 copyright={{{copyright|}}}
|Context master={{{master|}}}
}}
|#default={{#set:
|isA=Context
|Context name={{{name|}}}
|Context since={{{since|}}}
|Context copyright={{{copyright|}}}
|Context master={{{master|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|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

|sort=Topic name
|order=ascending
}}
|tableheader={{{!}} class='wikitable'
!name!!since!!copyright!!master
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{copyright|}}}{{!}}{{!}}{{{master|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>copyright={{#if:{{{copyright|}}}|{{{copyright|}}}|}}<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|}}}|}}
{{!}}-
!copyright
{{!}}&nbsp;{{#if:{{{copyright|}}}|{{{copyright|}}}|}}
{{!}}-
!master
{{!}}&nbsp;{{#if:{{{master|}}}|{{{master|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Context]]{{#default_form:Context}}

Source

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