Template:Editsection/doc

From Citizendium
< Template:Editsection
Revision as of 04:58, 16 June 2009 by imported>Drew R. Smith (New page: The template {{tl|Editsection}} (which uses a <code><nowiki><div></nowiki></code>) allows the creation of a right-hand-side "[edit]" link where one otherwise would not exist. The template...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The template {{Editsection}} (which uses a <div>) allows the creation of a right-hand-side "[edit]" link where one otherwise would not exist.

The templates take a single parameter, the number of the section to edit, as this will appear in the edit URL. If unspecified, it defaults to 0. The principal use of this is to add an edit link to the lead section (section 0) of article with long leads. It cannot be used to add edit links to arbitrary blocks, as they will not have section numbers.

Examples

{{Editsection}} Produces

and

{{Editsection|1}} Produces