Template:Attr: Difference between revisions

From RailTopoModel® Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(new template)
 
No edit summary
 
Line 5: Line 5:
For calling an attribute within the page employ [[Template:@]].
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''.
For calling an attribute from another page employ [[Template:Tag]] with argument ''attr''.
===Parameters===
===Parameters===
The template has one unnamed obligatory parameter for the depicted content.
The template has one unnamed obligatory parameter for the depicted content.

Latest revision as of 18:35, 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 wiki2:IS:signal#name.

For calling an attribute within the page employ Template:@.

For calling an attribute from another page employ Template:Tag with argument attr.

Parameters

The template has one unnamed obligatory parameter for the depicted content.

Example

{{Attr|Version}}

delivers

Version