Template:@

From railML 2 Wiki
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 2.

Arguments

  • 1: the attribute (required)
  • 2: the target element (optional)

Example

Set an anchor with Template:Attr:

{{attr|example}}

delivers

example

Call the attribute:

{{@|example}}

delivers

@example

{{@|offset|IS:levelCrossing levelCrossings}}

delivers

@offset