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.

Difference between revisions of "Template talk:Eps"

From Heroes Wiki
Jump to navigation Jump to search
imported>MiamiVolts
(+examples)
 
imported>MiamiVolts
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Examples==
 
==Examples==
 
DPL recursion restrictions prevent using examples on the template itself, so they are listed below:
 
DPL recursion restrictions prevent using examples on the template itself, so they are listed below:
 +
 +
<pre>
 +
{{eps|101}}
 +
</pre>
 +
returns {{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>
 
{{eps|wb11}}
 
{{eps|wb11}}
 
</pre>
 
</pre>
returns {{User:MiamiVolts/Eps|wb11}}
+
returns {{eps|wb11}}
  
 
<pre>
 
<pre>
 
{{eps|gn24}}
 
{{eps|gn24}}
 
</pre>
 
</pre>
returns {{User:MiamiVolts/Eps|gn24}}
+
returns {{eps|gn24}}
<!--
+
 
 
<pre>
 
<pre>
 
{{eps|gn24|epn}}
 
{{eps|gn24|epn}}
 
</pre>
 
</pre>
returns {{User:MiamiVolts/Eps|gn24|epn}}
+
returns {{eps|gn24|epn}}
  
 
<pre>
 
<pre>
 
{{eps|gn24|epp}}
 
{{eps|gn24|epp}}
 
</pre>
 
</pre>
returns {{User:MiamiVolts/Eps|gn24|epp}}
+
returns {{eps|gn24|epp}}
  
 
==Discussion==
 
==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.--~~~~
+
* 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.--[[User:MiamiVolts|MiamiVolts]] ([[User_talk:MiamiVolts|talk]]) 02:09, 7 January 2009 (EST)

Latest revision as of 12:07, 8 January 2009

Examples

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

{{eps|101}}

returns GenesisExpression error: Unexpected < operator.
(Note: This episode, like most episodes, does not have a subtitle so none is shown and no colon is added)

{{eps|wb11}}

returns Hard Knox, Part 2Expression error: Unexpected < operator.

{{eps|gn24}}

returns War Buddies, Part 1Expression error: Unexpected < operator.

{{eps|gn24|epn}}

returns Graphic Novel:War Buddies, Part 1Expression error: Unexpected < operator.

{{eps|gn24|epp}}

returns (War Buddies, Part 1Expression error: Unexpected < operator.)

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)