forked from halo-battle/game
Version 1.13a
This commit is contained in:
parent
de31cd3e9a
commit
ba8f323879
1634 changed files with 10080 additions and 213021 deletions
|
|
@ -1,130 +1,47 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Détails {$type} : {$LANG.$raceAff.$type.noms_sing.$id}</h2>
|
||||
<table style="width: 400px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 120px;"><img src="{$url_images}images/{$type}/{$image}" alt="{$type|ucfirst}" /></td>
|
||||
<td><b>{$LANG.$raceAff.$type.noms_sing.$id|ucfirst}</b><br />Actuellement : {if $type != 'vaisseaux' && $type != 'terrestre' && $type != 'caserne'}niveau{/if} {$planete->$type.$id}{if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'} unités{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{$LANG.$raceAff.$type.descriptions.$id}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Coûts {if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'}unité{else}prochain niveau{/if}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{if $ressourcesNext.0}
|
||||
<tr>
|
||||
<th>{$LANG.$raceAff.ressources.noms.metal|ucfirst}</th>
|
||||
<td>{$ressourcesNext.0|separerNombres}</td>
|
||||
</tr>
|
||||
<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>
|
||||
{/if}
|
||||
{if $ressourcesNext.1}
|
||||
<tr>
|
||||
<th>{$LANG.$raceAff.ressources.noms.cristal|ucfirst}</th>
|
||||
<td>{$ressourcesNext.1|separerNombres}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $ressourcesNext.2}
|
||||
<tr>
|
||||
<th>{$LANG.$raceAff.ressources.noms.hydrogene|ucfirst}</th>
|
||||
<td>{$ressourcesNext.2|separerNombres}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<th>Temps</th>
|
||||
<td>{$ressourcesNext.3|separerNombres}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<div><h5>Nécessite : </h5>{$etat}</div>
|
||||
{if $tableau_prod}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
{elseif $caract}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Caractéristiques</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Attaque</th>
|
||||
<td>{$caract.0|separerNombres}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Bouclier</th>
|
||||
<td>{$caract.1|separerNombres}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Points de vie</th>
|
||||
<td>{$caract.2|separerNombres}</td>
|
||||
</tr>
|
||||
{if $caract.3}
|
||||
<tr>
|
||||
<th>Capacité de transport</th>
|
||||
<td>{$caract.3|separerNombres}</td>
|
||||
</tr>
|
||||
<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>
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Requiert</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{$etat}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
{include file='game/footer.tpl'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue