Template:Series Icon: Difference between revisions

Template page
m (correcting to remove automatic carriage return, to prevent vertical stacking of icons)
m (reducing this to the basics)
Line 1: Line 1:
<includeonly>{{#switch:{{{series|}}}
<includeonly>{{#switch:{{{series|}}}
| tos
| TOS={{Click
| image = BSG 1978 Patch.png
| width = 25px
| height = 25px
| link = Battlestar Galactica (TOS)
}}
| rdm
| RDM
| #default= {{Click
| image = Colonial Seal.svg
| width = 25px
| height = 30px
| link = Battlestar Galactica (RDM)
}}
| b&c
| bac
| B&C
| Blood and Chrome
| BAC
| Blood & Chrome= {{Click
| image = Colonial Seal.svg
| width = 25px
| height = 30px
| link = Blood and Chrome
}}
| caprica
| Caprica= {{Click
| image = ColonialColors3.png
| width = 25px
| height = 25px
| link = Caprica (series)
}}
| 1980= {{Click
| image = Stuart Zee.jpg
| width = 25px
| height = 25px
| link = Galactica 1980
}}
}}{{#switch:{{{series 2|}}}
| tos
| tos
| TOS={{Click
| TOS={{Click
Line 83: Line 43:
== Documentation ==
== Documentation ==


This allows for clickable icons to be displayed in infobxes, when called with <nowiki>{{Series Icon|series={{{series|}}}|series2={{{series2|}}}}}</nowiki>.</noinclude>
This allows for clickable icons to be displayed in infobxes, when called with <nowiki>{{Series Icon|series=}}</nowiki>.</noinclude>

Revision as of 02:23, 5 October 2019


Documentation

This allows for clickable icons to be displayed in infobxes, when called with {{Series Icon|series=}}.