Template:Edit-top-section

From Eugene Neighbors

Jump to: navigation, search

[edit]

This template shows an [edit] link (optionally in the top right corner) on the page where it is placed on (including this one). The link activates the page editor, only showing the top section of that page (&section=0). This is useful for long pages, where the only alternatives to edit the top section is to either edit the entire page, which takes a long time to load and save, or to enter the edit URL manually with "&section=0" appended.

[edit] Usage

{{Edit-top-section}}
{{Edit-top-section|absolute}}

Place the template on the first line of the page. A floating [edit] link will appear on the far right of the first line. When using the absolute keyword, the link will appear in the top right corner of the page, no matter where the template is placed.

[edit] Notes

  • When using the absolute keyword, the link may overlap other elements or templates that also use absolute positioning.
  • For the same reason, when using absotule, the link only displays correctly in the MonoBook skin.

[edit] See also


Personal tools