HB/templates/game/description.tpl

100 lines
2.4 KiB
Smarty
Raw Normal View History

2008-11-22 11:00:00 +00:00
{include file='game/header.tpl'}
<h2>Détails {$type} : {$nom}</h2>
<table style="width: 400px;">
<tbody>
<tr>
<td style="width: 120px;"><img src="images/{$type}/{$image}" alt="" /></td>
2008-09-20 10:00:00 +00:00
<td><b>{$nom}</b><br />Actuellement : {if $type != 'vaisseaux' && $type != 'terrestre' && $type != 'caserne'}niveau{/if} {$niveau}{if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'} unités{/if}</td>
2008-11-22 11:00:00 +00:00
</tr>
<tr>
<td colspan="2">{$description}</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2">
<table style="margin: auto; width: 100%;">
<thead>
<tr>
2008-09-20 10:00:00 +00:00
<th colspan="2">Coûts {if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'}unité{else}prochain niveau{/if}</th>
2008-11-22 11:00:00 +00:00
</tr>
</thead>
<tbody>
{if $ressourcesNext.0}
<tr>
<th>{$nomsressources.0}</th>
<td>{$ressourcesNext.0}</td>
</tr>
{/if}
{if $ressourcesNext.1}
<tr>
<th>{$nomsressources.1}</th>
<td>{$ressourcesNext.1}</td>
</tr>
{/if}
{if $ressourcesNext.2}
<tr>
<th>{$nomsressources.2}</th>
<td>{$ressourcesNext.2}</td>
</tr>
{/if}
<tr>
<th>Temps</th>
<td>{$ressourcesNext.3}</td>
</tr>
</tbody>
</table>
</td>
</tr>
2008-11-30 11:00:00 +00:00
{if $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}</td>
</tr>
<tr>
<th>Bouclier</th>
<td>{$caract.1}</td>
</tr>
<tr>
<th>Points de vie</th>
<td>{$caract.2}</td>
</tr>
{if $caract.3}
<tr>
<th>Capacité de transport</th>
<td>{$caract.3}</td>
</tr>
{/if}
</tbody>
</table>
</td>
</tr>
{/if}
2008-11-22 11:00:00 +00:00
<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>
{include file='game/footer.tpl'}