Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:
! Reference
! Reference
| {{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}
| {{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}
|}{{#ask:[[Category:Component]][[HasInputVar::{{PAGENAME}}]]
|}{{#ifeq:{{{VariableType|}}}|model|{{#ask:[[Category:Component]][[HasInputVar::{{PAGENAME}}]]
|format=ul
|format=ul
|intro=This variable is input of:
|intro=This variable is input of:
|outro=<br/><br/>
|outro=<br/><br/>
}}{{#ask:[[Category:Component]][[HasParameter::{{PAGENAME}}]]
}}{{#ask:[[Category:Component]][[HasOutputVar::{{PAGENAME}}]]
|format=ul
|intro=This variable is output of:
|outro=<br/><br/>
}} }}
{{#ifeq:{{{VariableType|}}}|parameter|{{#ask:[[Category:Component]][[HasParameter::{{PAGENAME}}]]
|format=ul
|format=ul
|intro=This variable is parameter of:
|intro=This variable is parameter of:
|outro=<br/><br/>
|outro=<br/><br/>
}}{{#ask:[[Category:Component]][[HasOutputVar::{{PAGENAME}}]]
}} }}
{{#ifeq:{{{VariableType|}}}|driver|{{#ask:[[Category:Component]][[HasInputVar::{{PAGENAME}}]]
|format=ul
|format=ul
|intro=This variable is output of:
|intro=This variable is output of:
|outro=<br/><br/>
|outro=<br/><br/>
}}
}}  }}


[[Category:Variable]]
[[Category:Variable]]
[[HasStatus::{{{Status|}}}| ]]
[[HasStatus::{{{Status|}}}| ]]
</includeonly>
</includeonly>

Revision as of 12:42, 1 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.