Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Comic list: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
tweak
Joe Beaudoin Jr. (talk | contribs)
dirtier than I'd like, but this should work now....
Line 1: Line 1:
<includeonly><div id="comics" class="navbox centered" align="center">
<includeonly><div id="comics" class="navbox centered" align="center">
{{#switch:{{{series|}}}|Dynamite TOS|TOS|Cylon|Cylon Apocalypse|tos|Starbuck|starbuck|memorial|doa|#default={{{series2|TOS-DE}}}|RDM|rdm|CW|Cylon War|origins|Origins|0|Zero|Season Zero|Season 0|season 0|season zero|zarek|Zarek|TC|Twilight Command={{{series2|RDM-DE}}}|tpb|TP|Trade|TPB|trade paperback|paperback={{{series2|TPBs}}}|1980={{{series|1980}}|1880={{{series|1880}}}}}
{{#switch:{{{series|}}}|Dynamite TOS|TOS|Cylon|Cylon Apocalypse|tos|Starbuck|starbuck|memorial|doa|#default={{comic list/TOS-DE}}|RDM|rdm|CW|Cylon War|origins|Origins|0|Zero|Season Zero|Season 0|season 0|season zero|zarek|Zarek|TC|Twilight Command={{comic list/RDM}}|tpb|TP|Trade|TPB|trade paperback|paperback={{comic list/TPB}}|1980={{comic list/1980}}|1880={{comic list/1880}}}}
{{#ifeq: {{{series}}} | 1880 | {{comic list/1880}} }}
{{#ifeq: {{{series}}} | 1980 | {{comic list/1980}} }}
{{#ifeq: {{{series2}}} | TOS-DE | {{comic list/TOS-DE}} }}
{{#ifeq: {{{series2}}} | RDM-DE | {{comic list/RDM}} }}
{{#ifeq: {{{series2}}} | TPBs | {{comic list/TPB}} }}
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 02:56, 7 November 2021

Documentation

This template is to be applied to all guide pages for comics.

Code

{{comic list
 | series=
}}

Parameters

  • series: This must be defined! This is for the comic series you wish to print by default, which must be defined using one of the following selections.

Selections

Example

The following example prints out the list of comics based on Battlestar Galactica: Season Zero, based on the following syntax:

{{comic list|series=Zero}}


The following example prints out the list of comics based on Trade Paperbacks, based on the following syntax:

{{comic list|series=tpb}}