Template:Edit/doc

From Animal Well Wiki
Jump to navigation Jump to search

Description

This template creates a clickable edit link for the given page name.

Usage

{{Edit|Page|Label|section=Section|preload=preload|preloadtitle=Preloadtitle}}

All parameters are optional

  • Page: the page to edit, if not the current page
  • Label: the text to label the link, defaults to "edit"
  • Section: the section to edit, 0 for top section, "new" to add a new section
  • Preload: Title of a page to preload into the edit form if the page to be edited does not exist
  • Preloadtitle: if section=new, a title to be preloaded into the title box of the edit form

Syntax

Type {{edit}}, {{edit|pagename}} or {{edit|pagename|linkname}}.

Examples

{{edit}} gives...

edit

{{edit|Player|Edit page ''Player''}} gives...

Edit page Player

{{edit|Project talk:Style guide|Start discussion about the style guide!|section=new}} gives...

Start discussion about the style guide!