Template:ComboData: Difference between revisions

Template page
(Continuing to learn. Crazy notes to self added.)
(Added option to disable autoresize, documentation added, as well as restored ability to use non youtube links (shh, don't tell anyone yet- I haven't tested that ^^; archive dot org is cool tho))
 
(6 intermediate revisions by 2 users not shown)
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:{{{video|}}}|[[File:{{{video}}}|{{{imageSize|480x360px}}}|center|class=moveimg]] {{#if:{{{caption|}}}|<span class=caption><small>{{{caption|}}}</small></span>|}}|}}</div>
</div><div class="movedata-datacol">
</div>{{#if:{{{youtube|}}}|{{#evu:{{{youtube}}}|dimensions={{{dimensions}}}|urlargs=start={{{startat}}}&end={{{endat}}}|autoresize={{{autoresize|true}}}}} {{#if:{{{caption|}}}|<span class=caption><small>{{{caption|}}}</small></span>|}}|}}</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 [[Template:MoveData| MoveData]] and [[Template:AttackData-PJ| AttackData]] (links to PJs for example purposes)- 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.
<br><br>
----
<center><span style:"font-size: 1.2em;"><u>'''''NOTE!'''''</u></span></center>
 
* Further "Documentation" to come, but due to most videos reliably reaching the 2mb upload cap, videos created for combos should be at least somewhat significantly unique. If there are any small variations to the combo, the variations should be described in the description area, and NOT uploaded as an entirely separate video/template call. Example of this [[#Variation Description| Here]].


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
==Use 1:==
==Examples==
  <nowiki>
  <nowiki>{{ComboData
{{ComboData
|video=Ken_Gill_DP.mp4
|video=PJ_batsu_Combo3.mp4
|caption=
|caption=Here's the caption!
|name=
|name=Here's the name!
|data=
|data=
  {{ComboData-PJ
  {{ComboData-PJ
  |Notation= {{lk}} xx wait xx {{dp}}{{lp}}
  |Notation= {{lp}} {{lp}} {{---}} {{d}} {{hp}} {{---}} {{f}} {{hp}} {{---}} {{qcf}} {{qcf}} {{p}}
  |Damage= 10,000
  |Damage=62
  |Stun= Not makoto
|Hits=9
  |description= Is there a video here?
|Meter Use=1
  |Stun=
  |Description=Since you use {{f}}{{hp}} just before the super, sometimes you'll accidentally do {{dp}}{{hp}} '''Guts Upper''' instead. You '''''want''''' the super, but just so long as you don't drop it and they block either the super or guts upper, you will still safely reset.
  }}
  }}
}}</nowiki>
}}</nowiki>
Line 30: Line 39:
===Output 1:===
===Output 1:===
{{ComboData
{{ComboData
|image=Ken_Gill_DP.mp4
|video=PJ_batsu_Combo3.mp4
|caption=CapTest
|caption=Here's the caption!
|name=NameTest
|name=Here's the name!
|data=
{{ComboData-PJ
|Notation= {{lp}} {{lp}} {{---}} {{d}} {{hp}} {{---}} {{f}} {{hp}} {{---}} {{qcf}} {{qcf}} {{p}}
|Damage=62
|Hits=9
|Meter Use=1
|Stun=
|Description=Since you use {{f}}{{hp}} just before the super, sometimes you'll accidentally do {{dp}}{{hp}} '''Guts Upper''' instead. You '''''want''''' the super, but just so long as you don't drop it and they block either the super or guts upper, you will still safely reset.
}}
}}
 
----
 
==Variation Description==
 
See below how instead of making an entirely separate and unique video/template call for a small variation in this combo, it is instead described with the reasoning in the description. This saves on clutter, clarity, and more importantly, '''''saves on wiki storage'''''!
 
 
<nowiki>
{{ComboData
|video=PJ_batsu_Combo6.mp4
|caption=Caption for Mini-Launch Combo!
|name=Name for Mini-Launch Combo!
|data=
|data=
  {{ComboData-PJ
  {{ComboData-PJ
  |Notation= {{lk}} xx wait xx {{dp}}{{lp}}
  |Notation= {{lk}} {{---}} {{d}} {{hp}} {{---}} {{df}} {{hk}} {{---}} {{u}} {{---}} {{lp}} {{lp}} {{hp}} {{hk}} {{---}} (Air) {{f}} {{hp}}
  |Damage= 10,000
  |Damage=61
  |Stun= Not makoto
|Hits=8
  |description= Is there a video here?
|Meter Use=0
|Stun=
|Description=3{{hk}} is Batsus go-to launch mid-combo. Same damage as ending with super, but with none of the meter expense!<br><br><center><span style="font-size: 1.2em; text-decoration: underline;">NOTE!</span></center><br>1.) It's possible to start the air combo '''''TOO LOW''''', causing the later Heavy attacks to miss! Wait just a minute before you start the combo- make sure you're high enough and positioned correctly!<br><br>2.) After 3{{hk}}, you can do {{lp}}{{lk}} instead, but it does less damage then {{lp}}{{lp}}!
}}
}}
</nowiki>
 
==Variation:==
 
{{ComboData
|video=PJ_batsu_Combo6.mp4
|caption=Caption for Mini-Launch Combo!
|name=Name for Mini-Launch Combo!
|data=
{{ComboData-PJ
|Notation= {{lk}} {{---}} {{d}} {{hp}} {{---}} {{df}} {{hk}} {{---}} {{u}} {{---}} {{lp}} {{lp}} {{hp}} {{hk}} {{---}} (Air) {{f}} {{hp}}
|Damage=61
|Hits=8
|Meter Use=0
  |Stun=
  |Description=3{{hk}} is Batsus go-to launch mid-combo. Same damage as ending with super, but with none of the meter expense!<br><br><center><span style="font-size: 1.2em; text-decoration: underline;">NOTE!</span></center><br>1.) It's possible to start the air combo '''''TOO LOW''''', causing the later Heavy attacks to miss! Wait just a minute before you start the combo- make sure you're high enough and positioned correctly!<br><br>2.) After 3{{hk}}, you can do {{lp}}{{lk}} instead, but it does less damage then {{lp}}{{lp}}!
}}
}}
 
 
----
==Youtube Alternative==
<br>
If you would rather use a youtube link instead of an embedded video, you may now do so by placing a link after the "|youtube=" parser. Since the purpose of this template is to show individual combos and not entire full-length videos, it's recommended that any video link should be of the singular combo described in the cell. If it isn't, then it's highly recommended you set a start time by using the "|startat=" parser. You may also set a specific endpoint for the video to stop at using the "|endat=" Parser. Once the video has ended, however, replaying the video will start from the very beginning. This is a critical reason why using videos that <u>'''''Only'''''</u> have the combo in question on display is vastly preferred over setting a start and endpoint.
<br>
<br>
Note: Some youtube links may break inside of various containers such as [[Template:Content Box| Content Box]] (Example on [https://srk.shib.live/index.php?title=Project_Justice/Akira/Combos Akiras combo page]) due to the extensions auto-resizing. To work around this, you may set "|autoresize=false", as well as set a custom thumbnail/player size using the "|dimensions=" parser. This may be required if you are trying to crunch the template into a smaller container. These additional adjustments are shown in the '''''First''''' example below as an example:
<br>
 
 
==Youtube Use:==
<nowiki>
No start and end time set:
 
{{ComboData
|youtube=https://www.youtube.com/watch?v=4Wt-zBgWDrM
|autoresize=false
|dimensions=500
|caption=Here's the caption!
|name=Here's the name!
|data=
{{ComboData-PJ
|Notation= 4{{hp}} xx {{qcb}}{{qcb}}{{p}} {{---}} {{lk}} {{lk}} {{---}} {{lk}} {{lk}} {{---}} {{hp}} {{hk}} {{---}} {{qcf}} {{qcf}} {{k}}
|Damage=87
|Hits=28
|Meter Use=2
|Stun=
|Description=This will play the entire video in a smaller, resized thumbnail.
}}
}}
 
--------------------------------------------------
 
WITH Start and End time set:
 
{{ComboData
|youtube=https://www.youtube.com/watch?v=4Wt-zBgWDrM
|startat=5
|endat=11
|caption=Here's the caption!
|name=Here's the name!
|data=
{{ComboData-PJ
|Notation= {{lk}} {{lk}} {{---}} {{lk}} {{lk}} {{---}} {{hp}} {{hk}} {{---}} {{qcf}} {{qcf}} {{k}}
|Damage=87
|Hits=28
|Meter Use=2
|Stun=
|Description=This video will start at the launch, and end after the super at the default thumbnail size.
}}
}}
</nowiki>
 
 
===YT (Without start/end) Output:===
{{ComboData
|youtube=https://www.youtube.com/watch?v=4Wt-zBgWDrM
|autoresize=false
|dimensions=500
|caption=Here's the caption!
|name=Here's the name!
|data=
{{ComboData-PJ
|Notation= 4{{hp}} xx {{qcb}}{{qcb}}{{p}} {{---}} {{lk}} {{lk}} {{---}} {{lk}} {{lk}} {{---}} {{hp}} {{hk}} {{---}} {{qcf}} {{qcf}} {{k}}
|Damage=87
|Hits=28
|Meter Use=2
|Stun=
|Description=This will play the entire video in a smaller, resized thumbnail.
}}
}}
 
----
 
===YT (WITH start/end) Output:===
{{ComboData
|youtube=https://www.youtube.com/watch?v=4Wt-zBgWDrM
|startat=5
|endat=11
|caption=Here's the caption!
|name=Here's the name!
|data=
{{ComboData-PJ
|Notation= {{lk}} {{lk}} {{---}} {{lk}} {{lk}} {{---}} {{hp}} {{hk}} {{---}} {{qcf}} {{qcf}} {{k}}
|Damage=87
|Hits=28
|Meter Use=2
|Stun=
|Description=This video will start at the launch, and end after the super at the default thumbnail size.
  }}
  }}
}}
}}
</noinclude>
</noinclude>
[[Category:Universal]]

Latest revision as of 21:41, 15 October 2021



What is this

Adapted from MoveData and AttackData (links to PJs for example purposes)- 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.


NOTE!
  • Further "Documentation" to come, but due to most videos reliably reaching the 2mb upload cap, videos created for combos should be at least somewhat significantly unique. If there are any small variations to the combo, the variations should be described in the description area, and NOT uploaded as an entirely separate video/template call. Example of this Here.

Use 1:

{{ComboData
|video=PJ_batsu_Combo3.mp4
|caption=Here's the caption!
|name=Here's the name!
|data=
 {{ComboData-PJ
 |Notation= {{lp}} {{lp}} {{---}} {{d}} {{hp}} {{---}} {{f}} {{hp}} {{---}} {{qcf}} {{qcf}} {{p}}
 |Damage=62
 |Hits=9
 |Meter Use=1
 |Stun=
 |Description=Since you use {{f}}{{hp}} just before the super, sometimes you'll accidentally do {{dp}}{{hp}} '''Guts Upper''' instead. You '''''want''''' the super, but just so long as you don't drop it and they block either the super or guts upper, you will still safely reset.
 }}
}}


Output 1:

Here's the name!
Notation
Lp.png Lp.png ---.png D.png Hp.png ---.png F.png Hp.png ---.png Qcf.png Qcf.png P.png
Damage Hits Meter Use Stun
62 9 1 -

Since you use F.pngHp.png just before the super, sometimes you'll accidentally do Dp.pngHp.png Guts Upper instead. You want the super, but just so long as you don't drop it and they block either the super or guts upper, you will still safely reset.


Variation Description

See below how instead of making an entirely separate and unique video/template call for a small variation in this combo, it is instead described with the reasoning in the description. This saves on clutter, clarity, and more importantly, saves on wiki storage!


{{ComboData
|video=PJ_batsu_Combo6.mp4
|caption=Caption for Mini-Launch Combo!
|name=Name for Mini-Launch Combo!
|data=
 {{ComboData-PJ
 |Notation= {{lk}} {{---}} {{d}} {{hp}} {{---}} {{df}} {{hk}} {{---}} {{u}} {{---}} {{lp}} {{lp}} {{hp}} {{hk}} {{---}} (Air) {{f}} {{hp}}
 |Damage=61
 |Hits=8
 |Meter Use=0
 |Stun=
 |Description=3{{hk}} is Batsus go-to launch mid-combo. Same damage as ending with super, but with none of the meter expense!<br><br><center><span style="font-size: 1.2em; text-decoration: underline;">NOTE!</span></center><br>1.) It's possible to start the air combo '''''TOO LOW''''', causing the later Heavy attacks to miss! Wait just a minute before you start the combo- make sure you're high enough and positioned correctly!<br><br>2.) After 3{{hk}}, you can do {{lp}}{{lk}} instead, but it does less damage then {{lp}}{{lp}}!
 }}
}}

Variation:

Name for Mini-Launch Combo!
Notation
Lk.png ---.png D.png Hp.png ---.png Df.png Hk.png ---.png U.png ---.png Lp.png Lp.png Hp.png Hk.png ---.png (Air) F.png Hp.png
Damage Hits Meter Use Stun
61 8 0 -
3Hk.png is Batsus go-to launch mid-combo. Same damage as ending with super, but with none of the meter expense!

NOTE!

1.) It's possible to start the air combo TOO LOW, causing the later Heavy attacks to miss! Wait just a minute before you start the combo- make sure you're high enough and positioned correctly!

2.) After 3Hk.png, you can do Lp.pngLk.png instead, but it does less damage then Lp.pngLp.png!



Youtube Alternative


If you would rather use a youtube link instead of an embedded video, you may now do so by placing a link after the "|youtube=" parser. Since the purpose of this template is to show individual combos and not entire full-length videos, it's recommended that any video link should be of the singular combo described in the cell. If it isn't, then it's highly recommended you set a start time by using the "|startat=" parser. You may also set a specific endpoint for the video to stop at using the "|endat=" Parser. Once the video has ended, however, replaying the video will start from the very beginning. This is a critical reason why using videos that Only have the combo in question on display is vastly preferred over setting a start and endpoint.

Note: Some youtube links may break inside of various containers such as Content Box (Example on Akiras combo page) due to the extensions auto-resizing. To work around this, you may set "|autoresize=false", as well as set a custom thumbnail/player size using the "|dimensions=" parser. This may be required if you are trying to crunch the template into a smaller container. These additional adjustments are shown in the First example below as an example:


Youtube Use:

No start and end time set:

{{ComboData
|youtube=https://www.youtube.com/watch?v=4Wt-zBgWDrM
|autoresize=false
|dimensions=500
|caption=Here's the caption!
|name=Here's the name!
|data=
 {{ComboData-PJ
 |Notation= 4{{hp}} xx {{qcb}}{{qcb}}{{p}} {{---}} {{lk}} {{lk}} {{---}} {{lk}} {{lk}} {{---}} {{hp}} {{hk}} {{---}} {{qcf}} {{qcf}} {{k}}
 |Damage=87
 |Hits=28
 |Meter Use=2
 |Stun=
 |Description=This will play the entire video in a smaller, resized thumbnail.
 }}
}}

--------------------------------------------------

WITH Start and End time set:

{{ComboData
|youtube=https://www.youtube.com/watch?v=4Wt-zBgWDrM
|startat=5
|endat=11
|caption=Here's the caption!
|name=Here's the name!
|data=
 {{ComboData-PJ
 |Notation= {{lk}} {{lk}} {{---}} {{lk}} {{lk}} {{---}} {{hp}} {{hk}} {{---}} {{qcf}} {{qcf}} {{k}}
 |Damage=87
 |Hits=28
 |Meter Use=2
 |Stun=
 |Description=This video will start at the launch, and end after the super at the default thumbnail size.
 }}
}}


YT (Without start/end) Output:

Notation
4Hp.png xx Qcb.pngQcb.pngP.png ---.png Lk.png Lk.png ---.png Lk.png Lk.png ---.png Hp.png Hk.png ---.png Qcf.png Qcf.png K.png
Damage Hits Meter Use Stun
87 28 2 -

This will play the entire video in a smaller, resized thumbnail.


YT (WITH start/end) Output:

Notation
Lk.png Lk.png ---.png Lk.png Lk.png ---.png Hp.png Hk.png ---.png Qcf.png Qcf.png K.png
Damage Hits Meter Use Stun
87 28 2 -

This video will start at the launch, and end after the super at the default thumbnail size.