Template:Attr: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
(→Usage) |
||
Line 1: | Line 1: | ||
<includeonly><tt>'''<span id={{{1}}}>{{{1}}}</span>'''</tt></includeonly><noinclude> | <includeonly><tt>'''<span id={{{1}}}>{{{1}}}</span>'''</tt></includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template grants for a standardized depiction of element attributes in typewriter font. | 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]]. | ||
===Parameters=== | ===Parameters=== | ||
The template hase one unnamed obligatory parameter for the depicted content. | The template hase one unnamed obligatory parameter for the depicted content. | ||
===Dependencies=== | ===Dependencies=== | ||
The template is independent of othe attributes. There is a big number of templates building on it, eg [[Template:InheritVersion]]. | The template is independent of othe attributes. There is a big number of templates building on it, eg [[Template:InheritVersion]]. | ||
==Example== | ==Example== | ||
<nowiki>{{Attr|Version}}</nowiki> | <nowiki>{{Attr|Version}}</nowiki> |
Revision as of 16:04, 26 April 2017
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.
Parameters
The template hase 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