Sjabloon:Edit section

Uit informatiestandaarden
Versie door Ahenket (overleg | bijdragen) op 17 jul 2013 om 16:11 (Nieuwe pagina aangemaakt met '<{{{type|div}}} class="mw-editsection plainlinks">[<span style="color:#002bb8;">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=edit{{#ifeq:{{{1|{{{section}}}}}}|-1||...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen


[bewerken] [purge] Template documentation

Usage

The template {{Edit section}} (which uses a <div>) and its optional paramter version {{Edit section|type=span}} (which uses a <span> for cases where a <div> would be illegal markup, but is otherwise identical) 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.

See also

  • {{Ed}} – navbar style edit link
  • {{Ed right}} – navbar style edit link aligned to right of page
  • {{Edit}} – plain edit link
  • {{Edit section}} – edit link aligned to right of page
  • {{Navbar}} – with additional links

ja:Template:Edit-first-section