Mall:WaterUnit Table: Skillnad mellan sidversioner

Från Wiki Grepolis SE
Hoppa till navigering
(Skapade sidan med '<noinclude>This template creates an information table for water units. Use <nowiki>{{WaterUnit_Table|WoodCost|RockCost|SilverCost|FavorCost|PopulationCost |AttackDamage|Defens…')
 
Ingen redigeringssammanfattning
Rad 1: Rad 1:
<noinclude>This template creates an information table for water units.
Use
<nowiki>{{WaterUnit_Table|WoodCost|RockCost|SilverCost|FavorCost|PopulationCost
|AttackDamage|Defense|CargoCapacity|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 [[Transportboat|transport boat]] 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%;">
Rad 17: Rad 6:
<tr>
<tr>
  <td rowspan="11" align="center" style="vertical-align:top">[[File:{{{picture}}}|{{{name}}}]]</td>
  <td rowspan="11" align="center" style="vertical-align:top">[[File:{{{picture}}}|{{{name}}}]]</td>
  <td colspan="2>'''Costs'''</td>
  <td colspan="2>'''Kräver'''</td>
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Wood.png|Wood]]Wood</td>
  <td>[[File:Wood.png|Wood]]Trä</td>
  <td>{{{1}}}</td>
  <td>{{{1}}}</td>
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Stone.png|Rock]]Rock</td>
  <td>[[File:Stone.png|Rock]]Sten</td>
  <td>{{{2}}}</td>
  <td>{{{2}}}</td>
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Iron.png|Silver]]Silver</td>
  <td>[[File:Iron.png|Silver]]Silvermynt</td>
  <td>{{{3}}}</td>
  <td>{{{3}}}</td>
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Favor.png|Favor]]Favor</td>
  <td>[[File:Favor.png|Favor]]Gunst</td>
  <td>{{{4}}}</td>
  <td>{{{4}}}</td>
</tr>
</tr>
<tr>
<tr>
  <td>[[File:Pop.png|Population]]Population</td>
  <td>[[File:Pop.png|Population]]Invånare</td>
  <td>{{{5}}}</td>
  <td>{{{5}}}</td>
</tr>
</tr>
<tr>
<tr>
  <td colspan="2">'''Unit Info'''</td>
  <td colspan="2">'''Enhet Info'''</td>
</tr>
</tr>
<tr>
<tr>

Versionen från 21 januari 2010 kl. 20.54