Template:InheritOcpNameType: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
m (Wiki syntax debugged) |
No edit summary |
||
Line 1: | Line 1: | ||
<ul> | <includeonly><ul> | ||
<li>{{Attr|type}}: This is the meaning of the name. Possible values are: | <li>{{Attr|type}}: This is the meaning of the name. Possible values are: | ||
* {{Enum|operationalName}} the {{IS:Doc|ocp}}s name under operational aspects | * {{Enum|operationalName}} the {{IS:Doc|ocp}}s name under operational aspects | ||
Line 8: | Line 8: | ||
|notes_de = | |notes_de = | ||
}} | }} | ||
{{AddAnn|{{{type|}}}|{{{type_de|}}} }}</li></ul><noinclude>[[Category:AttributeTemplate]]</noinclude> | {{AddAnn|{{{type|}}}|{{{type_de|}}} }}</li></ul></includeonly><noinclude> | ||
==Usage== | |||
This template displays an attribute ''type'' and its possible values ''operationalName'', ''trafficName'', ''localName'' and, as a wildcard, ''other:anything''. It allows for optional comments in English and German. | |||
===Arguments=== | |||
The template has two optional arguments: | |||
*type: an English comment on ''type''. | |||
*type_de: a German comment on ''type''. | |||
===Dependencies=== | |||
The template depends on [[Template:Attr]], [[Template:Enum]], [[Template:IS:Doc]], [[Template:OtherEnum]] and [[Template:AddAnn]]. There are no other templates building on it. | |||
==Examples== | |||
<nowiki>{{InheritOcpNameType}}</nowiki> | |||
delivers (in a box) | |||
{|border="1" | |||
|<ul> | |||
<li>{{Attr|type}}: This is the meaning of the name. Possible values are: | |||
* {{Enum|operationalName}} the {{IS:Doc|ocp}}s name under operational aspects | |||
* {{Enum|trafficName}} the {{IS:Doc|ocp}}s name under traffic aspects | |||
* {{Enum|localName}} an name in the local language | |||
* {{OtherEnum | |||
|notes_en = | |||
|notes_de = | |||
}} | |||
{{AddAnn|| }}</li></ul> | |||
|} | |||
<nowiki>{{InheritOcpNameType | |||
|type=An English comment. | |||
|type_de=Ein deutscher Kommentar. | |||
}}</nowiki> | |||
delivers (in a box) | |||
{|border="1" | |||
|{{InheritOcpNameType | |||
|type=An English comment. | |||
|type_de=Ein deutscher Kommentar. | |||
}} | |||
|} | |||
The template is employed e.g. by [[IS:ocp]]. | |||
[[Category:AttributeTemplate]]</noinclude> |
Revision as of 19:03, 15 February 2016
Usage
This template displays an attribute type and its possible values operationalName, trafficName, localName and, as a wildcard, other:anything. It allows for optional comments in English and German.
Arguments
The template has two optional arguments:
- type: an English comment on type.
- type_de: a German comment on type.
Dependencies
The template depends on Template:Attr, Template:Enum, Template:IS:Doc, Template:OtherEnum and Template:AddAnn. There are no other templates building on it.
Examples
{{InheritOcpNameType}}
delivers (in a box)
|
{{InheritOcpNameType |type=An English comment. |type_de=Ein deutscher Kommentar. }}
delivers (in a box)
|
The template is employed e.g. by IS:ocp.