User:Cessaune/Templates/Lead to body link/doc

Usage
This template provides an easy way to create section links that are differentiable from generic wikilinks.

becomes  foobar.

This template accepts two unnamed parameters:


 * 1 - the name of the section to be linked to
 * 2 - the text to display

Note that this template can only link to sections that are on the same page.

Example
Instead of  which returns foobar, or   which returns  (unsuitable for a lead section),   returns   foobar.

TemplateData
{	"params": { "1": {			"label": "Page name", "description": "The name of the section to be linked to", "type": "string", "required": true },		"2": {			"label": "Label", "description": "The text to display", "type": "string", "required": true }	},	"description": "This template provides an easy way to create section links that are differentiable from generic wikilinks." }