2009-11-01 11:00:00 +00:00
|
|
|
{include file='game/header.tpl'}
|
2020-11-15 15:12:30 +00:00
|
|
|
<h2>Détails {$type}</h2>
|
|
|
|
<dl id="description">
|
|
|
|
<dt>{$LANG.$raceAff.$type.noms_sing.$id|ucfirst}</dt>
|
|
|
|
<dd><img src="{$url_images}images/{$type}/{$image}" alt="{$type|ucfirst}" /><p>{$LANG.$raceAff.$type.descriptions.$id}</p>
|
|
|
|
<div><h5>Actuellement : </h5>{if $type == 'terrestre' || $type == 'caserne'}{$planete->$type.$id} unité(s){elseif $type == 'vaisseaux'}{$planete->$type.$id} vaisseau(x){else}niveau {$planete->$type.$id}{/if}</div>
|
|
|
|
{if $ressourcesNext.0}<div><h5>Coût {$LANG.$raceAff.ressources.noms.metal|ucfirst} : </h5>{$ressourcesNext.0|separerNombres}</div>{/if}
|
|
|
|
{if $ressourcesNext.1}<div><h5>Coût {$LANG.$raceAff.ressources.noms.cristal|ucfirst} : </h5>{$ressourcesNext.1|separerNombres}</div>{/if}
|
|
|
|
{if $ressourcesNext.2}<div><h5>Coût {$LANG.$raceAff.ressources.noms.hydrogene|ucfirst} : </h5>{$ressourcesNext.2|separerNombres}</div>{/if}
|
|
|
|
<div><h5>Temps de construction : </h5>{$ressourcesNext.3}</div>
|
|
|
|
{if $caract}
|
|
|
|
<div><h5>Attaque : </h5>{$caract.0|separerNombres}</div>
|
|
|
|
<div><h5>Bouclier : </h5>{$caract.1|separerNombres}</div>
|
|
|
|
<div><h5>Point de vie : </h5>{$caract.2|separerNombres}</div>
|
|
|
|
<div><h5>Capacité de transpost : </h5>{$caract.3|separerNombres}</div>
|
2009-11-01 11:00:00 +00:00
|
|
|
{/if}
|
2020-11-15 15:12:30 +00:00
|
|
|
<div><h5>Nécessite : </h5>{$etat}</div>
|
2009-11-01 11:00:00 +00:00
|
|
|
{if $tableau_prod}
|
2020-11-15 15:12:30 +00:00
|
|
|
<br /><br /><table style="margin: auto; width: 100%;">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th colspan="5">Production et consomation théoriques</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Niveau</th>
|
|
|
|
<th>Production</th>
|
|
|
|
<th>Consomation</th>
|
|
|
|
<th>Différence prod.</th>
|
|
|
|
<th>Différence conso.</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{foreach from=$tableau_prod item=ligne}
|
|
|
|
{if $ligne.0 == $planete->$type.$id}<tr style="color: #F0F0F0;">{else}<tr>{/if}
|
|
|
|
<td style="font-weight: bold;">{$ligne.0}</td>
|
|
|
|
<td>{$ligne.1|separerNombres}</td>
|
|
|
|
<td>{$ligne.2|separerNombres}</td>
|
|
|
|
<td>{if $ligne.3 > 0}+{/if}{$ligne.3|separerNombres}</td>
|
|
|
|
<td>{if $ligne.4 > 0}+{/if}{$ligne.4|separerNombres}</td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2009-11-01 11:00:00 +00:00
|
|
|
{/if}
|
2020-11-15 15:12:30 +00:00
|
|
|
</dd>
|
|
|
|
</dl>
|
2009-11-01 11:00:00 +00:00
|
|
|
{include file='game/footer.tpl'}
|