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/subtitle: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>MiamiVolts mNo edit summary |
imported>MiamiVolts test new method |
||
| Line 1: | Line 1: | ||
input = {{{1|}}}<br /> |
|||
| ⚫ | |||
slist = {{{slist|}}}<br /> |
|||
tlist = {{{tlist|}}}<br /> |
|||
semi = {{{semi|}}} |
|||
<noinclude> |
<noinclude> |
||
<pre> |
<pre> |
||
| ⚫ | |||
<br /> |
<br /> |
||
{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,→²{#pad:%NR%¦3¦0}²[[%PAGE%|%TITLE%]]«!--,--»}}<br /> |
{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,→²{#pad:%NR%¦3¦0}²[[%PAGE%|%TITLE%]]«!--,--»}}<br /> |
||
Revision as of 07:23, 7 January 2009
input =
slist =
tlist =
semi =
{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,→«!--[[%PAGE%|%TITLE%]]--»,}}
<br />
{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,→²{#pad:%NR%¦3¦0}²[[%PAGE%|%TITLE%]]«!--,--»}}<br />
{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,←*²{#pad:%NR%¦3¦0}²[[%PAGE%|%TITLE%]]«!--,--»}}
{{#explode:{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,→«!--[[%PAGE%|%TITLE%]]--»,}}|→|{{#sub:{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,→²{#pad:%NR%¦3¦0}²[[%PAGE%|%TITLE%]]«!--,--»}}|{{#expr:{{#pos:{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,←*²{#pad:%NR%¦3¦0}²[[%PAGE%|%TITLE%]]«!--,--»}}|{{User:MiamiVolts/test|{{{1}}}}}}}-3}}|3}}}}
{{#switch: {{#sub: {{{1}}}|0|2}}
|gn = {{#explode:{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,→«!--[[%PAGE%|%TITLE%]]--»,}}|→|{{#sub:{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,\n*²{#pad:%NR%¦3¦0}²[[%PAGE%|%TITLE%]]«!--,--»}}|{{#expr:{{#pos:{{#dpl:|debug=1|category=Issues|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,\n*²{#pad:%NR%¦3¦0}²[[%PAGE%|%TITLE%]]«!--,--»}}|{{User:MiamiVolts/test|{{{1}}}}}}}-3}}|3}}}}
|wb = {{#explode:{{#sub:{{#dpl:|debug=1|category=Webisodes|uses=Template:Webisode sidebar|include={Webisode sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,%TITLE%:,→,}}|
{{#expr:1+{{#pos:{{#dpl:|debug=1|category=Webisodes|uses=Template:Webisode sidebar|include={Webisode sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,%TITLE%:,→,}}|
{{#sub:{{delink|linktext={{User:MiamiVolts/test|{{{1}}}}}}}|36|-7}}}}+{{#len:{{#sub:{{delink|linktext={{User:MiamiVolts/test|{{{1}}}}}}}|36|-7}}}}}}}}|→}}
|{{#explode:{{#sub:{{#dpl:|debug=1|category=Episodes|uses=Template:Episode sidebar|include={Episode sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,%TITLE%:,→,}}|{{#expr:1+{{#len:{{#sub:{{delink|linktext={{User:MiamiVolts/test|{{{1}}}}}}}|36|-7}}}}+{{#pos:{{#dpl:|debug=1|category=Episodes|uses=Template:Episode sidebar|include={Episode sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/|format=,%TITLE%;,→,}}|{{#sub:{{delink|linktext={{User:MiamiVolts/test|{{{1}}}}}}}|36|-7}}}}}}}}|→}}<!--Episodes don't have subtitles yet, but searching them here for completeness in case they get them later.-->
}}
Usage
{{eps/subtitle|<ep abbreviated listing>}}
This is a subtemplate of {{eps}} that uses DPL to return the subtitle in unformatted text, if any, from a specified title in {{ep}} format.