Template:@: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(New template)
Line 3: Line 3:
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''.
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''.
==Example==
==Example==
Set an anchor with [[Template:Attribute]]:
Set an anchor with [[Template:Attr]]:
<pre>{{attr|example}}</pre>
<pre>{{attr|example}}</pre>
delivers
delivers

Revision as of 16:10, 17 June 2019

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.

Example

Set an anchor with Template:Attr:

{{attr|example}}

delivers

example

Call the attribute:

{{@|example}}

delivers

@example