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:Faction"

From TWC Wiki
Jump to navigationJump to search
(remove colours - now coded by class/skin)
(standardising)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="infobox bordered" 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;"| ''{{{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>
|-
 
 
|-
 
|-
 
! Name:
 
! Name:
Line 28: Line 27:
  
 
[[Category:Infobox Template]]
 
[[Category:Infobox Template]]
 +
</noinclude>

Latest revision as of 07:45, 19 April 2020

Faction
Name: eg England
From Game: ie Rome, Medieval 2 etc
Culture: eg Roman, barbarian - Western Europeon, Aztec etc
Playable: Yes or No

Format is similar to mod3 template, to use include {{Faction|image=[[Image:blah.png|blah]]|Name='''blah'''|Game=[[blah]]|Religion=[[blah]]|Culture=[[blah]]}}

image and religion sections are optional so if you don't have image and religion is not relevant eg for RTW, use:

{{Faction|Name='''blah'''|Game=[[blah]]|Culture=[[blah]]}}