Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
<tr><td class="PageWidthTableFirstCell">'''Label:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Label:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
[[HasLabel::{{{Label|}}}]]</td></tr>
{{{Label|}}}</td></tr>
}}
}}
{{#ifeq:{{{ShortDescription|}}}||
{{#ifeq:{{{ShortDescription|}}}||
Line 158: Line 158:
[[Category:Variable]][[HasTalk::Talk:{{FULLPAGENAME}}|]]
[[Category:Variable]][[HasTalk::Talk:{{FULLPAGENAME}}|]]


{{#set:HasLabel={{{Label|}}} }}
<!--
[[HasLabel::{{{Label|}}}]]
[[HasShortDescription::{{{ShortDescription|}}}]]
[[HasDescription::{{{Description|}}}]]</td></tr>
[[HasPageName::{{PAGENAME}}| ]]
[[HasPageName::{{PAGENAME}}| ]]
{#arraymap:{{{Dimension|}}}|,|x|[[HasDimension::x]]}}
[[HasDefaultUnit::{{{Unit|}}}]]
[[HasVariableType::{{{VariableType|}}}]]
[[DriverGroup::{{{DriverGroup|}}}]]
{{#arraymap:{{{Source|}}}|;|x|[[HasSource::x]]}}
{{#arraymap:{{{BasedOn|}}}|;|x|[[HasValuesBasedOn::x]]}}
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}
{{#arraymap:{{{Source2|}}}|;|x|[[HasSource::x]]}}
[[HasValuesBasedOn::{{{BasedOn2|}}}]]
{{#arraymap:{{{Reference2|}}}|;|x|[[HasReference::x]]}}
{{#arraymap:{{{Model-Database|}}}|;|y|[[HasModelDatabase::y]]
{{#arraymap:{{{Source3|}}}|;|x|[[HasSource::x]]}}
}}-->
</includeonly>
</includeonly>

Revision as of 09:54, 7 October 2016

This is the "VariableTemplate" template. It should be called in the following format:

{{VariableTemplate
|Label=
|Description=
|Dimension=
|Unit=
|VariableType=
|DriverGroup=
|ExternalModelDriver=
|Source=
|Source2=
|Model-Database=
|Source3=
}}

Edit the page to see the template text.