Template:Move Infobox: Difference between revisions

From Pixelrus
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 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"/>
<!--
* `{{lc:...}}` lowers the move type (e.g. Grass → grass)
* `{{{{lc:...}} color dark}}` transcludes template “grass color dark”
  which returns the dark hex code.  Same idea for normal/light.
-->
 
<table class="pkmn-infobox move-infobox"
       style="
       style="
         /* outer dark border */
         /* outer dark border */
Line 14: Line 6:
         box-shadow:0 0 0 3px #{{{{lc:{{{type|Normal}}}}} color}} inset;
         box-shadow:0 0 0 3px #{{{{lc:{{{type|Normal}}}}} color}} inset;
         /* light background */
         /* light background */
         background-color:#{{{{lc:{{{type|Normal}}}}} color light}};
         background-color:#{{{{lc:{{{type|Normal}}}}} color light}};">
      ">
   <!-- title bar -->
 
   <!-- title bar: uses the *normal* shade -->
   <tr>
   <tr>
     <th colspan="2" class="header-main"style="background-color:#{{{{lc:{{{type|Normal}}}}} color}};">{{{name}}}
     <th colspan="2" class="header-main"style="background-color:#{{{{lc:{{{type|Normal}}}}} color}};">{{{name}}}
Line 28: 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>
 
  <!-- optional targeting grid (nested table) -->
</table>
  {{#if:{{{target|}}}|<tr><th scope="row" colspan="2" style="text-align: center;">Targeting</th></tr>}}
</includeonly>
  {{#if:{{{target|}}}|<tr><td colspan="2" style="padding:4px 2px;">{{{target}}}</td></tr>}}
<noinclude>{{documentation}}</noinclude>
</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