Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 58: Line 58:
{{{DriverGroup|}}}</td></tr>
{{{DriverGroup|}}}</td></tr>
}}
}}
{{#ifeq:{{{Source|}}}|||
{{#ifeq:{{{Source|}}}{{{Source2|}}}{{{Source3|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
{{{Source|}}}</td></tr>
{{{Source|}}}{{{Source2|}}}{{{Source3|}}}</td></tr>
}}
}}
{{#ifeq:{{{BasedOn|}}}|||
{{#ifeq:{{{BasedOn|}}}{{{BasedOn2|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Values based on:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Values based on:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
{{{BasedOn|}}}</td></tr>
{{{BasedOn|}}}{{{BasedOn2|}}}</td></tr>
}}
}}
{{#ifeq:{{{Reference|}}}|||
{{#ifeq:{{{Reference|}}}{{{Reference2|}}}{{{Reference3|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Reference:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Reference:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
{{{Reference|}}}</td></tr>
{{{Reference|}}}{{{Reference2|}}}{{{Reference3|}}}}</td></tr>
}}
{{#ifeq:{{{Source2|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Source2|}}}|;|x|[[HasSource::x]]}}</td></tr>
}}
{{#ifeq:{{{BasedOn2|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Values based on:'''</td>
<td class="PageWidthTableRemainderCell">
{{{BasedOn2|}}}</td></tr>
}}
{{#ifeq:{{{Reference2|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Reference:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Reference2|}}}</td></tr>
}}
{{#ifeq:{{{Source3|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Source3|}}}</td></tr>
}}
{{#ifeq:{{{Reference3|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Reference3|}}}</td></tr>
}}
}}
</table><br/>{{#ifeq:{{{VariableType|}}}
</table><br/>{{#ifeq:{{{VariableType|}}}
  |driver
  |driver
  |Drivers are described in the {{#ask:[[Category:Component]][[FrameworkElementType::driver component]]|format=Plainlist}} component.
  |Drivers are described in the {{#ask:[[Category:Component]][[FrameworkElementType::driver component]]|format=Plainlist}} component.
}}{{#ifexpr:{{PropertyTestTemplate
|}}{{#ifexpr:{{PropertyTestTemplate
   |prop=HasOutputVar
   |prop=HasOutputVar
   |page={{PAGENAME}}
   |page={{PAGENAME}}

Revision as of 17:51, 19 March 2020

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

{{VariableTemplate
|Label=
|Description=
|Dimension=
|Unit=
|VariableType=
|DriverGroup=
|Source=
|BasedOn
|Reference
|Source2=
|BasedOn2=
|Reference2=
|Source3=
|Reference3=
}}

Edit the page to see the template text.