This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:Edit-first-section: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>MiamiVolts
mNo edit summary
imported>MiamiVolts
Line 9: Line 9:


===Syntax===
===Syntax===
Add <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></tt> to the page where the edit link should appear (on the right hand side, as usual). Typically, this is on the first line of the page.

or:

Add <tt><nowiki>{{</nowiki>{{PAGENAME|name-of-page where edit link should link}}</tt>



Add <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></tt> 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.
[[Category:Page Elements]]
[[Category:Page Elements]]
</noinclude>
</noinclude>

Revision as of 23:37, 26 December 2008

[edit]

Usage

This template is ported from Wikipedia's Meta-Wiki. On a page structured with sections, there can be text and other page elements 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://heroeswiki.ddns.net/index.php?title=Edit-first-section&action=edit&section=0

Syntax

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

or:

Add {{Template:PAGENAME