Difference between revisions of "Template:Topic"
Jump to navigation
Jump to search
m (created by WikiTask 2019-10-11T04:58:15Z) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<!-- | <!-- | ||
− | -- Copyright (C) 2015- | + | -- Copyright (C) 2015-2019 BITPlan GmbH |
-- | -- | ||
-- Pater-Delp-Str. -- 1 | -- Pater-Delp-Str. -- 1 | ||
Line 180: | Line 180: | ||
}} | }} | ||
{{#switch: {{{viewmode|}}} | {{#switch: {{{viewmode|}}} | ||
+ | |hidden= | ||
|masterdetail= | |masterdetail= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
!name!!pluralName!!icon!!iconUrl!!documentation!!wikiDocumentation!!defaultstoremode!!listLimit!!cargo!!headerTabs!!context | !name!!pluralName!!icon!!iconUrl!!documentation!!wikiDocumentation!!defaultstoremode!!listLimit!!cargo!!headerTabs!!context | ||
Line 278: | Line 254: | ||
|none= | |none= | ||
|subobject={{#subobject:- | |subobject={{#subobject:- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|isA=Topic | |isA=Topic | ||
|Topic name={{{name|}}} | |Topic name={{{name|}}} | ||
Line 322: | Line 283: | ||
}} | }} | ||
{{#switch: {{{viewmode|}}} | {{#switch: {{{viewmode|}}} | ||
+ | |hidden= | ||
|masterdetail= | |masterdetail= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
!name!!pluralName!!icon!!iconUrl!!documentation!!wikiDocumentation!!defaultstoremode!!listLimit!!cargo!!headerTabs!!context | !name!!pluralName!!icon!!iconUrl!!documentation!!wikiDocumentation!!defaultstoremode!!listLimit!!cargo!!headerTabs!!context |
Latest revision as of 05:58, 11 October 2019
This is the template Topic.
It belongs to the concept/topic Concept:Topic
You may find examples for the use of this template via the List of Topics.
Usage
storemode subobject
{{Topic |name= |pluralName= |icon= |iconUrl= |documentation= |wikiDocumentation= |defaultstoremode= |listLimit= |cargo= |headerTabs= |context= |storemode=subobject }}
storemode property
{{Topic |name= |pluralName= |icon= |iconUrl= |documentation= |wikiDocumentation= |defaultstoremode= |listLimit= |cargo= |headerTabs= |context= |storemode=property }}
storemode none
{{Topic |name= |pluralName= |icon= |iconUrl= |documentation= |wikiDocumentation= |defaultstoremode= |listLimit= |cargo= |headerTabs= |context= |storemode=none }}
viewmode tableheader
{{Topic |name= |pluralName= |icon= |iconUrl= |documentation= |wikiDocumentation= |defaultstoremode= |listLimit= |cargo= |headerTabs= |context= |viewmode=tableheader }}
viewmode tablerow
{{Topic |name= |pluralName= |icon= |iconUrl= |documentation= |wikiDocumentation= |defaultstoremode= |listLimit= |cargo= |headerTabs= |context= |viewmode=tablerow }}
{{Topic |name= |pluralName= |icon= |iconUrl= |documentation= |wikiDocumentation= |defaultstoremode= |listLimit= |cargo= |headerTabs= |context= |viewmode=tablefooter }}
viewmode labelfield
{{Topic |name= |pluralName= |icon= |iconUrl= |documentation= |wikiDocumentation= |defaultstoremode= |listLimit= |cargo= |headerTabs= |context= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Topic<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?pluralName|}}}|"{{{?pluralName}}}" is pluralName of it <br>|}}
{{#if:{{{?icon|}}}|"{{{?icon}}}" is icon of it <br>|}}
{{#if:{{{?iconUrl|}}}|"{{{?iconUrl}}}" is iconUrl of it <br>|}}
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
{{#if:{{{?wikiDocumentation|}}}|"{{{?wikiDocumentation}}}" is wikiDocumentation of it <br>|}}
{{#if:{{{?defaultstoremode|}}}|"{{{?defaultstoremode}}}" is defaultstoremode of it <br>|}}
{{#if:{{{?listLimit|}}}|"{{{?listLimit}}}" is listLimit of it <br>|}}
{{#if:{{{?cargo|}}}|"{{{?cargo}}}" is cargo of it <br>|}}
{{#if:{{{?headerTabs|}}}|"{{{?headerTabs}}}" is headerTabs of it <br>|}}
{{#if:{{{?context|}}}|"{{{?context}}}" is context of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Topic
|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|}}}
}}
|#default={{#set:
|isA=Topic
|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|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!pluralName!!icon!!iconUrl!!documentation!!wikiDocumentation!!defaultstoremode!!listLimit!!cargo!!headerTabs!!context
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{pluralName|}}}{{!}}{{!}}{{{icon|}}}{{!}}{{!}}{{{iconUrl|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{wikiDocumentation|}}}{{!}}{{!}}{{{defaultstoremode|}}}{{!}}{{!}}{{{listLimit|}}}{{!}}{{!}}{{{cargo|}}}{{!}}{{!}}{{{headerTabs|}}}{{!}}{{!}}{{{context|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>pluralName={{#if:{{{pluralName|}}}|{{{pluralName|}}}|}}<br>icon={{#if:{{{icon|}}}|[[{{{icon|}}}]]|}}<br>iconUrl={{#if:{{{iconUrl|}}}|{{{iconUrl|}}}|}}<br>documentation={{#if:{{{documentation|}}}|{{{documentation|}}}|}}<br>wikiDocumentation={{#if:{{{wikiDocumentation|}}}|{{{wikiDocumentation|}}}|}}<br>defaultstoremode={{#if:{{{defaultstoremode|}}}|{{{defaultstoremode|}}}|}}<br>listLimit={{#if:{{{listLimit|}}}|{{{listLimit|}}}|}}<br>cargo={{#if:{{{cargo|}}}|{{{cargo|}}}|}}<br>headerTabs={{#if:{{{headerTabs|}}}|{{{headerTabs|}}}|}}<br>context={{#if:{{{context|}}}|[[{{{context|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Topic
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Topic/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!pluralName
{{!}} {{#if:{{{pluralName|}}}|{{{pluralName|}}}|}}
{{!}}-
!icon
{{!}} {{#if:{{{icon|}}}|[[{{{icon|}}}]]|}}
{{!}}-
!icon Url
{{!}} {{#if:{{{iconUrl|}}}|{{{iconUrl|}}}|}}
{{!}}-
!documentation
{{!}} {{#if:{{{documentation|}}}|{{{documentation|}}}|}}
{{!}}-
!wikiDocumentation
{{!}} {{#if:{{{wikiDocumentation|}}}|{{{wikiDocumentation|}}}|}}
{{!}}-
!default storemode
{{!}} {{#if:{{{defaultstoremode|}}}|{{{defaultstoremode|}}}|}}
{{!}}-
!list Limit
{{!}} {{#if:{{{listLimit|}}}|{{{listLimit|}}}|}}
{{!}}-
!use cargo
{{!}} {{#if:{{{cargo|}}}|{{{cargo|}}}|}}
{{!}}-
!headerTabs
{{!}} {{#if:{{{headerTabs|}}}|{{{headerTabs|}}}|}}
{{!}}-
!context
{{!}} {{#if:{{{context|}}}|[[{{{context|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Topic]]{{#default_form:Topic}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.