The template {{Edit section}}
(which uses a <div>
) and its optional parameter version {{Edit section|type=span}}
(which uses a <span>
for cases where a <div>
would be illegal markup, but is otherwise identical) allows the creation of a right-hand-side "[edit]" link where one otherwise would not exist.
The templates take a single parameter section
, the number of the section to edit, as this will appear in the edit URL. If unspecified, it defaults to 0. The principal use of this is to add an edit link to the lead section (section 0) of article with long leads. It cannot be used to add edit links to arbitrary blocks, as they will not have section numbers.
[[[:Cèṭa'an:View]]] Compare different edit templates:
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
— plain-style edit link surrounded by <small> tags, specifically for templates only
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
— plain-style edit link surrounded by <small> tags and
aligned to right of page, specifically for templates only
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
— plain-style edit link, applicable to all Wikipedia namespaces
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
— edit link surrounded by <div> tags by default which can specify which section to edit on a page, applicable to all Wikipedia namespaces
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
— plain-style edit link which edit with the
Wikipedia:VisualEditor, applicable to all Wikipedia namespaces
Templates with view, talk and edit links:
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
— navigation bar with configurable caption and view·talk·edit links, specifically for templates only
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
— navbar-style view·talk·edit links, specifically for templates only
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
&
- REEDIRECT Template:Template link
TemplateStyles' src
attribute must not be empty. | This page is a redirect. The following categories are used to track and monitor this redirect:
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
When appropriate, protection levels are automatically sensed, described and categorized. |
— navbar-style V·T·E links (i.e. view·talk·edit links in short forms), specifically for templates only