Difference between revisions of "Template:Edit-first-section"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Template:Edit-first-section taken from Wikipedia)
 
m
 
Line 1: Line 1:
<span class="plainlinks" style="float:right;margin-left:5px;"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} edit]<nowiki>]</nowiki></span>
<span class="plainlinks" style="float:right;margin-left:5px;"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} edit]<nowiki>]</nowiki></span>
This is a test
<noinclude>
<noinclude>
==Description==
==Description==

Latest revision as of 12:02, 23 November 2007

[edit]

Description

On a page structured with sections, you can have stuff before the first section. To edit this part of the page, one usually has to edit the whole page. This template creates an edit link for the part before the first section, also called section 0.

The section 0 link is:
https://wiki.scummvm.org/index.php?title=Edit-first-section&action=edit&section=0

Usage

Add {{Edit-first-section}} to your page where the edit link should appear (on the right hand side, as usual). Typically, this is on the first line of the page.