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
(standardising)
 
(10 intermediate revisions by 4 users 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>eg England</noinclude>}}}
 
| {{{Name|<noinclude>eg England</noinclude>}}}
 
|-  
 
|-  
! style="background-color: #F4E9DF;" | From Game:
+
! From Game:
 
| {{{Game|<noinclude>ie Rome, Medieval 2 etc</noinclude>}}}<!--
 
| {{{Game|<noinclude>ie Rome, Medieval 2 etc</noinclude>}}}<!--
{{#if:{{{Religion|}}}|<tr><th style="background-color: #F4E9DF;">Religion:</th><td>{{{Religion}}}</td></tr>}}
+
-->{{#if:{{{Religion|}}}|<tr><th>Religion:</th><td>{{{Religion}}}</td></tr>}}
 
|-  
 
|-  
! style="background-color: #F4E9DF;" | Culture:
+
! Culture:
 
| {{{Culture|<noinclude>eg Roman, barbarian - Western Europeon, Aztec etc</noinclude>}}}
 
| {{{Culture|<noinclude>eg Roman, barbarian - Western Europeon, Aztec etc</noinclude>}}}
 +
|-
 +
! Playable:
 +
| {{{Playable|<noinclude>Yes or No</noinclude>}}}
 
|-
 
|-
{{#if:{{{map|}}}|<tr><td colspan="2" style="background-color: white; font-size: 100%; text-align: center;"> {{{map|}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}}}</td></tr>
 
 
|}
 
|}
 
 
 
<noinclude>
 
<noinclude>
 
----
 
----
Line 27: Line 26:
 
'''<nowiki>{{Faction|Name='''blah'''|Game=[[blah]]|Culture=[[blah]]}}</nowiki>'''
 
'''<nowiki>{{Faction|Name='''blah'''|Game=[[blah]]|Culture=[[blah]]}}</nowiki>'''
  
 
+
[[Category:Infobox Template]]
 
+
</noinclude>
 
 
{{Faction|image=[[Image:Symbol_england.jpg|Faction Symbol for England]]|Name=Kingdom of England|Game=[[Medieval II: Total War]]|Religion=[[Catholic]]|Culture=[[Northern European]]|map=[[Image:Map england.jpg|England starting location]]}}
 
 
 
[[Category: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]]}}