Difference between revisions of "Template:Character"
From TWC Wiki
Jump to navigationJump to search (remove colours - now coded by class/skin) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| class="infobox bordered | + | {| class="infobox bordered info-right" |
− | ! colspan="2" style="font-size:110%; text-align: center;" | ''{{{title|{{PAGENAME}}}}}''<!-- | + | ! colspan="2" style="font-size:110%; text-align:center;"|''{{{title|{{PAGENAME}}}}}''<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{Image|}}}|<tr><td colspan="2" style="text-align: center;"> {{{Image|}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}}}</td></tr> |
|- | |- | ||
|- | |- | ||
Line 23: | Line 23: | ||
{{#if:{{{Class|}}}|<tr><th>Class:</th><td>{{{Class}}}</td></tr>}} | {{#if:{{{Class|}}}|<tr><th>Class:</th><td>{{{Class}}}</td></tr>}} | ||
{{#if:{{{Legendary|}}}|<tr><th>Legendary:</th><td>{{{Legendary}}}</td></tr>}} | {{#if:{{{Legendary|}}}|<tr><th>Legendary:</th><td>{{{Legendary}}}</td></tr>}} | ||
− | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
− | |||
==USAGE== | ==USAGE== | ||
Line 33: | Line 31: | ||
'''<nowiki> | '''<nowiki> | ||
{{Character | {{Character | ||
− | | | + | |Image=[[File:No_image.png]] |
|Name= ? | |Name= ? | ||
|From Game= ? | |From Game= ? | ||
Line 47: | Line 45: | ||
The last five (Style Name, Title, Race, Class, and Legendary) are optional and will not show up if not added. | The last five (Style Name, Title, Race, Class, and Legendary) are optional and will not show up if not added. | ||
− | |||
[[Category:Infobox Template]] | [[Category:Infobox Template]] | ||
+ | </noinclude> |
Latest revision as of 07:23, 19 April 2020
Character | |
---|---|
Name: | e.g. Karl Franz, Cao Cao etc. |
Game: | e.g. Warhammer, Three Kingdoms etc. |
Culture: | e.g. Imperial, Han etc. |
Starting Faction: | e.g. The Empire, The Cao Clan etc. |
Faction Leader: | Yes or No
|
USAGE
Template format is as follows:
{{Character |Image=[[File:No_image.png]] |Name= ? |From Game= ? |Culture= ? |Starting Faction= ? |Faction Leader= ? |Style Name= ? |Title= ? |Race= ? |Class= ? |Legendary= ? }}
The last five (Style Name, Title, Race, Class, and Legendary) are optional and will not show up if not added.