Difference between revisions of "Template:Section link"

From WikiCorporates
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
[[{{{1}}}#{{{2}}}|{{{1}}} § {{{2}}}]]<noinclude>{{doc2}}</noinclude>
+
[[{{{1}}}|{{#replace:{{#replace:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|_|<nowiki> </nowiki> <nowiki> </nowiki>}}|#|<nowiki> </nowiki> § <nowiki> </nowiki>}}]]{{{3|}}}<noinclude>{{doc2}}</noinclude>

Latest revision as of 17:37, 9 May 2018

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

[edit] Documentation

<< Template:Section link

Usage

Small template to "pretty print" a section link.

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