Template:Edit/doc
< Template:Edit
Jump to navigation
Jump to search
Revision as of 17:21, 13 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wiki.openstreetmap.org)
This is a documentation subpage for Template:Edit. It contains usage information, categories and other content or metadata that is not part of the original template. |
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]