Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "Template:Character"

From TWC Wiki
Jump to navigationJump to search
m (cat)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox bordered vevent" style="float: {{{align|right}}}; width: {{#if:{{{width|}}}|{{{width|}}}|23em}}; font-size: 90%; text-align: left;" cellpadding="3"  
+
{| class="infobox bordered info-right"
! colspan="2" style="font-size:110%; text-align: center; background-color: #F4E9DF;" class="summary" | ''{{{title|{{PAGENAME}}}}}''<!--
+
! colspan="2" style="font-size:110%; text-align:center;"|''{{{title|{{PAGENAME}}}}}''<!--
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="background-color: white; font-size: 100%; text-align: center;"> {{{image|}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}}}</td></tr>
+
-->{{#if:{{{Image|}}}|<tr><td colspan="2" style="text-align: center;"> {{{Image|}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}}}</td></tr>
 
|-  
 
|-  
 
|-
 
|-
! style="background-color: #F4E9DF;" | Name:
+
! Name:
 
| {{{Name|<noinclude>e.g. Karl Franz, Cao Cao etc.</noinclude>}}}
 
| {{{Name|<noinclude>e.g. Karl Franz, Cao Cao etc.</noinclude>}}}
 
|-  
 
|-  
! style="background-color: #F4E9DF;" | Game:
+
! Game:
 
| {{{Game|<noinclude>e.g. Warhammer, Three Kingdoms etc.</noinclude>}}}
 
| {{{Game|<noinclude>e.g. Warhammer, Three Kingdoms etc.</noinclude>}}}
 
|-  
 
|-  
! style="background-color: #F4E9DF;" | Culture:
+
! Culture:
 
| {{{Culture|<noinclude>e.g. Imperial, Han etc.</noinclude>}}}
 
| {{{Culture|<noinclude>e.g. Imperial, Han etc.</noinclude>}}}
 
|-  
 
|-  
! style="background-color: #F4E9DF;" | Starting Faction:
+
! Starting Faction:
 
| {{{Starting Faction|<noinclude>e.g. The Empire, The Cao Clan etc.</noinclude>}}}
 
| {{{Starting Faction|<noinclude>e.g. The Empire, The Cao Clan etc.</noinclude>}}}
 
|-  
 
|-  
! style="background-color: #F4E9DF;" | Faction Leader:
+
! Faction Leader:
 
| {{{Faction Leader|<noinclude>Yes or No</noinclude>}}}<!--
 
| {{{Faction Leader|<noinclude>Yes or No</noinclude>}}}<!--
-->{{#if:{{{Style Name|}}}|<tr><th style="background-color: #F4E9DF;">Style Name:</th><td>{{{Style Name}}}</td></tr>}}
+
-->{{#if:{{{Style Name|}}}|<tr><th>Style Name:</th><td>{{{Style Name}}}</td></tr>}}
{{#if:{{{Title|}}}|<tr><th style="background-color: #F4E9DF;">Title:</th><td>{{{Title}}}</td></tr>}}
+
{{#if:{{{Title|}}}|<tr><th>Title:</th><td>{{{Title}}}</td></tr>}}
{{#if:{{{Race|}}}|<tr><th style="background-color: #F4E9DF;">Race:</th><td>{{{Race}}}</td></tr>}}
+
{{#if:{{{Race|}}}|<tr><th>Race:</th><td>{{{Race}}}</td></tr>}}
{{#if:{{{Class|}}}|<tr><th style="background-color: #F4E9DF;">Class:</th><td>{{{Class}}}</td></tr>}}
+
{{#if:{{{Class|}}}|<tr><th>Class:</th><td>{{{Class}}}</td></tr>}}
{{#if:{{{Legendary|}}}|<tr><th style="background-color: #F4E9DF;">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]]
+
|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 08: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.