Template:Context: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2017-11-05T16:16:24Z)
(modified by py-yprinciple-gen 0.2.4)
Line 1: Line 1:
<noinclude>
<noinclude><!--
<!--
   --     Copyright (C) 2015-2023 BITPlan GmbH
   -- Copyright (C) 2015-2017 BITPlan GmbH
   --  
   --  
   -- Pater-Delp-Str. -- 1
   --     Pater-Delp-Str. -- 1
   -- D-47877 -- Willich-Schiefbahn
   --     D-47877 -- Willich-Schiefbahn
   --  
   --  
   -- http://www.bitplan.com
   --     http://www.bitplan.com
   --
   --
   --  
   --  
-->
-->
This is the template {{Link|target=Template:Context|title=Context}}.
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "Context".
It belongs to the concept/topic {{Link|target=:Concept:Context}}<br>
=== see also ===
You may find examples for the use of this template via the {{Link|target=List of Contexts}}.
see also
* [[List of Contexts]]
* [[Help:Context]]
* [[Concept:Context]]
* [[:Category:Context]]
* [[:Template:Context]]
* [[:Form:Context]]
topic links:* [[:Category:Topic]]
 
=== Usage ===
=== Usage ===
==== storemode subobject ====
<pre>{{Context
<pre>{{Context
|name=
|name=
|since=
|since=
|updated=
|copyright=
|master=
|master=
|storemode=subobject
|storemode=property or subjobject or none"
}}
}}
</pre>
[[Category:Template]]
 
</noinclude><includeonly>{{#switch:{{{storemode|}}}
==== storemode property ====
<pre>{{Context
|name=
|since=
|master=
|storemode=property
}}
</pre>
 
==== storemode none ====
<pre>{{Context
|name=
|since=
|master=
|storemode=none
}}
</pre>
 
 
==== viewmode tableheader ====
<pre>{{Context
|name=
|since=
|master=
|viewmode=tableheader
}}
</pre>
 
==== viewmode tablerow ====
<pre>{{Context
|name=
|since=
|master=
|viewmode=tablerow
}}
</pre>
 
==== viewmode tablefooter ====
<pre>{{Context
|name=
|since=
|master=
|viewmode=tablefooter
}}
</pre>
 
==== viewmode labelfield ====
<pre>{{Context
|name=
|since=
|master=
|viewmode=labelfield
}}
</pre>
 
=== Source (pretty printed) ===
<source lang='html4strict'>
{{#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=
|none=
|subobject={{#subobject:-
|subobject={{#subobject:-
Line 90: Line 36:
|Context name={{{name|}}}
|Context name={{{name|}}}
|Context since={{{since|}}}
|Context since={{{since|}}}
|Context updated={{{updated|}}}
|Context copyright={{{copyright|}}}
|Context master={{{master|}}}
|Context master={{{master|}}}
}}
}}
Line 96: Line 44:
|Context name={{{name|}}}
|Context name={{{name|}}}
|Context since={{{since|}}}
|Context since={{{since|}}}
|Context updated={{{updated|}}}
|Context copyright={{{copyright|}}}
|Context master={{{master|}}}
|Context master={{{master|}}}
}}
}}
}}
}}
{{#switch: {{{viewmode|}}}
{{{!}} class='wikitable'
|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
! colspan='2' {{!}}Context
{{!}}-
{{!}}-
Line 133: Line 56:
{{!}}-
{{!}}-
}}
}}
!name
![[Property:Context name|name]]
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name}}}|}}
{{!}}-
{{!}}-
!since
![[Property:Context since|since]]
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since}}}|}}
{{!}}-
{{!}}-
!master
![[Property:Context updated|updated]]
{{!}}&nbsp;{{#if:{{{master|}}}|{{{master|}}}|}}
{{!}}&nbsp;{{#if:{{{updated|}}}|{{{updated}}}|}}
{{!}}-
{{!}}-
{{!}}}
![[Property:Context copyright|copyright]]
}}
{{!}}&nbsp;{{#if:{{{copyright|}}}|{{{copyright}}}|}}
}}
[[Category:Context]]{{#default_form:Context}}
</source>
=== Source ===
Click on "Edit" to edit the noinclude-part Source of this Template.
[[Category:Template]]
 
</noinclude><includeonly>{{#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=
![[Property:Context master|master]]
{{!}}{{{name|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{master|}}}
{{!}}&nbsp;{{#if:{{{master|}}}|{{{master}}}|}}
{{!}}-
{{!}}-
|tablefooter={{!}}}
{{!}}}[[Category:Context]]{{#default_form:Context}}
|labelfield=
</includeonly>
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}}</includeonly>

Revision as of 06:37, 10 March 2023

This is the BITPlan Y-Prinzip ProfiWiki-Template for "Context".

see also

see also

topic links:* Category:Topic

Usage

Context
name  
since  
updated  
copyright  
master