Difference between revisions of "Template:Section link/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "=== Usage === Small template to "pretty print" a section link. Say we want to link to section "General Municipal Boilermakers" on page "Trade Unions": <pre>{{Section link|Tra...")
 
m (→‎Usage)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<small><< [[Template:Section link]]</small>
 
=== Usage ===
 
=== Usage ===
 
Small template to "pretty print" a section link.
 
Small template to "pretty print" a section link.
  
 
Say we want to link to section "General Municipal Boilermakers" on page "Trade Unions":
 
Say we want to link to section "General Municipal Boilermakers" on page "Trade Unions":
−
<pre>{{Section link|Trade Unions|General Municipal Boilermakers}}</pre>
+
<pre>{{Section link|Trade Unions#General Municipal Boilermakers}}</pre>
 
will result in:<br/>
 
will result in:<br/>
−
{{Section link|Trade Unions|General Municipal Boilermakers}}
+
{{Section link|Trade Unions#General Municipal Boilermakers}}
−
 
 
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 

Latest revision as of 19:51, 18 September 2018

<< 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