Format:LandUnit Table: Diferență între versiuni
Jump to navigation
mFără descriere a modificării |
m (A protejat "Format:LandUnit Table" ([edit=sysop] (indefinit) [move=sysop] (indefinit))) |
||
(Nu s-au afișat 7 versiuni intermediare efectuate de alți 2 utilizatori) | |||
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 the [[ | For a practical example view the source code of the [[Hoplit]] 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 24: | Linia 24: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Stone.png|Piatra]] | <td>[[File:Stone.png|Piatra]]Piatră</td> | ||
<td>{{{2}}}</td> | <td>{{{2}}}</td> | ||
</tr> | </tr> | ||
Linia 36: | Linia 36: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:Pop.png| | <td>[[File:Pop.png|Populaţie]]Populaţie</td> | ||
<td>{{{5}}}</td> | <td>{{{5}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan="2">''' | <td colspan="2">'''Informaţii'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Linia 51: | Linia 51: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan="2">'' | <td colspan="2">''Apărare împotriva armelor:''</td> | ||
<tr> | <tr> | ||
<tr> | <tr> | ||
<td> | <td><span style="margin-left:7px">[[File:Def_hack.png|Apărare împotriva armelor neascuţite]]Neascuţite</span></td> | ||
<td>{{{8}}}</td> | <td>{{{8}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td | <td><span style="margin-left:7px">[[File:Def_pierce.png|Apărare împotriva armelor ascuţite]]Ascuţite </span></td> | ||
<td>{{{9}}}</td> | <td>{{{9}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td | <td><span style="margin-left:7px">[[File:Def_distance.png|Apărare împotriva armelor de distanţă]]De distanţă</span></td> | ||
<td>{{{10}}}</td> | <td>{{{10}}}</td> | ||
</tr> | </tr> |
Versiunea curentă din 27 ianuarie 2011 19:24
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 Hoplit unit