Difference between revisions of "Template:SimpleGraphModule"
Jump to navigation
Jump to search
Line 171: | Line 171: | ||
{{#switch: {{{viewmode|}}} | {{#switch: {{{viewmode|}}} | ||
|masterdetail= | |masterdetail= | ||
− | |hidden{{#if:{{{logo|}}}|[[{{{logo|}}}|256px|left]]}} == SimpleGraph {{{name|}}} module = | + | |hidden={{#if:{{{logo|}}}|[[{{{logo|}}}|256px|left]]}} |
+ | == SimpleGraph {{{name|}}} module = | ||
The {{Link|target=SimpleGraph}} {{{name|}}} module {{{documentation|}}} | The {{Link|target=SimpleGraph}} {{{name|}}} module {{{documentation|}}} | ||
[[Category:frontend]] | [[Category:frontend]] |
Revision as of 09:23, 16 February 2018
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 }}
{{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
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!logo
{{!}} {{#if:{{{logo|}}}|[[{{{logo|}}}]]|}}
{{!}}-
!url
{{!}} {{#if:{{{url|}}}|{{{url|}}}|}}
{{!}}-
!documentation
{{!}} {{#if:{{{documentation|}}}|[[{{{documentation|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.