Template:Edit templates/doc

From imedwiki
< Template:Edit templates
Jump to navigation Jump to search

It shows a list of templates used to generate a link to edit a template or page or section.

Usage

{{ed}}

{{ed|SomeTemplate}} gives edit
{{ed|edit templates|edit this link}} gives edit this link

{{ed right}}

{{ed right|SomeTemplate}} gives
{{ed right|SomeTemplate|this link}} gives

{{Edit}}

{{edit}} gives edit
{{edit|1=Rape|2=edit here|section=1}} gives edit here
Parameters explained:
{{edit
|1=Page to edit — Leave blank to edit current page.
|2=Text to display — Default: "edit"
|section=Section to edit — specific section to edit (e.g. 0 to edit the lead section only). Default: none (i.e. edit whole page)
}}

{{edit section}}

{{edit section}} gives


{{Navbar}}

{{navbar|{{PAGENAME}}}} gives
{{navbar|{{PAGENAME}}|mini=1}} gives
{{navbar|{{PAGENAME}}|plain=1}} gives
{{navbar|{{PAGENAME}}|fontstyle=color:green}} gives


This template is based (in parts) on the Template:Edit templates/doc from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.