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:Spoiler: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Hardvice
m fix var
imported>Hardvice
smarten
Line 1: Line 1:
<includeonly>==[[Spoiler:{{{override|{{PAGENAME}}}}}|Spoilers]]==
<includeonly>==[[Spoiler:{{pagenamenopseudo}}|Spoilers]]==
For spoilers about {{{override|{{PAGENAME}}}}}, please refer to the following [[Spoiler:{{{override|{{PAGENAME}}}}}|link]].</includeonly><noinclude>
For spoilers about {{pagenamenopseudo}}, please refer to the following [[Spoiler:{{pagenamenopseudo}}|link]].</includeonly><noinclude>
== Usage ==
== Usage ==


Creates a top-level section for auto-linking to a corresponding spoiler page. Use [[Template:spoilermain]] on the spoiler article to create a back link.
Creates a top-level section for auto-linking to a corresponding spoiler page. Use [[Template:spoilermain]] on the spoiler article to create a back link.


<pre>{{spoiler}}</pre>
For articles in pseudo-namespaces (Episode:, Graphic Novel:, etc.), use <tt>override</tt> to override the PAGENAME link. For example, to link <tt>Episode:One Giant Leap</tt> to <tt>Spoiler:One Giant Leap</tt>, use <tt>override=One Giant Leap</tt>.

<pre>{{spoiler|override=<!--OPTIONAL link override-->}}</pre>


[[Category: Templates]]
[[Category: Templates]]

Revision as of 03:41, 18 March 2007

Usage

Creates a top-level section for auto-linking to a corresponding spoiler page. Use Template:spoilermain on the spoiler article to create a back link.

{{spoiler}}