Template:Edit button

From Brighter Shores Wiki
Revision as of 12:41, 24 March 2024 by InvalidCards (talk | contribs) (Created page with "[{{fullurl:{{#if:{{{page|}}}|{{{page}}}|{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}}}|action=edit}} {{#if:{{{text|}}}|{{{text}}}|{{#if:{{{2|}}}|{{{2}}}|edit}}}}]<noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

edit

Template documentation
This documentation is transcluded from Template:Edit button/doc. [edit] [history] [purge]

Creates a link to edit a page.

In lua modules, use Module:Edit button.

Usage

{{Edit button}}
{{Edit button|page name}}
{{Edit button|page name|alt text}}

{{Edit button|page=page name|text=alt text}}
page name

The named parameter page or the first unnamed parameter (1) can be used to set the page name. Include namespaces. By default, uses the current page.

alt text

The named parameter text or the second unnamed parameter (2) can be used to set the link text. By default, uses edit.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Creates a link to a page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page namepage 1

The page name to link to. Include namespace.

Page nameoptional
Link texttext 2

The link text to display. Default edit.

Default
edit
Unknownoptional