More actions
tweak |
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={{ | {{#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}}}} | ||
</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
- 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}}