Format:LandUnit Table: Diferență între versiuni

De la Wiki Grepolis RO
Jump to navigation
(Pagină nouă: <noinclude>This template creates an information table for land units. Use <nowiki>{{LandUnit_Table|WoodCost|RockCost|SilverCost|FavorCost|PopulationCost |WeaponType|AttackDamage|De…)
 
mFără descriere a modificării
Linia 9: Linia 9:
to include an information table with these values for a land unit.
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>
For a practical example view the source code of the [[Hoplite]] 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%;">
Linia 16: Linia 16:
</tr>
</tr>
<tr>
<tr>
  <td rowspan="14" align="center" style="vertical-align:top">[[File:{{{picture}}}|{{{name}}}]]</td>
  <td rowspan="15" align="center" style="vertical-align:top">[[File:{{{picture}}}|{{{name}}}]]</td>
  <td colspan="2>'''Costuri'''</td>
  <td colspan="2>'''Costuri'''</td>
</tr>
</tr>
Linia 51: Linia 51:
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Def_hack.png|Aparare impotriva armelor neascutite]]Aparare impotriva armelor neascutite</td>
<td colspan="2">''Aparare impotriva armelor:''</td>
<tr>
<tr>
  <td>[[File:Def_hack.png|Aparare impotriva armelor neascutite]]Neascutite</td>
  <td>{{{8}}}</td>
  <td>{{{8}}}</td>
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Def_pierce.png|Aparare impotriva armelor ascutite]]Aparare impotriva armelor ascutite</td>
  <td>[[File:Def_pierce.png|Aparare impotriva armelor ascutite]]Ascutite</td>
  <td>{{{9}}}</td>
  <td>{{{9}}}</td>
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Def_distance.png|Aparare impotriva armelor de distanta]]Aparare impotriva armelor de distanta</td>
  <td>[[File:Def_distance.png|Aparare impotriva armelor de distanta]]De distanta</td>
  <td>{{{10}}}</td>
  <td>{{{10}}}</td>
</tr>
</tr>

Versiunea de la data 22 ianuarie 2010 15:48

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 the Hoplite unit