Difference between revisions of "Template:Character"

From Mushpedia
Jump to: navigation, search
Line 3: Line 3:
 
| Chao
 
| Chao
 
| chao
 
| chao
| Wang Chao = [[Image:Chao_icon.png|Icon of Chao|link=Wang Chao]] '''{{#switch:{{{2}}} |long=[[Wang Chao]]|[[Chao]]}}''
+
| Wang Chao = [[Image:Chao_icon.png|Icon of Chao|link=Wang Chao]] '''{{#switch:{{{2}}} |long=[[Wang Chao]]|[[Chao]]}}'''
 
| Chun
 
| Chun
 
| chun
 
| chun

Revision as of 11:54, 18 December 2013

Use this Template when you first mention characters in articles to display their names in bold, along with their icons, and link to their respective articles. "long" parameter will output the full name, and is optional.

Usage:
{{Character|Character name|long}}
Demo:
{{Character|Finola}}

Result: Icon Finola

Other examples:

{{Character|Chao}}

Icon Chao

{{Character|Kuan Ti|long}}

Icon Lai Kuan Ti

{{Character|Mush}}

Icon Mush

{{Character|steven}}
{{Character|blahblahblah}}

Icon Unknown Character

Icon Unknown Character