Template:Attr: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Die Seite wurde neu angelegt: <tt>{{{1}}}</tt>) |
(+interwiki) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<tt>{{{1}}}</tt> | <includeonly><tt>'''<span id={{{1}}}>{{{1}}}</span>'''</tt></includeonly><noinclude> | ||
==Usage== | |||
This template grants for a standardized depiction of element attributes in typewriter font. Moreover, an anchor is set, so the attribute can be referenced directly in links, e.g. you can call [[IS:signal#name]]. | |||
For calling an attribute within the page employ [[Template:@]]. | |||
For calling an attribute from another page employ [[Template:IS:Tag]] (and analogously) with argument ''attr''. | |||
===Parameters=== | |||
The template has one unnamed obligatory parameter for the depicted content. | |||
===Dependencies=== | |||
The template is independent of othe attributes. There is a big number of templates building on it, eg [[Template:InheritVersion]]. | |||
==Example== | |||
<nowiki>{{Attr|Version}}</nowiki> | |||
delivers | |||
<tt>'''Version'''</tt> | |||
{{interwiki|2=all}} | |||
[[Category:MarkupTemplate]]</noinclude> |
Latest revision as of 18:33, 23 September 2024
Usage
This template grants for a standardized depiction of element attributes in typewriter font. Moreover, an anchor is set, so the attribute can be referenced directly in links, e.g. you can call IS:signal#name.
For calling an attribute within the page employ Template:@.
For calling an attribute from another page employ Template:IS:Tag (and analogously) with argument attr.
Parameters
The template has one unnamed obligatory parameter for the depicted content.
Dependencies
The template is independent of othe attributes. There is a big number of templates building on it, eg Template:InheritVersion.
Example
{{Attr|Version}}
delivers
Version