Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 157: Line 157:
[[Category:Variable]][[HasTalk::Talk:{{FULLPAGENAME}}|]]
[[Category:Variable]][[HasTalk::Talk:{{FULLPAGENAME}}|]]
<!-- property settings
<!-- property settings
-->{{#ifeq:{{{Label|}}}|||{{#set:HasLabel={{{Label|}}} }} }}<!--
-->{{#ifeq:{{{Label|}}}|||{{#set:HasLabel={{{Label|}}}}} }}<!--
-->{{#ifeq:{{{ShortDescription|}}}
-->{{#ifeq:{{{ShortDescription|}}}
     ||{{#set:HasShortDescription={{{Description|}}} }}
     ||{{#set:HasShortDescription={{{Description|}}}}}
|{{#set:HasShortDescription={{{ShortDescription|}}} }}
|{{#set:HasShortDescription={{{ShortDescription|}}}}}
     }}<!--
     }}<!--
-->{{#ifeq:{{{Description|}}}|||{{#set:HasDescription={{{Description|}}} }} }}<!--
-->{{#ifeq:{{{Description|}}}|||{{#set:HasDescription={{{Description|}}}}} }}<!--
-->{{#arraymap:{{{Dimension|}}}
-->{{#arraymap:{{{Dimension|}}}
     |,|xx
     |,|xx
|{{#set:HasDimension=xx}}
|{{#set:HasDimension=xx}}
   |}}<!--
   |}}<!--
-->{{#ifeq:{{{Unit|}}}|||{{#set:HasDefaultUnit={{{Unit|}}} }} }}<!--
-->{{#ifeq:{{{Unit|}}}|||{{#set:HasDefaultUnit={{{Unit|}}}}} }}<!--
-->{{#ifeq:{{{VariableType|}}}|||{{#set:HasVariableType={{{VariableType|}}} }} }}<!--
-->{{#ifeq:{{{VariableType|}}}|||{{#set:HasVariableType={{{VariableType|}}}}} }}<!--
-->{{#ifeq:{{{DriverGroup|}}}|||{{#set:DriverGroup={{{DriverGroup|}}} }} }}<!--
-->{{#ifeq:{{{DriverGroup|}}}|||{{#set:DriverGroup={{{DriverGroup|}}}}} }}<!--
-->{{#ifeq:{{{Source|}}}||
-->{{#ifeq:{{{Source|}}}||
       {{#ifeq:{{{Source2|}}}||
       {{#ifeq:{{{Source2|}}}||
{{#ifeq:{{{Source3|}}}||
{{#ifeq:{{{Source3|}}}||
  |{{#set:HasSource={{{Source3|}}} }}
  |{{#set:HasSource={{{Source3|}}}}}
}}
}}
|{{#set:HasSource={{{Source2|}}} }}
|{{#set:HasSource={{{Source2|}}}}}
  }}
  }}
  |{{#set:HasSource={{{Source|}}} }}
  |{{#set:HasSource={{{Source|}}}}}
}}<!--
}}<!--
-->{{#ifeq:{{{BasedOn|}}}||
-->{{#ifeq:{{{BasedOn|}}}||

Revision as of 11:26, 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.