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.

Heroes Wiki:Sandbox: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>MiamiVolts
Example
imported>Ryangibsonstewart
tracy, trust & blood
 
(319 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{#dpl:category=Images of Tracy Strauss|category=Images from Trust and Blood}}
== Art by Jason Badower ==
This method uses userformat mode, strips out the search and also trims off an extra comma and space from the end:

{{#sub: {{#replace:{{#dpl:|category=Issues|uses=Template:Graphic Novel sidebar|ordermethod=firstedit|include={Graphic Novel sidebar}:artby|includematch=/Jason Badower/|format=,&#x0020; [[%PAGE%]]&#44; &#x0020;,,}}|[[Jason Badower]]|}}|0|-14}} <br><br>

This method uses inline mode, strips out the search and also trims off an extra comma and space from the beginning:
{{#sub: {{#replace:{{#dpl:|category=Issues|uses=Template:Graphic Novel sidebar|ordermethod=firstedit|include={Graphic Novel sidebar}:artby|includematch=/Jason Badower/|mode=inline|inlinetext=, &#x0020;}}|[[Jason Badower]]|}}|9}}

This is the original Hardvice got working, but using a fake template.
{{#dpl:|category=Issues|uses=Template:Graphic Novel sidebar|ordermethod=firstedit|include={Graphic Novel sidebar} dpl2|includematch=/artby[^{{pipe}}]*Jason Badower/|format=,,,|}}

This is a version using my template that uses sub to strip the search term.
{{User:MiamiVolts/DPLSearch|result={{#dpl:|category=Issues|uses=Template:Graphic Novel sidebar|ordermethod=firstedit|include={Graphic Novel sidebar}:artby|includematch=/artby[^{{pipe}}]*Jason Badower/|format=,* ''[[%TITLE%]]''\n,,|}}|search=[[Jason Badower]]}}

Latest revision as of 03:35, 3 November 2015

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>