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.

User:MiamiVolts/test: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>MiamiVolts
begin testing
imported>MiamiVolts
m User:MiamiVolts/test2 moved to User:MiamiVolts/test over redirect: move back
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{#if:{{{nolinks|}}}|<!-- suppress all edit links if nolinks is set true -->
__NOEDITSECTION__
}}
<span class="plainlinks" style="float:right;margin-left:5px;"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{{1|{{FULLPAGENAME}}}}}|action=edit&section={{{number|0}}}}} edit]<nowiki>]</nowiki></span><noinclude>
This text appears before the first section.
==Usage==
This template is adapted from [http://meta.wikimedia.org/wiki/Template:Edit-first-section Template:Edit-first-section] on [http://meta.wikimedia.org/wiki/Template:Edit-first-section Wikipedia's Meta-Wiki].

This template defaults to editing the zeroth section. 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 defaults to creating an edit link for the part ''before the first section'', also called section 0.

The section 0 link is:<br/>
<span class="plainlinks">[{{SERVER}}{{localurl:{{PAGENAME}}|action=edit&section=0}} {{SERVER}}{{localurl:{{PAGENAME}}|action=edit&section=0}}]</span>

It is also possible to edit other sections by specifying the <tt>number</tt>. Also, if <tt>nolinks</tt> is specified and true, normal section links will also be suppressed.

===Syntax===
Add <tt><nowiki>{{Edit-section-number}}</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:
<pre>
{{Edit-section-number
|<!-- full name of page where edit link should link; defaults to the viewed page -->
|number=<!-- number of link to appear; defaults to 0 -->
|nolinks=<!-- remove all normal edit links from the applied page -->
}}
</pre>
==Notes==
==Notes==
* I'm using this subpage to test templates before applying them in mainspace.
* I'm using this subpage to test templates before applying them in mainspace.

[[Category:User templates]]
{{nousercat|Link Templates}}
</noinclude>
</noinclude>

Latest revision as of 23:32, 6 April 2009

Notes

  • I'm using this subpage to test templates before applying them in mainspace.