1 [% META title = 'Planet stats' %]
2 [% PROCESS inc/stats.tt2 %]
7 <tr><th>Tick</th><th>Type</th><th>Amount</th></tr>
8 [% FOR pd IN planetdata %]
9 <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
10 <td>[% pd.tick %]</td>
11 <td>[% pd.category %] [% pd.name %]</td>
12 <td>[% comma(pd.amount) %]</td>
18 <div class="leftinfo">
20 <tr><th>Tick</th><th>Value</th><th>Gain</th></tr>
23 <td>[% v.tick %]</td><td>[% v.value %]</td>
24 <td class="[% v.gain < 0 ? 'Attack' : 'Defend' %]">[% v.gain %]</td>
29 <div class="leftinfo">
32 <tr><th>Tick</th><th>Scan</th></tr>
34 <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
36 <td><a href="http://game.planetarion.com/showscan.pl?scan_id=[% s.scan_id %]" rel="external">[% s.type %]</a></td>
40 <tr><th>Tick</th><th>Coords</th></tr>
41 [% FOR coords IN oldcoords %]
43 <td>[% coords.tick %]</td>
44 <td>[% coords.x %]:[% coords.y %]:[% coords.z %]</td>
50 <div class="leftinfo">
51 <p>Outgoing fleets</p>
52 [% PROCESS inc/missionlist.tt2 missions=outgoings %]
53 <p>Incoming fleets</p>
54 [% PROCESS inc/missionlist.tt2 missions=incomings %]
58 <div class="leftinfo">
59 <img class="graph" src="[% c.uri_for('/graphs/planetstats',p.id,STICK) %]" alt="stats" height="300" width="500">
60 <img class="graph" src="[% c.uri_for('/graphs/planetranks',p.id,STICK) %]" alt="ranks" height="300" width="500">