Template:InheritStrictDirection: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Documentation) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|dir}}: This defines the validity of {{{selfLink|FIXME}}} along the {{IS:Doc|track}}. Possible values are: | <includeonly>* {{Attr|dir}}: {{#if:{{{depr|}}}|{{depr|{{{depr}}}}} }}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|}}} }}</includeonly><noinclude> | :* {{Enum|down}} This goes opposite to {{Enum|up}} (decreasing relative {{Attr|pos}}ition values).{{AddAnn|{{{dir|}}}|{{{dir_de|}}} }}</includeonly><noinclude> | ||
Line 11: | Line 11: | ||
**dir: English comment | **dir: English comment | ||
**dir_de: German comment | **dir_de: German comment | ||
**depr: Version number of deprication; calls [[Template:Depr]]. | |||
===Dependencies=== | ===Dependencies=== | ||
The template depends on [[Template:Attr]], [[Template:IS:Doc]], [[Template:Enum]] and [[Template:AddAnn]]. No other templates build on it. | The template depends on [[Template:Attr]], [[Template:IS:Doc]], [[Template:Enum]] and [[Template:AddAnn]]. No other templates build on it. |
Latest revision as of 13:37, 21 September 2020
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
- depr: Version number of deprication; calls Template:Depr.
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.