Difference between revisions of "Template:Edit/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
m (cat refine)
imported>Smith609
(→‎Usage: Document parameters)
Line 3: Line 3:
 
==Usage==
 
==Usage==
 
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopaedic content.
 
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopaedic content.
 +
 +
Parameters:
 +
 +
:{{para|1|Page to edit. }} Leave blank to edit current page.
 +
:{{para|2|Text to display.}}  Default: "edit"
 +
:{{para|section|Section to edit.}}  e.g. <code>0</code> to edit intro only. Default: none (edit whole page)
  
 
==See also==
 
==See also==

Revision as of 15:40, 1 October 2010

Usage

This template is a self-reference and so is part of the Wikipedia project rather than the encyclopaedic content.

Parameters:

|1=Page to edit. Leave blank to edit current page.
|2=Text to display. Default: "edit"
|section=Section to edit. e.g. 0 to edit intro only. Default: none (edit whole page)

See also

[] Compare different edit templates:
  • {{Ed}} —– plain-style edit link surrounded by <small> tags, specifically for templates only
  • {{Ed right}} —– plain-style edit link surrounded by <small> tags and aligned to right of page, specifically for templates only
  • {{Edit}} —– plain-style edit link, applicable to all Wikipedia namespaces
  • {{Edit section}} —– edit link surrounded by <div> tags by default which can specify which section to edit on a page, applicable to all Wikipedia namespaces
  • {{Edit sup}} —– plain-style edit link surrounded by <sup> tags, applicable to all Wikipedia namespaces
  • {{Edit sub}} —– plain-style edit link surrounded by <sub> tags, applicable to all Wikipedia namespaces
  • {{Vedit}} —– plain-style edit link which edit with the Wikipedia:VisualEditor, applicable to all Wikipedia namespaces

Templates with view, talk and edit links:

  • {{Navbar}} —– navigation bar with configurable caption and view·talk·edit links, specifically for templates only
  • {{View}} —– navbar-style view·talk·edit links, specifically for templates only
  • {{VTE}} & {{V}} —– navbar-style V·T·E links (i.e. view·talk·edit links in short forms), specifically for templates only