1 [% META title = 'Alliance Rankings' %]
2 <p><a href="[% c.uri_for('alliances', order, offset - 100) %]">Previous 100</a>
3 <a href="[% c.uri_for('alliances', order, offset + 100) %]">Next 100</a>
6 <tr align="center"><th colspan="2">Rank</th>
9 <th><a href="[% c.uri_for('alliances', 'sizerank', offset) %]">Size</a></th>
10 <th><a href="[% c.uri_for('alliances', 'scorerank', offset) %]">Score</a></th>
12 <th><a href="[% c.uri_for('alliances', 'members', offset) %]">Members</a></th>
13 <th><a href="[% c.uri_for('alliances', 'sizerank', offset) %]">Size</a></th>
14 <th><a href="[% c.uri_for('alliances', 'scorerank', offset) %]">Score</a></th>
15 <th><a href="[% c.uri_for('alliances', 'avgsize', offset) %]">Avg Size</a></th>
16 <th><a href="[% c.uri_for('alliances', 'avgscore', offset) %]">Avg Score</a></th>
18 [% FOR a IN alliances %]
19 <tr align="right" class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
20 [% a.sizerankimg = (a.sizerank_gain_day == 0 ? 'stay' : (a.sizerank_gain_day < 0 ? 'up' : 'down')) %]
21 <td title="[% a.sizerank_gain_day %] Today | [% a.sizerank_gain %] Tick">[% a.sizerank %] <img src="/static/images/[% a.sizerankimg %].png" alt="[% a.sizerankimg %]"> </td>
22 [% a.scorerankimg = (a.scorerank_gain_day == 0 ? 'stay' : (a.scorerank_gain_day < 0 ? 'up' : 'down')) %]
23 <td title="[% a.scorerank_gain_day %] Today | [% a.scorerank_gain %] Tick">[% a.scorerank %] <img src="/static/images/[% a.scorerankimg %].png" alt="[% a.scorerankimg %]"> </td>
24 <td align="center">[% a.name %]</td>
25 [% a.membersimg = (a.members_gain_day == 0 ? 'stay' : (a.members_gain_day > 0 ? 'up' : 'down')) %]
26 <td title="[% a.members_gain_day %] Today | [% a.members_gain %] Tick">[% a.members %] <img src="/static/images/[% a.membersimg %].png" alt="[% a.membersimg %]"> </td>
27 [% a.sizeimg = (a.size_gain_day == 0 ? 'stay' : (a.size_gain_day > 0 ? 'up' : 'down')) %]
28 <td title="[% comma(a.size_gain_day) %] Today | [% comma(a.size_gain) %] Tick">[% comma(a.size) %] <img src="/static/images/[% a.sizeimg %].png" alt="[% a.sizeimg %]"> </td>
29 [% a.scoreimg = (a.score_gain_day == 0 ? 'stay' : (a.score_gain_day > 0 ? 'up' : 'down')) %]
30 <td title="[% comma(a.score_gain_day) %] Today | [% comma(a.score_gain) %] Tick">[% comma(a.score) %] <img src="/static/images/[% a.scoreimg %].png" alt="[% a.scoreimg %]"> </td>
31 [% a.avgsizeimg = (a.avgsize_gain_day == 0 ? 'stay' : (a.avgsize_gain_day > 0 ? 'up' : 'down')) %]
32 <td title="[% comma(a.avgsize_gain_day) %] Today | [% comma(a.avgsize_gain) %] Tick">[% comma(a.avgsize) %] <img src="/static/images/[% a.avgsizeimg %].png" alt="[% a.avgsizeimg %]"> </td>
33 [% a.avgscoreimg = (a.avgscore_gain_day == 0 ? 'stay' : (a.avgscore_gain_day > 0 ? 'up' : 'down')) %]
34 <td title="[% comma(a.avgscore_gain_day) %] Today | [% comma(a.avgscore_gain) %] Tick">[% comma(a.avgscore) %] <img src="/static/images/[% a.avgscoreimg %].png" alt="[% a.avgscoreimg %]"> </td>
38 <p><a href="[% c.uri_for('alliances', order, offset - 100) %]">Previous 100</a>
39 <a href="[% c.uri_for('alliances', order, offset + 100) %]">Next 100</a>