Template:SimpleGraphModule

From BITPlan Wiki
Revision as of 10:02, 16 February 2018 by Wf (talk | contribs)
Jump to navigation Jump to search

This is the template SimpleGraphModule. It belongs to the concept/topic Concept:SimpleGraphModule
You may find examples for the use of this template via the List of SimpleGraphModules.

Usage

storemode subobject

{{SimpleGraphModule
|name=
|logo=
|url=
|documentation=
|storemode=subobject
}}

storemode property

{{SimpleGraphModule
|name=
|logo=
|url=
|documentation=
|storemode=property
}}

storemode none

{{SimpleGraphModule
|name=
|logo=
|url=
|documentation=
|storemode=none
}}


viewmode tableheader

{{SimpleGraphModule
|name=
|logo=
|url=
|documentation=
|viewmode=tableheader
}}

viewmode tablerow

{{SimpleGraphModule
|name=
|logo=
|url=
|documentation=
|viewmode=tablerow
}}

viewmode tablefooter

{{SimpleGraphModule
|name=
|logo=
|url=
|documentation=
|viewmode=tablefooter
}}

viewmode labelfield

{{SimpleGraphModule
|name=
|logo=
|url=
|documentation=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA SimpleGraphModule<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?logo|}}}|"{{{?logo}}}" is logo of it <br>|}}
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=SimpleGraphModule
|SimpleGraphModule name={{{name|}}}
|SimpleGraphModule logo={{{logo|}}}
|SimpleGraphModule url={{{url|}}}
|SimpleGraphModule documentation={{{documentation|}}}
}}
|#default={{#set:
|isA=SimpleGraphModule
|SimpleGraphModule name={{{name|}}}
|SimpleGraphModule logo={{{logo|}}}
|SimpleGraphModule url={{{url|}}}
|SimpleGraphModule documentation={{{documentation|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!logo!!url!!documentation
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{logo|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{documentation|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>logo={{#if:{{{logo|}}}|[[{{{logo|}}}]]|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>documentation={{#if:{{{documentation|}}}|[[{{{documentation|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}SimpleGraphModule
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/SimpleGraphModule/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!logo
{{!}}&nbsp;{{#if:{{{logo|}}}|[[{{{logo|}}}]]|}}
{{!}}-
!url
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
{{!}}-
!documentation
{{!}}&nbsp;{{#if:{{{documentation|}}}|[[{{{documentation|}}}]]|}}
{{!}}-
{{!}}}
}}
}}

Source

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