Template:@: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[{{{2|}}}#{{{1}}}|<tt>'''@{{{1}}}'''</tt>]]</includeonly><noinclude> | <includeonly>[[{{#if:{{{3|}}}|:{{{3}}}:}}{{{2|}}}#{{{1}}}|<tt>'''@{{{1}}}'''</tt>]]</includeonly><noinclude> | ||
==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''. | ||
Line 18: | Line 18: | ||
{{@|maxSpeed|IS:linePerformance}} | {{@|maxSpeed|IS:linePerformance}} | ||
<pre>{{@|id|IS:infrastructure|wiki2}}</pre>delivers: | |||
{{@|id|IS:infrastructure|wiki2}} | |||
[[category:LinkTemplate]] | [[category:LinkTemplate]] | ||
</noinclude> | </noinclude> |
Revision as of 13:35, 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.
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:
[[
- wiki2:IS:infrastructure#id|@id]]