Template:Attr: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
Line 3: Line 3:
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]].
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 has 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]].

Revision as of 12:17, 15 March 2019

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 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