TemplateStyles' src
attribute must not be empty.
It provides a clickable link to edit a page, or a section of the page.
{{Edit
|1=
|2=
|section=
|editintro=
|preload=
|preloadtitle=
|tooltip=
}}
- 1: the page to edit. If omitted, it will be the current page.
- 2: the label text of the edit link. If omitted, it is "edit" by default.
- section: the section to edit, in which
0
for the top (i.e. lead section), 1
for the first (sub-)section, and new
for adding a new section.
- editintro: the content of a page/template that will be transcluded above the edit box when you edit the page. Usually used to load template messages.
- preload: the content of a page/template that will be preloaded into the text area of the edit form. It works only if the page to be edited does not exist.
- preloadtitle: if making a new section (i.e.
|section=new
), the title to be preloaded into the title box of the edit form.
- tooltip: the text to display when you hover over the link.
Notes:
- All parameters are optional.
- The parameter names must be in lowercase or they will fail.
Code
|
Output
|
Notes
|
{{edit}} |
edit |
Edit current page
|
{{edit| |edit template doc}} |
edit template doc |
|
{{edit|1=Infobox foo|2=E}} |
E |
|
{{edit|2=edit template doc}} |
edit template doc |
|
{{edit|friendship}} |
edit |
Edit the article friendship
|
{{edit|friendship|section=3}} |
edit |
Edit the third order of a (sub-)section of the article friendship, which is 1.2 Adolescence as of 10 Jan 2020
|
{{edit|Draft:Sandbox|editintro=Template:Disambig editintro}} |
edit |
Load
- 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. | when you edit
|
{{edit|Template:Some new template|preload=Template:Documentation/preload}} |
edit |
Preload the whoole content of
- 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. | when you create a new template
|
{{edit|Wikipedia talk:Sandbox|section=new||preloadtitle=Custom title of the new section}} |
[1] |
Create a new section of a custom title
|
{{edit|2=link with tooltip|tooltip=This is a tooltip}} |
edit |
Hover over the link to see the tooltip
|
Parameter templat
Parameter | Keterangan | Jenis | Status |
---|
Page | 1 | The page to edit - Baku
- The current page
- Contoh
- Example
| Nama halaman | disarankan |
---|
Label | 2 | The link label - Baku
- Edit
- Contoh
- Edit this page
| Kata | opsional |
---|
Section | section | The section to edit; 0 for the top section; new for a new section - Baku
- None (whole page gets edited)
- Contoh
- 0
| Kata | opsional |
---|
Edit intro | editintro | Content that will be rendered above the edit box - Contoh
- Template:Disambig editintro
| Nama halaman | opsional |
---|
Preload | preload | Content to preload in the edit form when creating a new page or section - Contoh
- Template:Documentation/preload
| Nama halaman | opsional |
---|
Preload title | preloadtitle | If making a new section, preload text into the title box
| Kata | opsional |
---|
Tooltip | tooltip | Text to display on mouseover - Baku
- Page or section name
| Kata | opsional |
---|
[[[: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
- 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. |