Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
This is the "VariableTemplate" template.
It should be called in the following format:
<pre>
{{VariableTemplate
|Label=
|Description=
|Dimension=
|Unit=
|VariableType=
|DriverGroup=
|Source=
|BasedOn
|Reference
|Source2=
|BasedOn2=
|Reference2=
|Source3=
|Reference3=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>
<table class="PageWidthTableTemplate">
{{#ifeq:{{{Label|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Label:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Label|}}}</td></tr>
}}
{{#ifeq:{{{ShortDescription|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Short description:'''</td>
<td class="PageWidthTableRemainderCell">
{{{ShortDescription|}}}</td></tr>
}}
{{#ifeq:{{{Description|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Description:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Description|}}}</td></tr>
}}
{{#ifeq:{{{Dimension|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Dimensions:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Dimension|}}}</td></tr>
}}
{{#ifeq:{{{Unit|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Default unit:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Unit|}}}</td></tr>
}}
{{#ifeq:{{{VariableType|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Variable type:'''</td>
<td class="PageWidthTableRemainderCell">
{{{VariableType|}}}</td></tr>
}}
{{#ifeq:{{{DriverGroup|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Driver group:'''</td>
<td class="PageWidthTableRemainderCell">
{{{DriverGroup|}}}</td></tr>
}}
{{#ifeq:{{{Source|}}}{{{Source2|}}}{{{Source3|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Source:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Source|}}}{{{Source2|}}}{{{Source3|}}}</td></tr>
}}
{{#ifeq:{{{BasedOn|}}}{{{BasedOn2|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Values based on:'''</td>
<td class="PageWidthTableRemainderCell">
{{{BasedOn|}}}{{{BasedOn2|}}}</td></tr>
}}
{{#ifeq:{{{Reference|}}}{{{Reference2|}}}{{{Reference3|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Reference:'''</td>
<td class="PageWidthTableRemainderCell">
{{{Reference|}}}{{{Reference2|}}}{{{Reference3|}}}</td></tr>
}}
</table><br/>


{{#ask:[[Category:Component]][[FrameworkElementType::driver component]]|format=Plainlist}}
{{#ask:[[Category:Component]][[FrameworkElementType::driver component]]|format=Plainlist}}

Revision as of 20:15, 21 September 2023

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.