Difference between revisions of "Template:Section link/doc"

From EVE University Wiki
Jump to: navigation, search
m (Moved to the Category:Link templates)
(Remove some unneeded link markup)
Line 7: Line 7:
 
=== Single section ===
 
=== Single section ===
  
This template, {{tl|section link}}, is used to generate a link to a certain section of a local wiki page and render an appropriate section mark ([[§]]).
+
This template, {{tl|section link}}, is used to generate a link to a certain section of a local wiki page and render an appropriate section mark (§).
  
 
Instead of:
 
Instead of:

Revision as of 15:10, 16 November 2021

Main article: Template:Section link

Usage

Syntax (overview)

Single section

This template, {{section link}}, is used to generate a link to a certain section of a local wiki page and render an appropriate section mark (§).

Instead of:

[[Missioning 101#Class Contents]]

Missioning 101#Class Contents

...you can write:

{{section link|Missioning 101|Class Contents}}

Missioning 101 § Class Contents

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