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:Eps

From Heroes Wiki
Revision as of 13:42, 8 January 2009 by imported>MiamiVolts
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This is a link template that uses DPL to provide a link for the specified Heroes-related title with subtitle, if any. By default, appends subtitle after a colon and space as is standard for NBC and other style guidelines; but an option is available to use a semicolon instead of a colon. The list of titles used in this template are listed in {{ep}}. Options are also available to use the namespace format like {{epn}} or parentheses format like {{epp}}. Note: this function uses 2 DPL calls to get the data. The parsing is done using the subtemplate {{eps/subtitle}}.

Syntax

{{eps
|<!--identifier listed in {{ep}}-->
|<!--optional format specification; default is {{ep}} format-->
|semi=<!--set true for semi-colon instead of the default colon-->
}}

Examples

Due to DPL restrictions on recursion, examples cannot be provided in the same article as the template itself so are provided on the related talk page instead.