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
add roles
imported>MiamiVolts
begin testing
Line 1: Line 1:
{{#if:{{{nolinks|}}}|<!-- suppress all edit links if nolinks is set true -->
<includeonly>{|<!-- This subtemplate should only be called if we are in the Spoiler namespace; it assumes all article links are to Spoiler pages that are in the "Spoiler" namespace.-->
__NOEDITSECTION__
|- align="center" width="100%"
}}
| {{PortalCharacter|image={{#if:{{{crew1image|}}}|{{{crew1image}}}|{{{crew1}}}.jpg}} |link=Spoiler:{{{crew1}}}|text={{{crew1}}}|unlinkedtext=<br />([[:Image:{{#if:{{{crew1image|}}}|{{{crew1image}}}|{{{crew1}}}.jpg}}|''image'']])<br />'''{{{crew1role|}}}'''|lines=4}}
<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.
| {{PortalCharacter|image={{#if:{{{crew2image|}}}|{{{crew2image}}}|{{{crew2}}}.jpg}} |link=Spoiler:{{{crew2}}}|text={{{crew2}}}|unlinkedtext=<br />([[:Image:{{#if:{{{crew2image|}}}|{{{crew2image}}}|{{{crew2}}}.jpg}}|''image'']])<br />'''{{{crew2role|}}}'''|lines=4}}
|
| {{#if: {{{crew3|}}} | {{PortalCharacter|image={{#if:{{{crew3image|}}}|{{{crew3image}}}|{{{crew3}}}.jpg}} |link=Spoiler:{{{crew3}}}|text={{{crew3}}}|unlinkedtext=<br />([[:Image:{{#if:{{{crew3image|}}}|{{{crew2image}}}|{{{crew3}}}.jpg}}|''image'']])<br />'''{{{crew3role|}}}'''|lines=4}} }}
|
| {{#if: {{{crew4|}}} | {{PortalCharacter|image={{#if:{{{crew4image|}}}|{{{crew4image}}}|{{{crew4}}}.jpg}} |link=Spoiler:{{{crew4}}}|text={{{crew4}}}|unlinkedtext=<br />([[:Image:{{#if:{{{crew4image|}}}|{{{crew4image}}}|{{{crew2}}}.jpg}}|''image'']])<br />'''{{{crew4role|}}}'''|lines=4}} }}
|
| {{#if: {{{crew5|}}} | {{PortalCharacter|image={{#if:{{{crew5image|}}}|{{{crew5image}}}|{{{crew5}}}.jpg}} |link=Spoiler:{{{crew5}}}|text={{{crew5}}}|unlinkedtext=<br />([[:Image:{{#if:{{{crew5image|}}}|{{{crew5image}}}|{{{crew5}}}.jpg}}|''image'']])<br />'''{{{crew5role|}}}'''|lines=4}} }}
|
| {{#if: {{{crew6|}}} | {{PortalCharacter|image={{#if:{{{crew6image|}}}|{{{crew6image}}}|{{{crew6}}}.jpg}} |link=Spoiler:{{{crew6}}}|text={{{crew6}}}|unlinkedtext=<br />([[:Image:{{#if:{{{crew6image|}}}|{{{crew6image}}}|{{{crew6}}}.jpg}}|''image'']])<br />'''{{{crew6role|}}}'''|lines=4}} }}
|}</includeonly><noinclude>
==Usage==
==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].
I'm using this subpage to test templates before applying them in mainspace.

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==
* I'm using this subpage to test templates before applying them in mainspace.
[[Category:User templates]]
[[Category:User templates]]
</noinclude>
</noinclude>

Revision as of 00:39, 27 December 2008

[edit] This text appears before the first section.

Usage

This template is adapted from Template:Edit-first-section on 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:
https://heroeswiki.ddns.net/index.php?title=MiamiVolts/test&action=edit&section=0

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

Syntax

Add {{Edit-section-number}} 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:

{{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 -->
}}

Notes

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