Template:@

From railML 2 Wiki
Revision as of 17:37, 23 September 2024 by RailML Coord Documentation (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Calls an attribute anchor within the pages. Attribute anchors are set automatically with template:attr. To call an attribute from another page, use Template:CO:Tag and analogous with argument attr.

Attributes

  • 1: The attribute name (required)
  • 2: The element name (optional); on default, the argument is linked on the current page
  • 3: The wiki. wiki2 or wiki3. optional.

Example

Set an anchor with Template:Attr:

{{attr|example}}

delivers

example

Call the attribute:

{{@|example}}

delivers

@example

{{@|maxSpeed|IS:linePerformance|wiki3}}

delivers:

@maxSpeed

{{@|id|IS:infrastructure|wiki2}}

delivers:

@id