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:EpisodesCreated"

From Heroes Wiki
Jump to navigation Jump to search
imported>MiamiVolts
(fix links for episodes like Homecoming)
imported>Ryangibsonstewart
(trying __NOEDITSECTION__ to eliminate section editing -- that's part of the issue. If the entire article is edited, there's no issue with spaces)
 
Line 1: Line 1:
<includeonly>{{DPLSearch|result={{#dpl:|category=Episodes|uses=Template:Episode sidebar|ordermethod=sortkey|include={Episode sidebar}:directedby|includematch=/directedby[^{{pipe}}]*{{#replace:{{PAGENAME}}|&#39;|'}}/|format=,* ''[[%PAGE%¦%TITLE%]]''\n,,\n|resultsheader===Episodes Directed==\n|noresultsheader=<p>}}{{#dpl:|category=Episodes|uses=Template:Episode sidebar|ordermethod=sortkey|include={Episode sidebar}:writtenby|includematch=/writtenby[^{{pipe}}]*{{#replace:{{PAGENAME}}|&#39;|'}}/|format=,* ''[[%PAGE%¦%TITLE%]]''\n,,\n|resultsheader===Episodes Written==\n|noresultsheader=<p>}}|who={{#replace:{{PAGENAME}}|&#39;|'}}|search={{#dpl:|debug=1|category=Episodes|uses=Template:Episode sidebar|ordermethod=sortkey|include={Episode sidebar}:directedby|includematch=/directedby[^{{pipe}}]*{{#replace:{{PAGENAME}}|&#39;|'}}/|format=,&rarr;&rarr;,,&rarr;}}{{#dpl:|debug=1|category=Episodes|uses=Template:Episode sidebar|ordermethod=sortkey|include={Episode sidebar}:writtenby|includematch=/writtenby[^{{pipe}}]*{{#replace:{{PAGENAME}}|&#39;|'}}/|format=,&rarr;&rarr;,,&rarr;}}}}</includeonly><noinclude>
<includeonly>__NOEDITSECTION__{{DPLSearch|result={{#dpl:|category=Episodes|uses=Template:Episode sidebar|ordermethod=sortkey|include={Episode sidebar}:directedby|includematch=/directedby[^{{pipe}}]*{{#replace:{{PAGENAME}}|&#39;|'}}/|format=,* ''[[%PAGE%¦%TITLE%]]''\n,,\n|resultsheader===Episodes Directed==\n|noresultsheader=<p>}}{{#dpl:|category=Episodes|uses=Template:Episode sidebar|ordermethod=sortkey|include={Episode sidebar}:writtenby|includematch=/writtenby[^{{pipe}}]*{{#replace:{{PAGENAME}}|&#39;|'}}/|format=,* ''[[%PAGE%¦%TITLE%]]''\n,,\n|resultsheader===Episodes Written==\n|noresultsheader=<p>}}|who={{#replace:{{PAGENAME}}|&#39;|'}}|search={{#dpl:|debug=1|category=Episodes|uses=Template:Episode sidebar|ordermethod=sortkey|include={Episode sidebar}:directedby|includematch=/directedby[^{{pipe}}]*{{#replace:{{PAGENAME}}|&#39;|'}}/|format=,&rarr;&rarr;,,&rarr;}}{{#dpl:|debug=1|category=Episodes|uses=Template:Episode sidebar|ordermethod=sortkey|include={Episode sidebar}:writtenby|includematch=/writtenby[^{{pipe}}]*{{#replace:{{PAGENAME}}|&#39;|'}}/|format=,&rarr;&rarr;,,&rarr;}}}}</includeonly><noinclude>
==Usage==
==Usage==
<pre>{{EpisodesCreated}}</pre>
<pre>{{EpisodesCreated}}</pre>

Latest revision as of 21:44, 25 August 2015

Usage

{{EpisodesCreated}}

Dynamically produces section listings of the episodes created by an episode crew member for episodes written and directed. Use only once on a crew member's page.

Notes

  • This template works by using DPL to pull names from the fields of the Episode sidebar used on episode articles.
  • To output similar data in inline mode without section headers, use Template:EpisodesCreatedInline.