Difference between revisions of "Template:Section link"

From WikiCorporates
Jump to navigation Jump to search
m (1 revision imported)
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{#invoke:Section link|main}}<noinclude>
+
[[{{{1}}}|{{#replace:{{#replace:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|_|<nowiki> </nowiki> <nowiki> </nowiki>}}|#|<nowiki> </nowiki> § <nowiki> </nowiki>}}]]{{{3|}}}<noinclude>{{doc2}}</noinclude>
−
{{documentation}}
 
−
<!--  Categories go on the /doc subpage and interwikis go on Wikidata. -->
 
−
</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