Difference between revisions of "Template:SimpleGraphModuleMarkup"

From BITPlan Wiki
Jump to navigation Jump to search
Line 33: Line 33:
 
</pre>
 
</pre>
 
== Example ==
 
== Example ==
 +
=== Wiki Markup ===
 
{{SimpleGraphModuleMarkup|userparam=intro}}
 
{{SimpleGraphModuleMarkup|userparam=intro}}
 
{{#ask: [[Concept:SimpleGraphModule]]
 
{{#ask: [[Concept:SimpleGraphModule]]
Line 53: Line 54:
 
}}
 
}}
 
{{SimpleGraphModuleMarkup|userparam=outro}}
 
{{SimpleGraphModuleMarkup|userparam=outro}}
 
+
=== Github Markup ===
 +
{{SimpleGraphModuleMarkup|userparam=mintro}}
 +
{{#ask: [[Concept:SimpleGraphModule]]
 +
| mainlabel=SimpleGraphModule
 +
| ?SimpleGraphModule name = name
 +
| ?SimpleGraphModule modulename = modulename
 +
| ?SimpleGraphModule systemname = systemname
 +
| ?SimpleGraphModule logo = logo
 +
| ?SimpleGraphModule apiname = apiname
 +
| ?SimpleGraphModule apiurl = apiurl
 +
| ?SimpleGraphModule url = url
 +
| ?SimpleGraphModule documentation = documentation
 +
|sort=SimpleGraphModule name
 +
|format=template
 +
|link=none
 +
|userparam=mrow
 +
|named args=yes
 +
|template=SimpleGraphModuleMarkup
 +
|limit=3
 +
}}
 +
{{SimpleGraphModuleMarkup|userparam=moutro}}
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|intro={{{!}} class="wikitable sortable"
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|intro={{{!}} class="wikitable sortable"
 
{{!}}-
 
{{!}}-
Line 69: Line 90:
 
{{!}}-
 
{{!}}-
 
|mintro=
 
|mintro=
 +
<div style="font-family: monospace">
 
<nowiki>
 
<nowiki>
 
| Icon          | Name                                                                  | System wrapped  | API exposed |
 
| Icon          | Name                                                                  | System wrapped  | API exposed |
Line 75: Line 97:
 
|mrow=
 
|mrow=
 
<nowiki>|</nowiki><nowiki>[</nowiki>{{{?name|}}}<nowiki>]</nowiki>(http://www.bitplan.com/index.php/SimpleGraph-{{{?name|}}})<br>
 
<nowiki>|</nowiki><nowiki>[</nowiki>{{{?name|}}}<nowiki>]</nowiki>(http://www.bitplan.com/index.php/SimpleGraph-{{{?name|}}})<br>
 +
</div>
 
}}</includeonly>
 
}}</includeonly>

Revision as of 11:13, 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 modulename = modulename
| ?SimpleGraphModule systemname = systemname
| ?SimpleGraphModule logo = logo
| ?SimpleGraphModule apiname = apiname
| ?SimpleGraphModule apiurl = apiurl
| ?SimpleGraphModule url = url
| ?SimpleGraphModule documentation = documentation
|sort=SimpleGraphModule name
|format=template
|link=none
|userparam=row
|named args=yes
|template=SimpleGraphModuleMarkup
}}
{{SimpleGraphModuleMarkup|userparam=outro}}

Example

Wiki Markup

... further results
Module System wrapped API exposed Description

Github Markup

| Icon | Name | System wrapped | API exposed | | ------------- |---------------------------------------------------------------------- | ---------------- | ----------- | ... further results