Template:VariableTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 162: | Line 162: | ||
[[Category:Variable]][[HasTalk::Talk:{{FULLPAGENAME}}|]] | [[Category:Variable]][[HasTalk::Talk:{{FULLPAGENAME}}|]] | ||
<!-- property settings | <!-- property settings | ||
-->{{#set:HasLabel={{{Label|}}} }}<!-- | -->{{#ifeq:{{{Label|}}}|||{{#set:HasLabel={{{Label|}}} }} }}<!-- | ||
-->{{#ifeq:{{{ShortDescription|}}} | -->{{#ifeq:{{{ShortDescription|}}} | ||
||{{#set:HasShortDescription={{{Description|}}} }} | ||{{#set:HasShortDescription={{{Description|}}} }} | ||
|{{#set:HasShortDescription={{{ShortDescription|}}} }} | |{{#set:HasShortDescription={{{ShortDescription|}}} }} | ||
}}<!-- | }}<!-- | ||
-->{{#set:HasDescription={{{Description|}}} }}<!-- | -->{{#ifeq:{{{Description|}}}|||{{#set:HasDescription={{{Description|}}} }} }}<!-- | ||
-->{{#arraymap:{{{Dimension|}}} | -->{{#arraymap:{{{Dimension|}}} | ||
|,|xx | |,|xx | ||
|{{#set:HasDimension={{{Dimension|}}} }} | |{{#set:HasDimension={{{Dimension|}}} }} | ||
|}}<!-- | |}}<!-- | ||
-->{{#set:HasDefaultUnit={{{Unit|}}} }}<!-- | -->{{#ifeq:{{{Unit|}}}|||{{#set:HasDefaultUnit={{{Unit|}}} }}<!-- | ||
-->{{#set:HasVariableType={{{VariableType|}}} }}<!-- | -->{{#ifeq:{{{VariableType|}}}|||{{#set:HasVariableType={{{VariableType|}}} }} }}<!-- | ||
-->{{#set: | -->{{#ifeq:{{{DriverGroup|}}}|||{{#set:DriverGroup={{{DriverGroup|}}} }} }}<!-- | ||
--> | -->{{#ifeq:{{{Source|}}}|| | ||
{{#ifeq:{{{Source2|}}}|| | |||
{{#ifeq:{{{Source3|}}}|| | |||
|{{#set:HasSource={{{Source3|}}} }} | |||
}} | }} | ||
|{{#set:HasSource={{{Source2|}}} }} | |||
}} | |||
|{{#set:HasSource={{{Source|}}} }} | |||
}}<!-- | }}<!-- | ||
--> | -->{{#ifeq:{{{BasedOn|}}}|| | ||
{{#ifeq:{{{BasedOn2|}}}|| | |||
|{{#arraymap:{{{BasedOn2|}}}|;|xx|{{#set:HasValuesBasedOn=xx}} |}} | |||
}} | |||
|{{#arraymap:{{{BasedOn|}}} |;|xx|{{#set:HasValuesBasedOn=xx}} |}} | |||
}}<!-- | |||
-->{{#ifeq:{{{Reference|}}}|| | |||
{{#ifeq:{{{Reference2|}}}|| | |||
--> | {{#ifeq:{{{Reference3|}}}|| | ||
|{{#arraymap:{{{Reference3|}}} |;|xx|{{#set:HasReference=xx}} |}} | |||
}} | |||
|{{#arraymap:{{{Reference2|}}} |;|xx|{{#set:HasReference=xx}} |}} | |||
}} | |||
|{{#arraymap:{{{Reference|}}} |;|xx|{{#set:HasReference=xx}} |}} | |||
}}<!-- | |||
-->{{#ifeq:{{{Model-Database|}}}|||{{#set:HasModelDatabase={{{Model-Database|}}} }} }} | |||
-->{{#set:HasModelDatabase={{{Model-Database|}}} }} | |||
</includeonly> | </includeonly> |
Revision as of 11:05, 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.