Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 52: Line 52:
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
[[HasSource::{{{Source|}}}]]</td></tr>
{{#arraymap:{{{Source|}}}|;|x|[[HasSource::x]]}}</td></tr>
}}
{{#ifeq:{{{BasedOn|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Values based on:'''</td>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{BasedOn|}}}|;|x|[[HasValuesBasedOn::x]]}}</td></tr>
}}
}}
{{#ifeq:{{{Source2|}}}|||
{{#ifeq:{{{Source2|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
[[HasSource::{{{Source2|}}}]]</td></tr>
{{#arraymap:{{{Source2|}}}|;|x|[[HasSource::x]]}}</td></tr>
}}
{{#ifeq:{{{BasedOn2|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Values based on:'''</td>
<td class="PageWidthTableRemainderCell">
[[HasValuesBasedOn::{{{BasedOn2|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{Reference|}}}|||
{{#ifeq:{{{Reference|}}}|||

Revision as of 11:34, 13 January 2014

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

{{VariableTemplate
|Label=
|Description=
|Dimension=
|Unit=
|VariableType=
|DriverGroup=
|ExternalModelDriver=
|Source=
|Source2=
|ExternalModel=
}}

Edit the page to see the template text.