Template:VariableTemplate: Difference between revisions
Jump to navigation
Jump to search
PascaldeVink (talk | contribs) m (Text replace - "{{PageWidthTableTemplate}}" to "<table class="PageWidthTableTemplate">") |
PascaldeVink (talk | contribs) m (Text replace - "{{PageWidthTableFirstCellTemplate}}" to "<td class="PageWidthTableFirstCell">") |
||
Line 20: | Line 20: | ||
{{StatusWarning|Status={{{Status|}}} }}<table class="PageWidthTableTemplate"> | {{StatusWarning|Status={{{Status|}}} }}<table class="PageWidthTableTemplate"> | ||
{{#ifeq:{{{Label|}}}||| | {{#ifeq:{{{Label|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Label:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
[[HasLabel::{{{Label|}}}]]</td></tr> | [[HasLabel::{{{Label|}}}]]</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{Description|}}}||| | {{#ifeq:{{{Description|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Description:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
[[HasDescription::{{{Description|}}}]]</td></tr> | [[HasDescription::{{{Description|}}}]]</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{Dimension|}}}||| | {{#ifeq:{{{Dimension|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Dimensions:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
{{#arraymap:{{{Dimension|}}}|,|x|[[HasDimension::x]]}}</td></tr> | {{#arraymap:{{{Dimension|}}}|,|x|[[HasDimension::x]]}}</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{Unit|}}}||| | {{#ifeq:{{{Unit|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Default unit:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
[[HasDefaultUnit::{{{Unit|}}}]]</td></tr> | [[HasDefaultUnit::{{{Unit|}}}]]</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{VariableType|}}}||| | {{#ifeq:{{{VariableType|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Variable type:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
[[HasVariableType::{{{VariableType|}}}]]</td></tr> | [[HasVariableType::{{{VariableType|}}}]]</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{DriverGroup|}}}||| | {{#ifeq:{{{DriverGroup|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Driver group:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
[[DriverGroup::{{{DriverGroup|}}}]]</td></tr> | [[DriverGroup::{{{DriverGroup|}}}]]</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{Source|}}}||| | {{#ifeq:{{{Source|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Source:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
[[HasSource::{{{Source|}}}]]</td></tr> | [[HasSource::{{{Source|}}}]]</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{Source2|}}}||| | {{#ifeq:{{{Source2|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Source:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
[[HasSource::{{{Source2|}}}]]</td></tr> | [[HasSource::{{{Source2|}}}]]</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{Reference|}}}||| | {{#ifeq:{{{Reference|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Reference:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr> | {{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr> | ||
}} | }} | ||
{{#ifeq:{{{VariableType|}}}|model| | {{#ifeq:{{{VariableType|}}}|model| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''Impact indicator:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
[[IsImpactIndicator::{{{IsImpactIndicator|false}}}]]</td></tr>| | [[IsImpactIndicator::{{{IsImpactIndicator|false}}}]]</td></tr>| | ||
}} | }} | ||
{{#ifeq:{{{ExternalModel|}}}||| | {{#ifeq:{{{ExternalModel|}}}||| | ||
<tr> | <tr><td class="PageWidthTableFirstCell">'''External model:'''</td> | ||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
{{#arraymap:{{{ExternalModel|}}}|;|y|[[HasExternalModel::y]]|; }}</td></tr> | {{#arraymap:{{{ExternalModel|}}}|;|y|[[HasExternalModel::y]]|; }}</td></tr> |
Revision as of 15:37, 13 December 2013
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.