Template:Series Icon: Difference between revisions

Template page
(+ demonstration example)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{series|}}}
<includeonly>{{#switch:{{{series|}}}
| tos
| BR25
| TOS={{Click
| Br25
| image = BSG 1978 Patch.png
| width = 25px
| height = 25px
| link = Battlestar Galactica (TOS)
}}
| rdm
| RDM
| #default= {{Click
| #default= {{Click
| image = Colonial Seal.svg
| image = BR25 Logo.png
| width = 25px
| width = 30px
| height = 30px
| height = 30px
| link = Battlestar Galactica (RDM)
| link = Buck Rogers in the 25th Century
}}
| b&c
| bac
| B&C
| Blood and Chrome
| BAC
| Blood & Chrome= {{Click
| image = Colonial Seal.svg
| width = 25px
| height = 30px
| link = Blood and Chrome
}}
| cap
| CAP
| 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
}}  
}}  
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 48: Line 15:
=== Example ===
=== Example ===


<pre>{{Series Icon|series=1980}}</pre>
<pre>{{Series Icon|series=BR25}}</pre>
 
{{Series Icon|series=1980}}
 
[[de: Vorlage:Seriensymbol]]


{{Series Icon|series=BR25}}
</noinclude>
</noinclude>
<noinclude>[[de:Seriensymbol]]</noinclude>

Latest revision as of 21:39, 14 March 2021

Documentation

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

Example

{{Series Icon|series=BR25}}