Template:Hardlink: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[{{Hardlink/version|{{{wiki|}}}}}/{{{between|wiki/}}}{{{1}}} {{{2|{{{1}}}}}}][[category:Hardlink]]</includeonly><noinclude> | <includeonly>[{{Hardlink/version|{{{wiki|}}}}}/{{{between|wiki/}}}{{{1}}} {{{2|{{{1}}}}}}][[category:Hardlink]]</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Template to produce and categorize internal links that have to be realized as external hardlinks to transmit link options. | Template to produce and categorize internal links that have to be realized as external hardlinks to transmit link options. The occurances will be collected in [[:category:Hardlink]]. Requires [[Template:Hardlink/version]] | ||
{{note|As link options usually contain equality signs, remember to make the first argument explicit (eg:1=Special:AllPages?namespace=8)}} | {{note|1=As link options usually contain equality signs, remember to make the first argument explicit (eg:1=Special:AllPages?namespace=8)}} | ||
{{note|Hardlinks should stay an exception. Preferably, use internal links as documented under {{wiki|Help:Links#Internal_links|project=mw}}}} | {{note|Hardlinks should stay an exception. Preferably, use internal links as documented under {{wiki|Help:Links#Internal_links|project=mw}}}} | ||
== Arguments == | == Arguments == | ||
Line 19: | Line 19: | ||
[[Category:Template]] | [[Category:Template]] | ||
{{interwiki|2=all}} | |||
</noinclude> | </noinclude> |
Latest revision as of 16:29, 31 March 2025
Usage
Template to produce and categorize internal links that have to be realized as external hardlinks to transmit link options. The occurances will be collected in category:Hardlink. Requires Template:Hardlink/version
|
|
Arguments
- 1 (required): the target. This might be an article name plus options.
- 2: A link text
- wiki: Direct the link to other railML® related wikis
- between: By default wiki/ to get you to the article room. might as well be eg. api/.