Template:InheritProcessStatus: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Created for use in several TT element documentation sites) |
(Documentation) |
||
Line 1: | Line 1: | ||
* {{Attr|processStatus}}: It describes the {{{selfLink|FIXME}}} status in relation to a working process. Possible values are: | <includeonly>* {{Attr|processStatus}}: It describes the {{{selfLink|FIXME}}} status in relation to a working process. Possible values are: | ||
:* {{Enum|planned}} | :* {{Enum|planned}} | ||
:* {{Enum|actual}} | :* {{Enum|actual}} | ||
Line 9: | Line 9: | ||
|notes_en = | |notes_en = | ||
|notes_de = | |notes_de = | ||
}} {{AddAnn|{{{processStatus|}}}|{{{processStatus_de|}}} }}<noinclude>[[Category:AttributeTemplate]]</noinclude> | }} {{AddAnn|{{{processStatus|}}}|{{{processStatus_de|}}} }}</includeonly><noinclude> | ||
==Usage== | |||
This template displays the attribute ''processStatus'' and lists the possible values ''planned'', ''actual'', ''calculated'', ''toBeChecked'', ''imported'' and ''other:anything'' (see [[CO:usingAny#New enumeration value]]). The attribute can be commented on both in English and in German. | |||
===Arguments=== | |||
The template has an obligatory and two optional arguments: | |||
*Obligatory: | |||
**selfLink: the name of the described element | |||
*Optional: | |||
**processStatus: English comment | |||
**processStatus_de: German comment | |||
===Dependencies=== | |||
The template depends on [[Template:Attr]], [[Template:Enum]], [[Template:OtherEnum]] and [[Template:AddAnn]]. No other templates build on it. | |||
==Examples== | |||
<pre>{{InheritProcessStatus|selfLink=ElementName}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|processStatus}}: It describes the ElementName status in relation to a working process. Possible values are: | |||
:* {{Enum|planned}} | |||
:* {{Enum|actual}} | |||
:* {{Enum|calculated}} | |||
:* {{Enum|toBeChecked}} | |||
:* {{Enum|changed}} | |||
:* {{Enum|imported}} | |||
:* {{OtherEnum | |||
|notes_en = | |||
|notes_de = | |||
}} {{AddAnn|| }} | |||
|} | |||
<pre>{{InheritProcessStatus | |||
|selfLink=ElementName | |||
|processStatus=English comment | |||
|processStatus_de=Deutscher Kommentar | |||
}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|processStatus}}: It describes the ElementName status in relation to a working process. Possible values are: | |||
:* {{Enum|planned}} | |||
:* {{Enum|actual}} | |||
:* {{Enum|calculated}} | |||
:* {{Enum|toBeChecked}} | |||
:* {{Enum|changed}} | |||
:* {{Enum|imported}} | |||
:* {{OtherEnum | |||
|notes_en = | |||
|notes_de = | |||
}} {{AddAnn|English comment|Deutscher Kommentar }} | |||
|} | |||
The template is employed by [[TT:train]], [[TT:trainPart]] and [[TT:trainGroup]]. | |||
[[Category:AttributeTemplate]]</noinclude> |
Revision as of 18:28, 24 February 2016
Usage
This template displays the attribute processStatus and lists the possible values planned, actual, calculated, toBeChecked, imported and other:anything (see CO:usingAny#New enumeration value). The attribute can be commented on both in English and in German.
Arguments
The template has an obligatory and two optional arguments:
- Obligatory:
- selfLink: the name of the described element
- Optional:
- processStatus: English comment
- processStatus_de: German comment
Dependencies
The template depends on Template:Attr, Template:Enum, Template:OtherEnum and Template:AddAnn. No other templates build on it.
Examples
{{InheritProcessStatus|selfLink=ElementName}}
delivers
|
{{InheritProcessStatus |selfLink=ElementName |processStatus=English comment |processStatus_de=Deutscher Kommentar }}
delivers
|
The template is employed by TT:train, TT:trainPart and TT:trainGroup.