Changeset 105
- Timestamp:
- 04/21/07 04:34:32 (3 years ago)
- Location:
- veekun/branches/layout/templates
- Files:
-
- 2 modified
-
dex/list/types.tt (modified) (1 diff)
-
style/dex.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
veekun/branches/layout/templates/dex/list/types.tt
r31 r105 1 [% PROCESS 'dex/common.tt' %] 2 1 3 <h1>Type Chart</h1> 2 <p> Values are for a move with the type on the left attacking a Pokémon with a type on the top. For a Pokémon with two types, look up each of its types individually and multiply.</p>4 <p>These modifiers are for a move with the type from the left attacking a Pokémon with the type from the top. For a Pokémon with two types, look up the modifier for each of its types and multiply them.</p> 3 5 <p>Highlighted cells are those that changed after RBY; the tooltip contains the old value.</p> 4 <table class="dex-typelist" cellspacing="1"> 5 <tr><th></th> 6 <p>Also, this page doesn't fit on 800x600 and I'm not sure how to fix it.</p> 7 <table class="dex-table" cellspacing="0"> 8 <tr class="heading"><th></th> 6 9 [% FOREACH type IN TypeNames %] 7 <th ><a href="[% dex_uri('types', type) %]"><img src="/dex-images/typeicons/[% type %].png" alt="[% type %]" title="[% type %]"/></a></th>10 <th class="type">[% type_name(type) %]</th> 8 11 [% END %] 9 12 </tr> 13 [% color = 1 %] 10 14 [% FOREACH type_atk IN TypeNames %] 11 <tr >12 <th class=" left"><a href="[% dex_uri('types', type_atk) %]"><img src="/dex-images/typeicons/[% type_atk %].png" alt=""/> [%+ type_atk %]</a></th>15 <tr class="color[% color %]"> 16 <th class="type">[% type_name(type_atk) %]</th> 13 17 [% FOREACH type_def IN TypeNames %] 14 18 [% effect = type_effect(type_atk, type_def) %] 15 19 [% old_effect = type_effect_old(type_atk, type_def) %] 16 <td class="type mod-[% effect %][% " typemod-changed" IF effect != old_effect %]" title="[% type_atk %] is [% effect %]% effective against [% type_def %][% "; " _ old_effect _ "% in RBY" IF effect != old_effect %]">[%ModLabels.$effect %]</td>20 <td class="type typemod-[% effect %][% " typemod-changed" IF effect != old_effect %]" title="[% type_atk %] is [% effect %]% effective against [% type_def %][% "; " _ old_effect _ "% in RBY" IF effect != old_effect %]">[% effect == 100 ? '-' : ModLabels.$effect %]</td> 17 21 [% END %] 18 22 </tr> 23 [% color = 3 - color %] 19 24 [% END %] 20 25 </table> -
veekun/branches/layout/templates/style/dex.tt
r101 r105 4 4 .typemod-400 { color: #a64b4b; } 5 5 .typemod-200 { color: #a64b8f; } 6 .typemod-100 { color: # 4b4ba6; }6 .typemod-100 { color: #a6a6a6; } 7 7 .typemod-50 { color: #4b8fa6; } 8 8 .typemod-25 { color: #4ba64b; } 9 .typemod-0 { color: # a6a6a6; }9 .typemod-0 { color: #000000; } 10 10 .typemod-na { color: #535353; } 11 .typemod-400, .typemod-200, .typemod-100, .typemod-50, .typemod-25, .typemod-0 { font-weight: bold; } 11 .typemod-400, .typemod-200, /* .typemod-100, */ .typemod-50, .typemod-25, .typemod-0 { font-weight: bold; } 12 .typemod-changed { background: url(/images/bg-fade.png) #f2d3c9 fixed left bottom no-repeat; } 12 13 13 14 p.dex-navigation { text-align: center; position: relative; padding: 0.25em; }
