Template:Seclink

From RationalWiki
Jump to: navigation, search
§

[edit] [purge] Documentation

Usage

{{seclink|[section title]|[preferred title]|pg=[page to go to, defaults to current page]|ns=[namespace, defaults to main]}}

The latter three are optional, so you can just use {{seclink|[section title]}} if you want it to always link to a section on the page it's on. Example: {{seclink|Correspondence|Andy's silly antics|pg=Lenski affair}} produces Lenski affair § Andy's silly antics.

Note that it will look weird when linking to pages that you're creating if you use the "show preview" button, but will appear fine when the page is published.