Template:Multi-section link/doc

This module, multi-section link, or its shortcut, mslink, makes a link to a section, listing multiple nested section names. The first parameter is the page name, and subsequent parameters are section names. The last section name is the one that is actually linked to.

Syntax
&#123;&#123;multi-section link&#124;page&#124;section 1&#124;section 2&#124;...&#125;&#125;

Usage
It's easiest to demonstrate this template's use with a concrete example.

Say you want a nicely formatted link to Manual of Style. You could use to give you, but with this it is not very clear what the "Names and titles" section is referring to. Multi-section link solves this problem by allowing you to specify the intermediate section names, giving readers more context.


 * &rarr;

Examples

 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;

TemplateData
{	"params": { "1": {			"label": "Page", "description": "The page name", "type": "wiki-page-name", "required": true },		"2": {			"label": "Section 1", "description": "The first-level section name", "type": "line", "suggested": true },		"3": {			"label": "Section 2", "description": "The second-level section name", "type": "line" },		"4": {			"label": "Section 3", "description": "The third-level section name", "type": "line" },		"5": {			"label": "Section 4", "description": "The fourth-level section name", "type": "line" },		"6": {			"label": "Section 5", "description": "The fifth-level section name", "type": "line" }	},	"description": "Make a nicely formatted section link with multiple nested section names, for links that would otherwise lack context." }