Template:Edit/doc
![]() | This is a documentation subpage for Template:Edit. It contains usage information, categories and other content that is not part of the original template page. |
This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
Usage
{{Edit|Page title|Link label}}
where:
- Page title is the title of the page to edit
- Link label is the text the link shows (instead of "Edit")
See also
- {{Ed}} – navbar style edit link
- {{Ed right}} – navbar style edit link aligned to right of page
- {{Edit}} – plain edit link
- {{Edit section}} – edit link aligned to right of page
- {{Navbar}} – with additional links
- {{Vedit}} – edit with the Visual Editor
See the monthly error report for this template.
TemplateData for Edit
<templatedata> { "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" ] } </templatedata>