Template:Section link: Difference between revisions
(Created page with "{{#invoke:Section link|main}}") |
No edit summary |
||
Line 1: | Line 1: | ||
{{#invoke:Section link|main}} | {{#invoke:Section link|main}} | ||
<noinclude> | |||
== Usage == | |||
=== Single section === | |||
This template is used to generate a link to a certain section of a local wiki page and render an appropriate section mark ([[w:§|§]]). | |||
Instead of: | |||
<pre>[[Download#What next?|Download § What next?]]</pre> | |||
...you can write: | |||
{{tlx|Section link|Download|What next?}} | |||
...which is much shorter and does not require you to search for the section mark character. | |||
Both generate: | |||
: {{Section link|Download|What next?}} | |||
</noinclude> |
Revision as of 00:04, 8 January 2023
Usage
Single section
This template is used to generate a link to a certain section of a local wiki page and render an appropriate section mark (§).
Instead of:
[[Download#What next?|Download § What next?]]
...you can write:
Template:Tlx
...which is much shorter and does not require you to search for the section mark character.
Both generate: