Changeset 406 for veekun/trunk/templates/dex/common.tt
- Timestamp:
- 02/08/08 02:44:39 (11 months ago)
- Files:
-
- 1 modified
-
veekun/trunk/templates/dex/common.tt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
veekun/trunk/templates/dex/common.tt
r393 r406 15 15 16 16 [%# creates most of the columns in the move table %] 17 [% MACRO move_cells(move id) BLOCK %][%# moveid%]18 [% type = MoveData.$move id.type %]17 [% MACRO move_cells(move_id) BLOCK %] 18 [% type = MoveData.$move_id.type %] 19 19 [% type_bg = (type == '?????') ? 'none' : type %] 20 [% power = MoveData.$move id.power %]21 [% kind = MoveData.$move id.kind %]20 [% power = MoveData.$move_id.power %] 21 [% kind = MoveData.$move_id.kind %] 22 22 [% IF power == 1 %] 23 23 [% power = 'varies' %] … … 25 25 [% power = '--' %] 26 26 [% END %] 27 <td class="name"> <a href="[% dex_uri('moves', MoveData.$move id.name) %]">[% MoveData.$moveid.name %]</a> </td>27 <td class="name"> <a href="[% dex_uri('moves', MoveData.$move_id.name) %]">[% MoveData.$move_id.name %]</a> </td> 28 28 [% IF type == '?????' %] 29 29 <td class="type"><img src="/dex-images/gameui/iiam.png" alt="?????" title="?????"/></td> … … 31 31 <td class="type">[% type_name(type) %]</td> 32 32 [% END %] 33 <td class="type"> <img src="/dex-images/gameui/[% MoveData.$move id.class %].png" alt="[% MoveData.$moveid.class %]" title="[% MoveData.$moveid.class %]"/> </td>34 <td class="pp"> [% MoveData.$move id.pp %] </td> <td class="power"> [% power %] </td> <td class="acc"> [% MoveData.$moveid.acc %]%</td> <td class="priority"> [% MoveData.$moveid.priority || '' %]</td>35 <td class="blurb"> [% MoveData.$move id.blurb %] </td>33 <td class="type"> <img src="/dex-images/gameui/[% MoveData.$move_id.class %].png" alt="[% MoveData.$move_id.class %]" title="[% MoveData.$move_id.class %]"/> </td> 34 <td class="pp"> [% MoveData.$move_id.pp %] </td> <td class="power"> [% power %] </td> <td class="acc"> [% MoveData.$move_id.accuracy %]%</td> <td class="priority"> [% MoveData.$move_id.priority || '' %]</td> 35 <td class="blurb"> [% MoveData.$move_id.blurb %] </td> 36 36 [%+ END %] 37 37 … … 44 44 [%# creates most of the columns in the move table %] 45 45 [% MACRO contest_cells(move) BLOCK %] 46 [% move id = move.id %]47 [% power = MoveData.$move id.power %]48 [% kind = MoveData.$move id.kind %]46 [% move_id = move.id %] 47 [% power = MoveData.$move_id.power %] 48 [% kind = MoveData.$move_id.kind %] 49 49 [% IF power < 2 %] 50 50 [% FOREACH flag IN PowerLabels %] … … 53 53 [% SET power = '?! (error!)' IF !power %] 54 54 [% END %] 55 <td> <a href="[% dex_uri('moves', MoveData.$move id.name) %]">[% MoveData.$moveid.name %]</a> </td>56 <td class="type"><img src="/dex-images/gameui/[% move.cont ype %].png" alt="[% move.contype %]" title="[% move.contype %]"/></td>55 <td> <a href="[% dex_uri('moves', MoveData.$move_id.name) %]">[% MoveData.$move_id.name %]</a> </td> 56 <td class="type"><img src="/dex-images/gameui/[% move.contest_type %].png" alt="[% move.contest_type %]" title="[% move.contest_type %]"/></td> 57 57 <td class="contest"> 58 58 [% move.contest.appeal %] … … 85 85 <td class="type"> [% type_name(pokemon.type2) IF pokemon.type2 %] </td> 86 86 </td> 87 <td class="gender">[% gender_text(pokemon.gender , 1) %]</td>87 <td class="gender">[% gender_text(pokemon.gender_rate, 1) %]</td> 88 88 <td class="breeds"> 89 89 [% FOREACH b IN pokemon.breeds %]
