More actions
m ifeq test |
testing subpages |
||
Line 1: | Line 1: | ||
<includeonly><div id="comics" class="navbox centered" align="center"> | <includeonly><div id="comics" class="navbox centered" align="center"> | ||
{{#ifeq: {{{series}}} | 1880 | {{#ifeq: {{{series}}} | 1880 | {{comic list/1880}} }} | ||
}} | |||
{| id="1980" style="{{#switch:{{{series|}}}|1980=display:visible;|#default=display:none;}}" | {| id="1980" style="{{#switch:{{{series|}}}|1980=display:visible;|#default=display:none;}}" | ||
|- class="infoboxheader" width="99%" style="padding: 20px; text-align:center;" | |- class="infoboxheader" width="99%" style="padding: 20px; text-align:center;" |
Revision as of 02:17, 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
- Dynamite Entertainment comics:
- For regular or one-shot comics based on the Original Series: tos or TOS
- For Battlestar Galactica: Cylon Apocalypse: Cylon or Cylon Apocalypse
- For regular or one-shot comics based on the Re-imagined Series: rdm or RDM
- For Battlestar Galactica: Cylon War: CW or Cylon War
- For Battlestar Galactica: Origins: origins or Origins
- For Battlestar Galactica: Season Zero: 0, Zero, Season Zero, Season 0, season 0, or season zero
- For Battlestar Galactica: Twilight Command: 'TC or Twilight Command
- For Battlestar Galactica: Zarek: zarek, or Zarek
- For trade paperbacks: tpb, TP, Trade, TPB, trade paperback, or paperback
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}}