Template:Move Infobox: Difference between revisions

From Pixelrus
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><templatestyles src="Template:Move_Infobox/styles.css"/><table class="pkmn-infobox move-infobox"
<templatestyles src="Template:Move_Infobox/styles.css"/>
      style="
{{#vardefine:dark | {{ {{lc:{{{type}}}}} color dark }} }}
        /* outer dark border */
{{#vardefine:normal | {{ {{lc:{{{type}}}}} color }} }}
        border-color:#{{{{lc:{{{type|Normal}}}}} color dark}};
{{#vardefine:light | {{ {{lc:{{{type}}}}} color light }} }}
        /* inner normal border */
<table class="pkmn-infobox move-infobox"
        box-shadow:0 0 0 3px #{{{{lc:{{{type|Normal}}}}} color}} inset;
      style="border-color:#{{{dark|4CAF50}}};">
        /* light background */
   <!-- title bar (type-coloured) -->
        background-color:#{{{{lc:{{{type|Normal}}}}} color light}};">
   <!-- title bar -->
   <tr>
   <tr>
     <th colspan="2" class="header-main"style="background-color:#{{{color|4CAF50}}};">{{{name}}}
     <th colspan="2" class="header-main"style="background-color:#{{{{lc:{{{type|Normal}}}}} color}};">{{{name}}}
     </th>
     </th>
   </tr>
   </tr>
   <!-- core fields -->
   <!-- core fields -->
   <tr><th scope="row">Type</th>      <td>{{{type|—}}}</td></tr>
   <tr><th scope="row">Type</th>      <td>{{{type|—}}}</td></tr>
Line 18: Line 18:
   <tr><th scope="row">Accuracy</th>  <td>{{{accuracy|—}}}</td></tr>
   <tr><th scope="row">Accuracy</th>  <td>{{{accuracy|—}}}</td></tr>
   <tr><th scope="row">PP</th>        <td>{{{pp|—}}}</td></tr>
   <tr><th scope="row">PP</th>        <td>{{{pp|—}}}</td></tr>
</table>
  <!-- optional targeting grid (nested table) -->
</includeonly>
  {{#if:{{{target|}}}|<tr><th scope="row" colspan="2" style="text-align: center;">Targeting</th></tr>}}
  {{#if:{{{target|}}}|<tr><td colspan="2" style="padding:4px 2px;">{{{target}}}</td></tr>}}
</table></includeonly>
<noinclude>{{Move Infobox|name=Growl|type=Normal|category=Status|power=—|accuracy=100|pp=40|target={{Move Target Grid|hitsAll=1|hitsOppositeFoe=1|hitsAdjacentFoe=1|hitsExtendedFoe=|hitsSelf=|hitsAdjacentAlly=|hitsExtendedAlly=}}}}{{Move Infobox|name=Growl|type=Normal|category=Status|power=—|accuracy=100|pp=40|target={{Move Target Grid|hitsAll=1|hitsOppositeFoe=1|hitsAdjacentFoe=1|hitsExtendedFoe=|hitsSelf=|hitsAdjacentAlly=|hitsExtendedAlly=}}}}{{Move Infobox|name=Growl|type=Normal|category=Status|power=—|accuracy=100|pp=40|target={{Move Target Grid|hitsAll=1|hitsOppositeFoe=1|hitsAdjacentFoe=1|hitsExtendedFoe=|hitsSelf=|hitsAdjacentAlly=|hitsExtendedAlly=}}}}</noinclude>

Latest revision as of 05:28, 17 June 2025

Growl
Type Normal
Category Status
Power —
Accuracy 100
PP 40
Targeting
Opponent Opponent Opponent
Self Ally Ally
Growl
Type Normal
Category Status
Power —
Accuracy 100
PP 40
Targeting
Opponent Opponent Opponent
Self Ally Ally
Growl
Type Normal
Category Status
Power —
Accuracy 100
PP 40
Targeting
Opponent Opponent Opponent
Self Ally Ally