Difference between revisions of "Template:LiberatorIcon"

From SMT: Dx2 Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#switch: {{{1|}}} |MC={{{size|32px}}}|link= {{#if:{{{name|}}}|Main Character|}} |Main=File:Hero.png|{{{size|32px}...")
 
m (typo)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
|Protag=[[File:Hero.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Liberators#Protagonist|Protagonist]]|}}
 
|Protag=[[File:Hero.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Liberators#Protagonist|Protagonist]]|}}
 
|Protagonist=[[File:Hero.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Liberators#Protagonist|Protagonist]]|}}
 
|Protagonist=[[File:Hero.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Liberators#Protagonist|Protagonist]]|}}
 +
|Newbie=[[File:Hero.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Liberators#Protagonist|Newbie]]|}}
  
 
|Templar=[[File:Templar.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Liberators#Templar Dragon|Templar Dragon]]|}}
 
|Templar=[[File:Templar.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Liberators#Templar Dragon|Templar Dragon]]|}}

Latest revision as of 07:30, 18 March 2024

Displays a Liberator's icon, given their codename.

  • Some of the normal names work too, if they're comminly-used (example: Vince).

Optionally, can specify the size of the icon (default is 32px).

Optionally, can also display a link to the Liberators page, jumped to the section for that Liberator.

Usage Examples

{{LiberatorIcon|Megakin}}

Megakin.png

{{LiberatorIcon|Megakin|name=1}}

Megakin.png Megakin

{{LiberatorIcon|Megakin|size=50px}}

Megakin.png

Alternate Names Examples

* {{LiberatorIcon|MC|name=1}}
* {{LiberatorIcon|Main|name=1}}
* {{LiberatorIcon|Main Character|name=1}}
* {{LiberatorIcon|Hero|name=1}}
* {{LiberatorIcon|Protag|name=1}}
* {{LiberatorIcon|Protagonist|name=1}}
* {{LiberatorIcon|Kangaroo|name=1}}
* {{LiberatorIcon|Boxer|name=1}}
* {{LiberatorIcon|Kangaroo Boxer|name=1}}