Difference between revisions of "Template:Context"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
(created by WikiTask 2018-06-18T23:09:25Z)
 
(modified by py-yprinciple-gen 0.3.4)
 
Line 1: Line 1:
<noinclude>
+
<noinclude><!--
<!--
+
   --     Copyright (C) 2015-2024 BITPlan GmbH
   -- Copyright (C) 2015-2018 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]]
 +
related topics:
 +
* [[Concept:Topic]]
 +
 
 
=== Usage ===
 
=== Usage ===
==== storemode subobject ====
 
 
<pre>{{Context
 
<pre>{{Context
 
|name=
 
|name=
 
|since=
 
|since=
 +
|updated=
 +
|copyright=
 +
|demo=
 
|master=
 
|master=
|storemode=subobject
+
|storemode=property or subobject or none"
 
}}
 
}}
 
</pre>
 
</pre>
 
+
[[Category:Template]]
==== storemode property ====
+
</noinclude><includeonly>{{#switch:{{{storemode|}}}
<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 39:
 
|Context name={{{name|}}}
 
|Context name={{{name|}}}
 
|Context since={{{since|}}}
 
|Context since={{{since|}}}
 +
|Context updated={{{updated|}}}
 +
|Context copyright={{{copyright|}}}
 +
|Context demo={{{demo|}}}
 
|Context master={{{master|}}}
 
|Context master={{{master|}}}
 
}}
 
}}
Line 96: Line 48:
 
|Context name={{{name|}}}
 
|Context name={{{name|}}}
 
|Context since={{{since|}}}
 
|Context since={{{since|}}}
 +
|Context updated={{{updated|}}}
 +
|Context copyright={{{copyright|}}}
 +
|Context demo={{{demo|}}}
 
|Context master={{{master|}}}
 
|Context master={{{master|}}}
 
}}
 
}}
 
}}
 
}}
{{#switch: {{{viewmode|}}}
+
{{#switch:{{{viewmode|}}}|hidden=|masterdetail=
|hidden=
 
|masterdetail=
 
 
= topics =
 
= topics =
 
{{#ask:[[Concept:Topic]][[Topic context::{{FULLPAGENAME}}]]
 
{{#ask:[[Concept:Topic]][[Topic context::{{FULLPAGENAME}}]]
 
| ?Topic name = name
 
| ?Topic name = name
 
| ?Topic pluralName = pluralName
 
| ?Topic pluralName = pluralName
 +
| ?Topic isA = isA
 +
| ?Topic extends = extends
 
| ?Topic icon = icon
 
| ?Topic icon = icon
 
| ?Topic iconUrl = iconUrl
 
| ?Topic iconUrl = iconUrl
Line 115: Line 70:
 
| ?Topic headerTabs = headerTabs
 
| ?Topic headerTabs = headerTabs
 
| ?Topic context = context
 
| ?Topic context = context
 
+
}}|#default={{{!}} class='wikitable'
 
 
 
 
}}
 
|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 134: Line 77:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
!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|}}}
 
|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
 
 
 
 
 
 
 
}}
 
|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
+
![[Property:Context demo|demo]]
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
+
{{!}}&nbsp;{{#if:{{{demo|}}}|{{{demo}}}|}}
 
{{!}}-
 
{{!}}-
!master
+
![[Property:Context master|master]]
{{!}}&nbsp;{{#if:{{{master|}}}|{{{master|}}}|}}
+
{{!}}&nbsp;{{#if:{{{master|}}}|{{{master}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
 
}}
 
}}
}}
+
[[Category:Context]]{{#default_form:Context}}
[[Category:Context]]{{#default_form:Context}}</includeonly>
+
</includeonly>

Latest revision as of 09:52, 27 November 2024

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

see also

see also

related topics:

Usage

{{Context
|name=
|since=
|updated=
|copyright=
|demo=
|master=
|storemode=property or subobject or none"
}}