Template:InheritStrictDirection: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Created using the contents of "Vorlage:InheritDirection") |
(Documentation) |
||
Line 1: | Line 1: | ||
* {{Attr|dir}}: This defines the validity of {{{selfLink|FIXME}}} along the {{IS:Doc|track}}. Possible values are: | <includeonly>* {{Attr|dir}}: This defines the validity of {{{selfLink|FIXME}}} along the {{IS:Doc|track}}. Possible values are: | ||
:* {{Enum|up}} This denotes the direction from the {{IS:Tag|trackBegin}} to the {{IS:Tag|trackEnd}} (increasing relative {{Attr|pos}}ition values). | :* {{Enum|up}} This denotes the direction from the {{IS:Tag|trackBegin}} to the {{IS:Tag|trackEnd}} (increasing relative {{Attr|pos}}ition values). | ||
:* {{Enum|down}} This goes opposite to {{Enum|up}} (decreasing relative {{Attr|pos}}ition values).{{AddAnn|{{{dir|}}}|{{{dir_de|}}} }} <noinclude>[[Category:AttributeTemplate]]</noinclude> | :* {{Enum|down}} This goes opposite to {{Enum|up}} (decreasing relative {{Attr|pos}}ition values).{{AddAnn|{{{dir|}}}|{{{dir_de|}}} }}</includeonly><noinclude> | ||
==Usage== | |||
This template displays the attribute ''dir'' and its possible values ''up'' and ''down''. It allows for an English and a German comment on the attribute. | |||
===Arguments=== | |||
The template has one obligatory and two optional arguments: | |||
*Obligatory: | |||
**selfLink: The element name | |||
*Optional: | |||
**dir: English comment | |||
**dir_de: German comment | |||
===Dependencies=== | |||
The template depends on [[Template:Attr]], [[Template:IS:Doc]], [[Template:Enum]] and [[Template:AddAnn]]. No other templates build on it. | |||
==Examples== | |||
<pre>{{InheritStrictDirection|selflink=(some element)}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|dir}}: This defines the validity of FIXME along the {{IS:Doc|track}}. Possible values are: | |||
:* {{Enum|up}} This denotes the direction from the {{IS:Tag|trackBegin}} to the {{IS:Tag|trackEnd}} (increasing relative {{Attr|pos}}ition values). | |||
:* {{Enum|down}} This goes opposite to {{Enum|up}} (decreasing relative {{Attr|pos}}ition values).{{AddAnn|| }} | |||
|} | |||
<pre>{{InheritStrictDirection | |||
|selflink=(some element) | |||
|dir=English comment | |||
|dir_de=Deutscher Kommentar | |||
}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|dir}}: This defines the validity of FIXME along the {{IS:Doc|track}}. Possible values are: | |||
:* {{Enum|up}} This denotes the direction from the {{IS:Tag|trackBegin}} to the {{IS:Tag|trackEnd}} (increasing relative {{Attr|pos}}ition values). | |||
:* {{Enum|down}} This goes opposite to {{Enum|up}} (decreasing relative {{Attr|pos}}ition values).{{AddAnn|English comment|Deutscher Kommentar }} | |||
|} | |||
The template is employed solely by [[TT:trackRef]]. | |||
[[Category:AttributeTemplate]]</noinclude> |
Revision as of 19:30, 24 February 2016
Usage
This template displays the attribute dir and its possible values up and down. It allows for an English and a German comment on the attribute.
Arguments
The template has one obligatory and two optional arguments:
- Obligatory:
- selfLink: The element name
- Optional:
- dir: English comment
- dir_de: German comment
Dependencies
The template depends on Template:Attr, Template:IS:Doc, Template:Enum and Template:AddAnn. No other templates build on it.
Examples
{{InheritStrictDirection|selflink=(some element)}}
delivers
|
{{InheritStrictDirection |selflink=(some element) |dir=English comment |dir_de=Deutscher Kommentar }}
delivers
|
The template is employed solely by TT:trackRef.