Template:VariableTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{StatusWarning|Status={{{Status|}}} }} | {{StatusWarning|Status={{{Status|}}} }} | ||
{ | {{PageWidthTableTemplate}} | ||
<tr>{{PageWidthTableFirstCellTemplate}}Label</td> | |||
{{PageWidthTableRemainderCellTemplate}}[[HasLabel::{{{Label|}}}]]</td></tr> | |||
<tr>{{PageWidthTableFirstCellTemplate}}Description</td> | |||
{{PageWidthTableRemainderCellTemplate}}[[HasDescription::{{{Description|}}}]]</td></tr> | |||
<tr>{{PageWidthTableFirstCellTemplate}}Dimensions</td> | |||
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Dimension|}}}|,|x|[[HasDimension::x]]}}</td></tr> | |||
<tr>{{PageWidthTableFirstCellTemplate}}Default unit</td> | |||
{{PageWidthTableRemainderCellTemplate}}[[HasDefaultUnit::{{{Unit|}}}]]</td></tr> | |||
<tr>{{PageWidthTableFirstCellTemplate}}Variable type</td> | |||
{{PageWidthTableRemainderCellTemplate}}[[HasVariableType::{{{VariableType|}}}]]</td></tr> | |||
<tr>{{PageWidthTableFirstCellTemplate}}Driver group</td> | |||
{{PageWidthTableRemainderCellTemplate}}[[DriverGroup::{{{DriverGroup|}}}]]</td></tr> | |||
<tr>{{PageWidthTableFirstCellTemplate}}Source</td> | |||
{{PageWidthTableRemainderCellTemplate}}[[HasSource::{{{Source|}}}]]</td></tr> | |||
<tr>{{PageWidthTableFirstCellTemplate}}Reference</td> | |||
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr> | |||
</table>{{#ifeq:{{{VariableType|}}}|model|{{#ask:[[Category:Component]][[HasInputVar::{{PAGENAME}}]] | |||
|format=ul | |format=ul | ||
|intro=This variable is input of: | |intro=This variable is input of: |
Revision as of 08:57, 8 August 2013
This is the "VariableTemplate" template. It should be called in the following format:
{{VariableTemplate |Label= |Description= |Dimension= |Unit= |VariableType= |DriverGroup= |hasSource= }}
Edit the page to see the template text.