Difference between revisions of "Template:MoveData"

From Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><!-- // Create a wikitable that holds Move Data -->{| class="wikitable" style="text-align: center; border-collapse: collapse; margin: 0em;" width="100%" ! widt...")
 
(Replaced content with "{| class="wikitable" style="text-align: center; border-collapse: collapse; margin: 0em; width: 100%" | <div>{{{input|}}}</div> <div>{{{name|}}}</div> <div>{{{altname|}}}<...")
Tag: Replaced
Line 1: Line 1:
<includeonly><!--
+
{| class="wikitable" style="text-align: center; border-collapse: collapse; margin: 0em; width: 100%"
  // Create a wikitable that holds Move Data
+
|  
-->{| class="wikitable" style="text-align: center; border-collapse: collapse; margin: 0em;" width="100%"
+
<div>{{{input|}}}</div>
! width = "180px" style="vertical-align:top;"|<!--
+
<div>{{{name|}}}</div>
  --><div><!--
+
<div>{{{altname|}}}</div>
      // Anchors
+
<div>{{{image|}}}</div>
  -->{{#if: {{{anchor|}}} | <span id="{{{anchor}}}"></span> }}<!--
+
<div>{{{hitbox|}}}</div>
  -->{{#if: {{{anchor2|}}} | <span id="{{{anchor2}}}"></span> }}<!--
 
  -->{{#if: {{{anchor3|}}} | <span id="{{{anchor3}}}"></span> }}<!--
 
  -->{{#if: {{{anchor4|}}} | <span id="{{{anchor4}}}"></span> }}<!--
 
  -->{{#if: {{{anchor5|}}} | <span id="{{{anchor5}}}"></span> }}<!--
 
     
 
      // If name
 
  -->{{#if: {{{name|}}}<!--
 
        // Then if linkname
 
      -->| <big>{{#if: {{{linkname|}}}<!--
 
            // Display linked name
 
        -->| [[#{{{linkname}}}{{!}}{{{name}}}]]<!--
 
            // Else just display name
 
        -->| {{{name}}} }}</big><!--
 
       
 
        // If subtitle
 
      -->{{#if:{{{subtitle|}}}<!--
 
            // Display subtitle
 
        -->|<br/><small>{{{subtitle}}}</small>}}<!--
 
       
 
        // Display input
 
      -->{{#if:{{{input|}}}|<br/><small>{{{input}}}</small>}}<!--
 
           
 
      // Else if no name, if input
 
  -->| {{#if: {{{input|}}}<!--
 
        // If link name, then display linkname on input
 
      -->| <big>{{#if: {{{linkname|}}} | [[#{{{linkname}}}{{!}}{{{input}}}]]<!--
 
        // Else just display the input and if subtitle, also display subtitle
 
      -->| {{{input}}} }}</big>{{#if:{{{subtitle|}}}|<br/><small>{{{subtitle}}}</small>}} }}<!--
 
       
 
      // End if name
 
  -->}}<!--
 
  --></div><!--
 
 
 
  === IMAGE 1 ===
 
  // If image name given
 
-->{{#if:{{{image|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption|}}}|<div class=caption><small>{{{caption}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption|{{{caption|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption|{{{caption}}}}}}</small></div>}}<!--
 
  
  --><div><!--
+
| rowspan="2" style="text-align:center; vertical-align:top; padding:0px; height: 100%" |
      // If name
 
  -->{{#if: {{{name2|}}} | <big>{{{name2}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle2|}}} | {{#if: {{{name2|}}} | <br/> }}<small>{{{subtitle2}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input2|}}} | {{#if: {{{name2|{{{subtitle2|}}}}}} | <br/> }}<small>{{{input2}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 2 ===
 
  // If image name given
 
-->{{#if:{{{image2|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image2}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize2|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox2|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox2}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize2|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption2|}}}|<div class=caption><small>{{{caption2}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption2|{{{caption2|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption2|{{{caption2}}}}}}</small></div>}}<!--
 
 
 
  --><div><!--
 
      // If name
 
  -->{{#if: {{{name3|}}} | <big>{{{name3}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle3|}}} | {{#if: {{{name3|}}} | <br/> }}<small>{{{subtitle3}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input3|}}} | {{#if: {{{name3|{{{subtitle3|}}}}}} | <br/> }}<small>{{{input3}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 3 ===
 
  // If image name given
 
-->{{#if:{{{image3|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image3}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize3|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox3|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox3}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize3|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption3|}}}|<div class=caption><small>{{{caption3}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption3|{{{caption3|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption3|{{{caption3}}}}}}</small></div>}}<!--
 
 
 
  --><div><!--
 
      // If name
 
  -->{{#if: {{{name4|}}} | <big>{{{name4}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle4|}}} | {{#if: {{{name4|}}} | <br/> }}<small>{{{subtitle4}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input4|}}} | {{#if: {{{name4|{{{subtitle4|}}}}}} | <br/> }}<small>{{{input4}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 4 ===
 
  // If image name given
 
-->{{#if:{{{image4|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image4}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize4|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox4|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox4}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize4|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption4|}}}|<div class=caption><small>{{{caption4}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption4|{{{caption4|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption4|{{{caption4}}}}}}</small></div>}}<!--
 
 
 
  --><div><!--
 
      // If name
 
  -->{{#if: {{{name5|}}} | <big>{{{name5}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle5|}}} | {{#if: {{{name5|}}} | <br/> }}<small>{{{subtitle5}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input5|}}} | {{#if: {{{name5|{{{subtitle5|}}}}}} | <br/> }}<small>{{{input5}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 5 ===
 
  // If image name given
 
-->{{#if:{{{image5|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image5}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize5|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox5|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox5}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize5|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption5|}}}|<div class=caption><small>{{{caption5}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption5|{{{caption5|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption5|{{{caption5}}}}}}</small></div>}}<!--
 
 
 
  --><div><!--
 
      // If name
 
  -->{{#if: {{{name6|}}} | <big>{{{name6}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle6|}}} | {{#if: {{{name6|}}} | <br/> }}<small>{{{subtitle6}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input6|}}} | {{#if: {{{name6|{{{subtitle6|}}}}}} | <br/> }}<small>{{{input6}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 6 ===
 
  // If image name given
 
-->{{#if:{{{image6|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image6}}} | {{#if:{{{resizeImage|yes}}}|{{{imageSize6|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox6|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox6}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize6|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption6|}}}|<div class=caption><small>{{{caption6}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption6|{{{caption6|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption6|{{{caption6}}}}}}</small></div>}}<!--
 
 
 
  --><div><!--
 
      // If name
 
  -->{{#if: {{{name7|}}} | <big>{{{name7}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle7|}}} | {{#if: {{{name7|}}} | <br/> }}<small>{{{subtitle7}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input7|}}} | {{#if: {{{name7|{{{subtitle7|}}}}}} | <br/> }}<small>{{{input7}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 7 ===
 
  // If image name given
 
-->{{#if:{{{image7|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image7}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize7|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox7|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox7}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize7|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption7|}}}|<div class=caption><small>{{{caption7}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption7|{{{caption7|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption7|{{{caption7}}}}}}</small></div>}}<!--
 
 
 
  --><div><!--
 
      // If name
 
  -->{{#if: {{{name8|}}} | <big>{{{name8}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle8|}}} | {{#if: {{{name8|}}} | <br/> }}<small>{{{subtitle8}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input8|}}} | {{#if: {{{name8|{{{subtitle8|}}}}}} | <br/> }}<small>{{{input8}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 8 ===
 
  // If image name given
 
-->{{#if:{{{image8|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image8}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize8|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox8|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox8}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize8|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption8|}}}|<div class=caption><small>{{{caption8}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption8|{{{caption8|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption8|{{{caption8}}}}}}</small></div>}}<!--
 
 
 
  --><div><!--
 
      // If name
 
  -->{{#if: {{{name9|}}} | <big>{{{name9}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle9|}}} | {{#if: {{{name9|}}} | <br/> }}<small>{{{subtitle9}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input9|}}} | {{#if: {{{name7|{{{subtitle9|}}}}}} | <br/> }}<small>{{{input9}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 9 ===
 
  // If image name given
 
-->{{#if:{{{image9|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image9}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize9|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox9|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox9}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize9|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption9|}}}|<div class=caption><small>{{{caption9}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption9|{{{caption9|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption9|{{{caption9}}}}}}</small></div>}}<!--
 
 
 
  --><div><!--
 
      // If name
 
  -->{{#if: {{{name10|}}} | <big>{{{name10}}}</big> }}<!--
 
       
 
      // If subtitle
 
  -->{{#if: {{{subtitle10|}}} | {{#if: {{{name10|}}} | <br/> }}<small>{{{subtitle10}}}</small> }}<!--
 
       
 
      // Display input
 
  -->{{#if: {{{input10|}}} | {{#if: {{{name7|{{{subtitle10|}}}}}} | <br/> }}<small>{{{input10}}}</small> }}<!--
 
  --></div><!--
 
  === IMAGE 10 ===
 
  // If image name given
 
-->{{#if:{{{image10|}}}<!--
 
      // Display that image
 
  -->| <div {{#if:{{{hitbox|}}}|class="move-image"}}>[[File:{{{image10}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if image
 
-->}}<!--
 
  // If hitbox given
 
-->{{#if: {{{hitbox10|}}}<!--
 
      // Display hitbox image
 
  -->| <div class="hitbox-image">[[File:{{{hitbox10}}} | {{#ifeq:{{{resizeImage|yes}}}|yes|{{{imageSize10|175x250px}}}}} | center|class=lazyimg]]</div><!--
 
  // End if hitbox
 
-->}}<!--
 
  // If caption, display caption
 
-->{{#if:{{{caption10|}}}|<div class=caption><small>{{{caption10}}}</small></div>}}<!--
 
  // If hitboxCaption given
 
-->{{#if: {{{hitboxCaption10|{{{caption10|}}}}}}|<div class=hitbox-caption><small>{{{hitboxCaption10|{{{caption10}}}}}}</small></div>}}<!--
 
 
 
 
 
// AttackData section -->
 
| {{#if:{{{hitbox|}}}|rowspan="2"}} style="text-align:{{#if:{{{textonly|}}}|left|center}}; vertical-align:top; padding:{{#if:{{{textonly|}}}|0.2em;|0px;}}" height="100%"|
 
 
{| class="wikitable" style="text-align:center; border-collapse:collapse; border-style:hidden; margin:0em;" width="100%"
 
{| class="wikitable" style="text-align:center; border-collapse:collapse; border-style:hidden; margin:0em;" width="100%"
 
{{{data|}}}
 
{{{data|}}}
|}<!--
+
|}
// End AttackData section
 
  
// Hitbox display button toggle section-->
+
|}
|- style="vertical-align:bottom;"
 
{{#if: {{{hitbox|}}} |<!--
 
-->! style="border-top-style:none; text-align:center;" {{!}} <div class="hitbox-toggle-off" style="margin:auto;">Toggle Hitboxes</div><div class="hitbox-toggle-on" style="margin:auto;">Toggle Hitboxes</div>}}
 
|}</includeonly>
 

Revision as of 22:37, 23 February 2022