Template:@: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
==Usage== | ==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''. | 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== | ==Example== | ||
Set an anchor with [[Template:Attr]]: | Set an anchor with [[Template:Attr]]: | ||
Line 23: | Line 27: | ||
[[category:LinkTemplate]] | [[category:LinkTemplate]] | ||
{{interwiki}} | |||
</noinclude> | </noinclude> |
Latest revision as of 13:44, 13 March 2024
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
{{@|maxSpeed|IS:linePerformance}}
delivers:
{{@|id|IS:infrastructure|wiki2}}
delivers: