]> ruin.nu Git - ndwebbie.git/blob - root/src/stats/find.tt2
Search for planet stats by nick
[ndwebbie.git] / root / src / stats / find.tt2
1 [% META title = 'Find' %]
2
3 <p>Could not find a single planet matching: &quot;[% searchterm | html %]&quot;</p>
4
5 [% IF planets %]
6 <table>
7         <tr><th>Coords</th><th>Nick</th></tr>
8         [% FOR p IN planets %]
9         <tr>
10                 <td><a href="[% c.uri_for('planet',p.id) %]">[% p.coords %]</a></td>
11                 <td>[% p.nick %]</td>
12         </tr>
13         [% END %]
14 </table>
15 [% END %]
16
17
18 <p>The following syntaxes are possible:</p>
19 <ul>
20         <li>X:Y:Z tick (i.e. &quot;1:1:1 37&quot;) Finds the planet that had the coords at the specified tick</li>
21         <li>X:Y:Z (i.e.  &quot;1:1:1&quot;) Finds the planet that had the coords at the current tick</li>
22         <li>X:Y (i.e.  &quot;1:1&quot;) Finds a galaxy</li>
23         [% IF c.check_user_roles('stats_find_nick') %]
24         <li>A nick, with or without wildcard like %</li>
25         [% END %]
26 </ul>
27