Template:InheritAssembly
Usage
This template is intended to standardize the depiction of the specific attributes of an Element in the context of Template:ElementDocu. It is to be used in the parameter ownAttributes of Template:ElementDocu. It depicts the list items count and assemblyName with standardized texts refering to the number of instaslled items of the described element.
Attributes
This template has five named attributes, one of them being obligatory and four optional:
- Obligatory:
- selfLink: the element dealt with
- Optional:
- cont: an Enlish comment on the meaning of the attribute count.
- count_de: a German comment on the meaning of the attribute count.
- assemblyName: an English comment on the meaning of the attribute asseblyName.
- assemblyName_de: a German comment on the meaning of the attribute asseblyName.
Dependencies
The template depends on Template:Attr and Template:AddAnn. It supports the use of Template:ElementDocu in the attribute ownAttributes, but no templates depend on it.
Example
{{InheritAssembly|selfLink=gear}}
delivers
- count: This is the number of gears of the same type installed on the vehicle. The use of different types on the same vehicle is not supported.
- assemblyName: This is the descriptive name of the gear, e.g. manufacturer type.
{{InheritAssembly |selfLink = {{RS:Doc|diesel}} |count = The number is considered for calculation of totals of power consumption and efficiency. |count_de=Der Wert fließt in die Kalkulation von Kraftstoffbedarf und Effizienz ein. |assemblyName = This is the type description of the used diesel engine. |assemblyName_de=Dies ist die Typenbeschreibung de verwendeten Dieselaggregates. }}
delivers
- count: This is the number of diesels of the same type installed on the vehicle. The use of different types on the same vehicle is not supported.
The number is considered for calculation of totals of power consumption and efficiency.
Der Wert fließt in die Kalkulation von Kraftstoffbedarf und Effizienz ein.
- assemblyName: This is the descriptive name of the diesel, e.g. manufacturer type.
This is the type description of the used diesel engine.
Dies ist die Typenbeschreibung de verwendeten Dieselaggregates.