Template:Section link/doc

From EVE University Wiki
< Template:Section link
Revision as of 17:05, 2 September 2022 by Evon R'al (talk | contribs) (Rewrite doc.)
Jump to: navigation, search
Description
This template is used to generate a link to a certain section of a local wiki page and render an appropriate section mark (§).
Syntax
{{Section link|<article>|<section>}}
Article
Name of the article to be linked to. For usage within the same article, leave the article position empty
Section
Name of the section to be linked to.
Sample
Instead of:
[[Gas cloud harvesting#Mykoserocin]]
which gives...
Gas cloud harvesting#Mykoserocin
...you can write:
{{section link|cloud harvesting|Mykoserocin}}
which gives...
Gas cloud harvesting § Mykoserocin

Suppressing page name

Sometimes the page name needs not to appear, e.g. to avoid redundancy and wordiness. For the page on which the template is used, not specifying a page name creates a section link only. The following:

{{Section link||Suppressing page name}}
...is the equivalent of:
[[#Suppressing page name|§ Suppressing page name]]
...and renders as:
§ Suppressing page name