Template:ComboData: Difference between revisions

Template page
(Continuing to learn. Crazy notes to self added.)
(I was overthinking it- it would have worked find the first time if I didn't break it coming from notepad++ ;-; all good now!)
Line 1: Line 1:
<includeonly><templatestyles src="MoveData/styles.css"/><div class="movedata-box"><div class="movedata-iconscol"><div style="margin-bottom:5px;">{{#if: {{{name|}}} | <big>{{{name}}}</big>{{#if:{{{subtitle|}}}|<br/><small>{{{subtitle|}}}</small>}}{{#if:{{{input|}}}|<br/><small>{{{input|}}}</small>}} | {{#if: {{{input|}}} | <big>{{{input}}}</big>{{#if:{{{subtitle|}}}|<br/><small>{{{subtitle}}}</small>}} }} }}</div>
<includeonly><templatestyles src="MoveData/styles.css"/><div class="movedata-box"><div class="movedata-iconscol"><div style="margin-bottom:5px;">{{#if: {{{name|}}} | <big>{{{name}}}</big>{{#if:{{{subtitle|}}}|<br/><small>{{{subtitle|}}}</small>}}{{#if:{{{input|}}}|<br/><small>{{{input|}}}</small>}} | {{#if: {{{input|}}} | <big>{{{input}}}</big>{{#if:{{{subtitle|}}}|<br/><small>{{{subtitle}}}</small>}} }} }}</div>
<div class="movedata-iconsbox"><div>{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imageSize|480x360px}}}|center|class=moveimg]] {{#if:{{{caption|}}}|<span class=caption><small>{{{caption|}}}</small></span>|}}|}}</div><div>
<div class="movedata-iconsbox"><div>{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imageSize|480x360px}}}|center|class=moveimg]] {{#if:{{{caption|}}}|<span class=caption><small>{{{caption|}}}</small></span>|}}|}}</div>
</div><div class="movedata-datacol">
</div></div><div class="movedata-datacol">
{| class="wikitable movedata-datatable"
{| class="wikitable movedata-datatable"
{{{data|}}}
{{{data|}}}
|}</div></div></div></includeonly>
|}</div></div></div></includeonly>
<noinclude>
<noinclude>
----
==What is this==
==What is this==


Well, for now, I'm breakin' things, BUT: Adapted from movedata and attackdata- movedata doesn't play very nicely with larger embedded video sizes due to formatting for a specific image size, so HOPEFULLY, this will use a very similar and recognizable format compared to movedata, but be formatted for short combo videos with large spaces for notation. This will hopefully allow for combo lists to both include example videos AND be categorized/displayed similarly to frame data. No more scrolling through 5 minutes and 27 seconds into a youtube video to find a specific combo actually being performed- it's just RIGHT THERE next to the notation on the wiki.
Adapted from movedata and attackdata- movedata doesn't play very nicely with larger embedded video sizes due to formatting for a specific image size, so this will use a very similar and recognizable format compared to movedata, but be formatted for short combo videos with large dedicated spaces for notation. This will allow for combo lists to both include example videos AND be categorized/displayed similarly to frame data. No more scrolling through 5 minutes and 27 seconds into a youtube video to find a specific combo actually being performed- it's just '''''RIGHT THERE''''' next to the notation on the wiki.
 
Edit: So it KINDA works...video is bigger now, and combodata-pj is filling, but video needs to be pushed over/formatted correctly, and the combodata needs to be resized properly. ho-hum-ho-hum
 
Edit2: prooooobably gonna have to actually make a combodata/styles.css in order to fix a few of these things :thonk: need to open this up a little further and get that vid moved left, then adjust combo data afterwards. My minds eye will continue to expand
==Examples==
==Examples==
  <nowiki>{{ComboData
  <nowiki>{{ComboData
|video=Ken_Gill_DP.mp4
|video=Ken_Gill_DP.mp4
|caption=
|caption=A small caption
|name=
|name=A Short<br>Combo Video
|data=
|data=
  {{ComboData-PJ
  {{ComboData-PJ
  |Notation= {{lk}} xx wait xx {{dp}}{{lp}}
  |Notation= {{lk}} {{ --- }} wait {{ --- }} {{dp}}{{lp}}
  |Damage= 10,000
  |Damage= 10,000
  |Stun= Not makoto
  |Stun= 99
  |description= Is there a video here?
  |Description=Here's the Description!
  }}
  }}
}}</nowiki>
}}</nowiki>
Line 31: Line 29:
{{ComboData
{{ComboData
|image=Ken_Gill_DP.mp4
|image=Ken_Gill_DP.mp4
|caption=CapTest
|caption=A small caption
|name=NameTest
|name=A Short<br>Combo Video
|data=
|data=
  {{ComboData-PJ
  {{ComboData-PJ
  |Notation= {{lk}} xx wait xx {{dp}}{{lp}}
  |Notation= {{lk}} {{ --- }} wait {{ --- }} {{dp}}{{lp}}
  |Damage= 10,000
  |Damage=10,000
  |Stun= Not makoto
  |Stun=99
  |description= Is there a video here?
  |Description=Here's the Description!
  }}
  }}
}}
}}
</noinclude>
</noinclude>

Revision as of 21:22, 16 September 2021



What is this

Adapted from movedata and attackdata- movedata doesn't play very nicely with larger embedded video sizes due to formatting for a specific image size, so this will use a very similar and recognizable format compared to movedata, but be formatted for short combo videos with large dedicated spaces for notation. This will allow for combo lists to both include example videos AND be categorized/displayed similarly to frame data. No more scrolling through 5 minutes and 27 seconds into a youtube video to find a specific combo actually being performed- it's just RIGHT THERE next to the notation on the wiki.

Examples

{{ComboData
|video=Ken_Gill_DP.mp4
|caption=A small caption
|name=A Short<br>Combo Video
|data=
 {{ComboData-PJ
 |Notation= {{lk}} {{ --- }} wait {{ --- }} {{dp}}{{lp}}
 |Damage= 10,000
 |Stun= 99
 |Description=Here's the Description!
 }}
}}


Output 1:

A Short
Combo Video
Notation
Lk.png ---.png wait ---.png Dp.pngLp.png
Damage Hits Meter Use Stun
10,000 - - 99

Here's the Description!