Difference between revisions of "Template:SimpleGraphModuleMarkup"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
__TOC__ | __TOC__ | ||
| − | This template is used in | + | This template is used in six modes: |
# intro | # intro | ||
# outro | # outro | ||
| − | # | + | # row |
| + | # mintro | ||
| + | # moutro | ||
| + | # mrow | ||
the mode is given as the userparam parameter for this template | the mode is given as the userparam parameter for this template | ||
| Line 10: | Line 13: | ||
<pre> | <pre> | ||
{{SimpleGraphModuleMarkup|userparam=intro}} | {{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}} | {{SimpleGraphModuleMarkup|userparam=outro}} | ||
</pre> | </pre> | ||
| + | == Example == | ||
| + | {{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 | ||
| + | |limit=3 | ||
| + | }} | ||
| + | {{SimpleGraphModuleMarkup|userparam=outro}} | ||
| + | |||
</noinclude><includeonly>{{#switch:{{{userparam|}}}|intro={{{!}} class="wikitable sortable" | </noinclude><includeonly>{{#switch:{{{userparam|}}}|intro={{{!}} class="wikitable sortable" | ||
{{!}}- | {{!}}- | ||
| − | |||
! Name | ! Name | ||
| − | + | ! System wrapped | |
| − | |||
{{!}}- | {{!}}- | ||
|outro={{!}}} | |outro={{!}}} | ||
|row={{!}}- | |row={{!}}- | ||
| − | {{!}}style="text-align: center; width: | + | {{!}}style="text-align: center; width: 120px" {{!}} [[{{{?logo|}}}|100px]] |
| − | {{!}}style="text-align: left" {{!}} | + | {{!}}style="text-align: left" {{!}} [{{{?url|}}} {{{?name|}}}] |
| − | |||
{{!}}- | {{!}}- | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 07:52, 21 February 2018
This template is used in six modes:
- intro
- outro
- row
- mintro
- moutro
- 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| Name | System wrapped |
|---|