Template:LandUnit Table: Difference between revisions
Jump to navigation
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>This template creates an information table for land units.. | <noinclude>This template creates an information table for land units. | ||
Use <nowiki>{{LandUnit_Table|WoodCost|RockCost|SilverCost|FavorCost|PopulationCost|AttackType|AttackDamage|DefenseBlunt|DefenseSharp|DefenseDistance|Booty|Speed|name=UnitName|picture=ImageFile}}</nowiki> to include an information table with these values for a land unit. | |||
For a practical example view the source code of [[Swordfighter|Swordsman]] unit</noinclude> | |||
<includeonly> | <includeonly> | ||
<table cellpadding="3px" cellspacing="0" style="width:50%; color:Black; background:#FFE7B4; border-top:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-bottom:1px solid #000000; font-size:100%;"> | <table cellpadding="3px" cellspacing="0" style="width:50%; color:Black; background:#FFE7B4; border-top:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-bottom:1px solid #000000; font-size:100%;"> | ||
Line 11: | Line 15: | ||
<tr> | <tr> | ||
<td>[[File:Wood.png|Wood]]Wood</td> | <td>[[File:Wood.png|Wood]]Wood</td> | ||
<td>{{{1}}}</td> | <td>{{{1|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Stone.png|Rock]]Rock</td> | <td>[[File:Stone.png|Rock]]Rock</td> | ||
<td>{{{2}}}</td> | <td>{{{2|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Iron.png|Silver]]Silver</td> | <td>[[File:Iron.png|Silver]]Silver</td> | ||
<td>{{{3}}}</td> | <td>{{{3|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Favor.png|Favor]]Favor</td> | <td>[[File:Favor.png|Favor]]Favor</td> | ||
<td>{{{4}}}</td> | <td>{{{4|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Pop.png|Population]]Population</td> | <td>[[File:Pop.png|Population]]Population</td> | ||
<td>{{{5}}}</td> | <td>{{{5|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 34: | Line 38: | ||
<tr> | <tr> | ||
<td>[[File:Att_hack.png|Attack Type]]Attack Type</td> | <td>[[File:Att_hack.png|Attack Type]]Attack Type</td> | ||
<td>{{{6}}}</td> | <td>{{{6|Blunt}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Att_hack.png|Attack Damage]]Attack Damage </td> | <td>[[File:Att_hack.png|Attack Damage]]Attack Damage </td> | ||
<td>{{{7}}}</td> | <td>{{{7|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Def_hack.png|Defense against blunt]]Defense against blunt</td> | <td>[[File:Def_hack.png|Defense against blunt]]Defense against blunt</td> | ||
<td>{{{8}}}</td> | <td>{{{8|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Def_pierce.png|Defense against sharp]]Defense against sharp</td> | <td>[[File:Def_pierce.png|Defense against sharp]]Defense against sharp</td> | ||
<td>{{{9}}}</td> | <td>{{{9|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Def_distance.png|Defense against distance]]Defense against ranged</td> | <td>[[File:Def_distance.png|Defense against distance]]Defense against ranged</td> | ||
<td>{{{10}}}</td> | <td>{{{10|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Booty_icon.png|Carries]]Carries</td> | <td>[[File:Booty_icon.png|Carries]]Carries</td> | ||
<td>{{{11}}}</td> | <td>{{{11|0}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Speed.png|Speed]]Speed</td> | <td>[[File:Speed.png|Speed]]Speed</td> | ||
<td>{{{12}}}</td> | <td>{{{12|0}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</includeonly> | </includeonly> |
Revision as of 09:24, 20 January 2010
This template creates an information table for land units.
Use {{LandUnit_Table|WoodCost|RockCost|SilverCost|FavorCost|PopulationCost|AttackType|AttackDamage|DefenseBlunt|DefenseSharp|DefenseDistance|Booty|Speed|name=UnitName|picture=ImageFile}} to include an information table with these values for a land unit.
For a practical example view the source code of Swordsman unit