Template:slink

From WikiCorporates
Revision as of 15:54, 9 September 2018 by GrayanOne (talk | contribs) (Created page with "[[{{{1}}}|{{#replace:{{#replace:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|_|<nowiki> </nowiki> <nowiki> </nowiki>}}|#|<nowiki> </nowiki> § <nowiki> </nowiki>}}]]{{{3|}}}<noinclude>{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[[{{{1}}}|{{{1}}}]]

[edit] Documentation


Usage

Small template to "pretty print" a section link.

Examples

Link to a section on a different page

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

{{slink|Trade Unions#General Municipal Boilermakers}}

will result in:
Trade Unions § General Municipal Boilermakers

 

Link to a section on the same page

Or if we want to link to a section on the same page. Then:

{{slink|#General Municipal Boilermakers}}

will result in:
§ General Municipal Boilermakers