Template:Edit
Jump to navigation
Jump to search
This documentation is transcluded from Template:Edit/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Insert a small edit link within templates when they are transcluded and when their content is not easy to locate in complex pages that use many templates (sometimes nested).
Usage
- The first parameter is mandatory and must be the target (unredirected) full page name.
- The optional
mini
parameter is set by default (set it explicitly to an empty string to generate an unabbreviated link showing an edit link like those shown beside article section headings). - The optional
lang
parameter can be set to specify the language code to use if this is not the User language (used only by the word shown in unabbreviated version) or the language determined by the current page (shown in the tooltip hint).
Example
{{Edit|Template:Edit}}
gives:{{Edit|Template:Edit|mini=1}}
gives:{{Edit|Template:Edit|mini=}}
gives: [edit]