Template:Edit

edit

How to use this wikitemplate in your wiki
  1. Create a template called Template:Edit (or any name you like) in your wiki and copy-paste the following wikitext:
    {{raw:Wikitemplate:Edit
    | param1 = {{{param1|}}}
    | param2 = {{{param2|}}}
    | param3 = {{{param3|}}}
    }}
  2. Replace param1, param2, etc. with the real parameter names of this template (see documentation below). You don't need to do all, only the required ones (if any) and the ones you're interested in.
  3. Replace {{{param1|}}}, {{{param2|}}}, etc. with the parameter names that you want for your local wiki. You can change these parameter names to your liking, translate them to your language, and set default values using the pattern: {{{param1|default value}}}
  4. Save the changes and you're ready to go!
Template documentationedit

Use this template to create inline links to edit any page using the source editor.

Usage

Template data

Use this template to create inline links to edit any page using the source editor.

Template parameters

ParameterDescriptionTypeStatus
Texttext

Text of the edit link

Example
Edit this page!
Stringoptional
Pagepage

Name of the page to edit

Example
Main Page
Page nameoptional
Sectionsection

Number of section to edit

Example
0
Numberoptional
Preloadpreload

Name of the page to preload in the edit area

Example
Template:Biography preload
Page nameoptional
Edit introeditintro

Name of the page to show before the edit area (for instructions)

Example
Template:Warning
Page nameoptional
Buttonbutton

Show this link as a button (any value means yes)

Example
yes
Booleanoptional
Progressiveprogressive

Show this link as a progressive button (any value means yes)

Example
yes
Booleanoptional
No summarynosummary

Hide the summary field (any value means yes)

Example
yes
Booleanoptional