Template:Section link: Difference between revisions
(Created page with "{{#invoke:Section link|main}}") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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: | |||
<nowiki>{{Section link|Download|What next?}}</nowiki> | |||
...which is much shorter and does not require you to search for the section mark character. | |||
Both generate: | |||
: {{Section link|Download|What next?}} | |||
</noinclude> |
Latest 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:
{{Section link|Download|What next?}}
...which is much shorter and does not require you to search for the section mark character.
Both generate: