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 m →Usage |
imported>MiamiVolts mNo edit summary |
||
| Line 1: | Line 1: | ||
{{#switch: {{#sub: {{{1}}}|0|2}} |
|||
<!--Episodes don't have subtitles yet, but searching them here for completeness in case they get them. |
|||
|gn = {{#dpl:|debug=1|title={{delink|{{ep|{{{1}}}}}|noprecede=t}}|uses=Template:Graphic Novel sidebar|include={Graphic Novel sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/}} |
|||
--><DPL> |
|||
|wb = {{#dpl:|debug=1|title={{delink|{{ep|{{{1}}}}}|noprecede=t}}|uses=Template:Webisode sidebar|include={Webisode sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/}} |
|||
debug=1 |
|||
|{{#dpl:|debug=1|title={{delink|{{ep|{{{1}}}}}|noprecede=t}}|uses=Template:Episode sidebar|include={Episode sidebar}:subtitle|includematch=/subtitle[^{{pipe}}]*/}}<!--Episodes don't have subtitles yet, but searching them here for completeness in case they get them later.--> |
|||
title={{delink|{{epn|{{{1}}}}}}} |
|||
| ⚫ | |||
uses=Template:{{#switch: {{#sub: {{{1}}}|0|2}}|gn = Graphic Novel|wb = Webisode|Episode}} sidebar |
|||
include={{{#switch: {{#sub: {{{1}}}|0|2}}|gn = Graphic Novel|wb = Webisode|Episode}} sidebar}:subtitle |
|||
includematch=/subtitle[^{{pipe}}]*/ |
|||
| ⚫ | |||
==Usage== |
==Usage== |
||
This is a subtemplate of {{[[User:MiamiVolts/Eps|eps]]}} that uses DPL to return the subtitle, if any, of the specified title in <nowiki>{{ep}}</nowiki> format. |
This is a subtemplate of {{[[User:MiamiVolts/Eps|eps]]}} that uses DPL to return the subtitle, if any, of the specified title in <nowiki>{{ep}}</nowiki> format. |
||
Revision as of 08:09, 6 January 2009
Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code></code>
Usage
This is a subtemplate of {{eps}} that uses DPL to return the subtitle, if any, of the specified title in {{ep}} format.