Difference between revisions of "Template:Character"

From Mushpedia
Jump to: navigation, search
Line 1: Line 1:
<includeonly>
+
<includeonly><span style="white-space:nowrap">[[File:{{{1|Unknown}}}_icon.png|{{{2|16}}}px|{{{1|Unknown icon}}}|link={{{1|Characters}}}]] '''[[{{{1|Unknown Character}}}|{{{1|Characters}}}]]'''</span></includeonly><noinclude>
<span style="white-space:nowrap">[[File:{{{1|Unknown}}}_icon.png|{{{2|16}}}px|{{{1|Unknown icon}}}|link={{{1|Characters}}}]] '''[[{{{1|Unknown Character}}}|{{{1|Characters}}}]]'''</span></includeonly><noinclude>
+
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. Image size is optional.
Use this template for displaying character icons in articles together with their names. Image size is optional.
+
  
 
Usage: <pre>{{Character|Character name|size}}</pre>
 
Usage: <pre>{{Character|Character name|size}}</pre>
Demo: <pre>{{Character|Finola|16px}}</pre>
+
Demo: <pre>{{Character|Finola}}</pre>
{{Character|Finola|16px}}
+
Result:
 +
{{Character|Finola}}
  
 
Other examples:
 
Other examples:
Line 11: Line 11:
 
{{Character|Jin Su}}
 
{{Character|Jin Su}}
 
{{Character|Kuan Ti}}
 
{{Character|Kuan Ti}}
 +
{{Character|Paola|10px}} (smaller image sizes are borked for some reason?)
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 11:18, 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. Image size is optional.

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

Result: Icon Finola

Other examples: Icon Chao Icon Jin Su Icon Kuan Ti Icon Paola (smaller image sizes are borked for some reason?)