Difference between revisions of "Template:SimpleGraphModuleMarkup"

From BITPlan Wiki
Jump to navigation Jump to search
Line 32: Line 32:
 
{{#ask: [[Concept:SimpleGraphModule]]
 
{{#ask: [[Concept:SimpleGraphModule]]
 
|mainlabel=SimpleGraphModule
 
|mainlabel=SimpleGraphModule
 +
| ?SimpleGraphModule logo = logo
 
| ?SimpleGraphModule name = name
 
| ?SimpleGraphModule name = name
| ?SimpleGraphModule logo = logo
 
 
| ?SimpleGraphModule url = url
 
| ?SimpleGraphModule url = url
 +
| ?SimpleGraphModule apiname = apiname
 +
| ?SimpleGraphModule apiurl = apiurl
 
| ?SimpleGraphModule documentation = documentation
 
| ?SimpleGraphModule documentation = documentation
 
|sort=SimpleGraphModule name
 
|sort=SimpleGraphModule name
Line 48: Line 50:
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|intro={{{!}} class="wikitable sortable"
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|intro={{{!}} class="wikitable sortable"
 
{{!}}-
 
{{!}}-
 +
! Logo
 
! Name
 
! Name
 
! System wrapped
 
! System wrapped
 +
! API exposed
 +
! Description
 
{{!}}-
 
{{!}}-
 
|outro={{!}}}
 
|outro={{!}}}
 
|row={{!}}-
 
|row={{!}}-
 
{{!}}style="text-align: center; width: 120px" {{!}} [[{{{?logo|}}}|100px]]  
 
{{!}}style="text-align: center; width: 120px" {{!}} [[{{{?logo|}}}|100px]]  
 +
{{!}}{{{?name|}}}
 
{{!}}style="text-align: left" {{!}} [{{{?url|}}} {{{?name|}}}]  
 
{{!}}style="text-align: left" {{!}} [{{{?url|}}} {{{?name|}}}]  
 +
{{!}}style="text-align: left" {{!}} [{{{?apiurl|}}} {{{?apiname|}}}]
 +
{{!}}style="text-align: left" {{!}} {{{?documentation|}}}
 
{{!}}-
 
{{!}}-
 
}}</includeonly>
 
}}</includeonly>

Revision as of 08:56, 21 February 2018

This template is used in six modes:

  1. intro
  2. outro
  3. row
  4. mintro
  5. moutro
  6. mrow

the mode is given as the userparam parameter for this template

Usage

{{SimpleGraphModuleMarkup|userparam=intro}}
{{#ask: [[Concept:SimpleGraphModule]]
|mainlabel=SimpleGraphModule
| ?SimpleGraphModule name = name
| ?SimpleGraphModule logo = logo
| ?SimpleGraphModule url = url
| ?SimpleGraphModule documentation = documentation
|sort=SimpleGraphModule name
|format=template
|link=none
|userparam=row
|named args=yes
|template=SimpleGraphModuleMarkup
}}
{{SimpleGraphModuleMarkup|userparam=outro}}

Example

... further results
Logo Name System wrapped API exposed Description