Difference between revisions of "Template:MTW Ship"

From Totalwar.org
Jump to: navigation, search
(Initial revision)
 
(fixed category)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox bordered vevent" style="float: {{{align|right}}}; font-size: 90%; text-align: left;" cellpadding="3"  
+
{| class="infobox bordered vevent" cellpadding="3" style="float: {{{align|right}}}; border: 1px solid grey; font-size: 90%; text-align: left; width:300px; background-color:#E7E2CF"
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" class="summary" | ''{{{name|<noinclude>Unit name</noinclude>}}}''
+
! colspan="2" style="font-size:150%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey;" class="summary" | ''{{{name|<noinclude>Ship name</noinclude>}}}''
 
{{{image|}}}
 
{{{image|}}}
 
|-  
 
|-  
 
|-
 
|-
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Combat Stats
+
! colspan="2" style="font-size:120%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey; border-top:1px solid grey;" | Combat Stats
 
|-
 
|-
! style="background-color: #D7CEAF;" | Range:
+
! width=100px; style="background-color: #D7CEAF;" | Range:
 
| {{{range|<noinclude>range value here</noinclude>}}}
 
| {{{range|<noinclude>range value here</noinclude>}}}
 
|-
 
|-
Line 21: Line 21:
 
| {{{strength|<noinclude>strength value here</noinclude>}}}
 
| {{{strength|<noinclude>strength value here</noinclude>}}}
 
|-
 
|-
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Unit Costs
+
{{#if:{{{notes|}}}|
 +
{{!}}style="background-color: #D7CEAF;" {{!}} '''Notes:'''
 +
{{!}} {{{notes}}} }}
 +
|-
 +
! colspan="2" style="font-size:120%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey; border-top:1px solid grey;" | Unit Costs
 
|-
 
|-
 
! style="background-color: #D7CEAF;" | Recruitment:
 
! style="background-color: #D7CEAF;" | Recruitment:
 
| {{{recruit|<noinclude>recruitment cost here</noinclude>}}}
 
| {{{recruit|<noinclude>recruitment cost here</noinclude>}}}
 
|-
 
|-
! style="background-color: #D7CEAF;" | Number of Turns:
+
{{#if:{{{discount|}}}|
 +
{{!}}style="background-color: #D7CEAF;" {{!}} '''Faction Discount:'''
 +
{{!}} {{{discount}}} }}
 +
|-
 +
! style="background-color: #D7CEAF;" | Turns to Build:
 
| {{{turns|<noinclude>turn to build here</noinclude>}}}
 
| {{{turns|<noinclude>turn to build here</noinclude>}}}
 
|-
 
|-
Line 32: Line 40:
 
| {{{upkeep|<noinclude>upkeep cost here</noinclude>}}}
 
| {{{upkeep|<noinclude>upkeep cost here</noinclude>}}}
 
|-
 
|-
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Unit Restrictions
+
! colspan="2" style="font-size:120%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey; border-top:1px solid grey;" | Unit Restrictions
 
|-
 
|-
! style="background-color: #D7CEAF;" | Eras:
+
{{#if:{{{eras|}}}|
| {{{eras|}}}
+
{{!}}style="background-color: #D7CEAF;" {{!}} '''Eras:'''
 +
{{!}} {{{eras}}} }}
 
|-
 
|-
! style="background-color: #D7CEAF;" | Factions:
+
{{#if:{{{factions|}}}|
| {{{factions|}}}
+
{{!}}style="background-color: #D7CEAF;" {{!}} '''Factions:'''
 +
{{!}} {{{factions}}} }}
 
|-
 
|-
 
! style="background-color: #D7CEAF;" | Buildings Needed:
 
! style="background-color: #D7CEAF;" | Buildings Needed:
 
| {{{buildings|<noinclude>building prerequisites here</noinclude>}}}
 
| {{{buildings|<noinclude>building prerequisites here</noinclude>}}}
 
|-
 
|-
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #F4E9DF;" style="background-color: #D7CEAF;" | Unit Card:
+
! style="background-color: #D7CEAF; border-top:1px solid grey;" | Unit Card:
{{{card|<noinclude>insert pic</noinclude>}}}
+
| style="background-color: #D7CEAF; border-top:1px solid grey; text-align:center;" | {{{card|<noinclude>insert pic</noinclude>}}}
 
|-
 
|-
 
|}<noinclude><br>
 
|}<noinclude><br>
Line 50: Line 60:
  
 
to use this template use: <br>
 
to use this template use: <br>
'''<code><pre>{{MTW_Unit
+
'''<code><pre>{{MTW_Ship
 
|name=  
 
|name=  
 
|range=  
 
|range=  
Line 56: Line 66:
 
|defence=  
 
|defence=  
 
|speed=  
 
|speed=  
|stregth=  
+
|strength=
 +
|notes=  
 
|recruit=  
 
|recruit=  
 +
|discount=
 
|turns=
 
|turns=
 
|upkeep=  
 
|upkeep=  
Line 73: Line 85:
 
Upkeep is the base number that gets multiplied by distance to closest home port
 
Upkeep is the base number that gets multiplied by distance to closest home port
  
TBD - Add a spot for province valour bonus.  Probably don't need "name" line.
+
Notes should be for province valour bonus, and deep sea capability
  
[[Category:Templates]]</noinclude>
+
[[Category:Template]]</noinclude>

Latest revision as of 01:53, 14 March 2011

Ship name
Combat Stats
Range: range value here
Attack: attack value here
Defence: defence value here
Speed: speed value here
Strength: strength value here
Unit Costs
Recruitment: recruitment cost here
Turns to Build: turn to build here
Upkeep: upkeep cost here
Unit Restrictions
Buildings Needed: building prerequisites here
Unit Card: insert pic


to use this template use:

{{MTW_Ship
|name= 
|range= 
|attack= 
|defence= 
|speed= 
|strength= 
|notes= 
|recruit= 
|discount= 
|turns=
|upkeep= 
|eras= 
|factions= 
|buildings= 
|card= }}

Eras, Factions are optional.

Eras should be either Viking, Early, High, Late.

Factions should be either specific factions, or culture type: Catholic, Orthodox, Muslim.

Upkeep is the base number that gets multiplied by distance to closest home port

Notes should be for province valour bonus, and deep sea capability