Difference between revisions of "Template:slink/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "=== Usage === Small template to "pretty print" a section link. ==== Examples ==== Say we want to link to section "General Municipal Boilermakers" on page "Trade Unions": <pre...")
 
m
Line 1: Line 1:
 +
<small><< [[Template:slink]]</small>
 +
 
=== Usage ===
 
=== Usage ===
 
Small template to "pretty print" a section link.
 
Small template to "pretty print" a section link.

Revision as of 15:55, 9 September 2018

<< Template:slink

Usage

Small template to "pretty print" a section link.

Examples

Say we want to link to section "General Municipal Boilermakers" on page "Trade Unions":

{{Section link|Trade Unions|General Municipal Boilermakers}}

will result in:
Trade Unions § General Municipal Boilermakers

Or if we want to link to a section on the same page, then:

{{Section link|#General Municipal Boilermakers}}

will result in:
§ General Municipal Boilermakers