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

From Heroes Wiki
Jump to navigation Jump to search
imported>MiamiVolts
imported>MiamiVolts
(→‎Examples: looks like it's working :))
Line 3: Line 3:


<pre>
<pre>
{{eps|gn24}}
{{eps|101}}
</pre>
</pre>
returns {{User:MiamiVolts/Eps|gn24}}
returns {{User:MiamiVolts/Eps|101}}<br />
(Note: This episode, like most episodes, does not have a subtitle so none is shown and no colon is added)


<pre>
<pre>
Line 11: Line 12:
</pre>
</pre>
returns {{User:MiamiVolts/Eps|wb11}}
returns {{User:MiamiVolts/Eps|wb11}}
<pre>
{{eps|gn24}}
</pre>
returns {{User:MiamiVolts/Eps|gn24}}


<pre>
<pre>

Revision as of 05:43, 7 January 2009

Examples

DPL recursion restrictions prevent using examples on the template itself, so they are listed below:

{{eps|101}}

returns User:MiamiVolts/Eps
(Note: This episode, like most episodes, does not have a subtitle so none is shown and no colon is added)

{{eps|wb11}}

returns User:MiamiVolts/Eps

{{eps|gn24}}

returns User:MiamiVolts/Eps

{{eps|gn24|epn}}

returns User:MiamiVolts/Eps

{{eps|gn24|epp}}

returns User:MiamiVolts/Eps

Discussion

  • I tried several implementations to work around the recursion restriction, but did not have any success. We could put examples on the template itself by putting the result manually, but it's probably better to place them here dynamically for debugging.--MiamiVolts (talk) 02:09, 7 January 2009 (EST)