Template:LandUnit Table: Difference between revisions

From Wiki Grepolis EN
Jump to navigation
mNo edit summary
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>This template creates an information table for land units.. More info after the template is done</noinclude>
<noinclude>This template creates an information table for land units.
 
Use
 
<nowiki>{{LandUnit_Table|WoodCost|RockCost|SilverCost|FavorCost|PopulationCost
|WeaponType|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 6: Line 16:
</tr>
</tr>
<tr>
<tr>
  <td rowspan="14">[[File:{{{picture}}}|{{{name}}}]]</td>
  <td rowspan="14" align="center" style="vertical-align:top">[[File:{{{picture}}}|{{{name}}}]]</td>
  <td colspan="2>'''Costs'''</td>
  <td colspan="2>'''Costs'''</td>
</tr>
</tr>
Line 33: Line 43:
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Att_hack.png|Attack Type]]Attack Type</td>
  <td>[[File:Att_hack.png|Weapon Type]]Weapon Type</td>
  <td>{{{6}}}</td>
  <td>{{{6|Blunt}}}</td>
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Att_hack.png|Attack Damage]]Attack Damege </td>  
  <td>[[File:Att_hack.png|Attack Damage]]Attack Damage </td>  
  <td>{{{7}}}</td>
  <td>{{{7}}}</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}}}</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}}}</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 Distance</td>
  <td>{{{10}}}</td>
  <td>{{{10}}}</td>
</tr>
</tr>
Line 62: Line 72:
</table>
</table>
</includeonly>
</includeonly>
<noinclude>
[[Category:Template]]
</noinclude>

Latest revision as of 13:30, 27 December 2011

This template creates an information table for land units.

Use

{{LandUnit_Table|WoodCost|RockCost|SilverCost|FavorCost|PopulationCost |WeaponType|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