Template:Edit/doc

Provides a link to edit a page. This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.

Usage
All parameters are optional
 * Page: the page to edit, if not the current page
 * Label: the text to label the link, defaults to "edit"
 * Section: the section to edit, 0 for top section, "new" to add a new section
 * Editintro: Title of a page that will be transcluded above the edit box. Not a wikilink, templates require
 * Preload: Title of a page to preload into the edit form if the page to be edited does not exist
 * Preloadtitle: if section=new, a title to be preloaded into the title box of the edit form

{	"params": { "1": {			"label": "Page", "description": "The page to edit", "example": "Example", "type": "wiki-page-name", "default": "The current page", "required": true },		"2": {			"label": "Label", "description": "The link label", "example": "Edit this page", "type": "string", "default": "Edit" },		"section": { "label": "Section", "description": "The section to edit; 0 for the top section.", "example": "0", "type": "string", "default": "None (whole page gets edited)" },		"editintro": {}, "preload": {}, "preloadtitle": {} },	"description": "Displays a link to edit a page.", "paramOrder": [ "1",		"2",		"section", "editintro", "preload", "preloadtitle" ] }