Minecraft Wiki
Advertisement
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Shortcut

Usage

This template is intended primarily for use in hatnotes. It should not be used in running body text.

Syntax (overview)

  • {{section link|Article|Section}}, link to section of other article. → Example: Zombie § Drops
  • {{section link||Section}}, for usage within the same article, supply an empty first parameter → Example: § Drops

Single section

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

Instead of:

[[Zombie#Drops]]

Zombie#Drops

...you can write:

{{section link|Zombie|Drops}}

Zombie § Drops

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



Advertisement