Template:SDVX Chart Info: Difference between revisions

From RemyWiki
Jump to navigation Jump to search
(Giving this a shot)
 
(Added documentation)
Line 1: Line 1:
{|class="wikitable" border="1px" style="background:#ccccee; font-size:90%; text-align: center; margin: 1em auto 1em auto"
<noinclude>
This is a template to facilitate creating those SDVX chart info boxes at the bottom of Sound Voltex track pages.
 
== Usage ==
=== No Difficulty Changes ===
Here is an example usage from [[AA BlackY mix]]:
<pre>
{{SDVX Chart Info
| nov_maxchain = 781
| adv_maxchain = 1107
| exh_maxchain = 1460
| nov_effector = 月刊ミズタニ
| adv_effector = 月刊ミズタニ
| exh_effector = 月刊ミズタニ
| nov_jacket = メルカトール
| adv_jacket = メルカトール
| exh_jacket = メルカトール
| chart_version_1 = SOUND VOLTEX BOOTH&rarr;Present
| nov_difficulty_1 = 6
| adv_difficulty_1 = 12
| exh_difficulty_1 = 15
}}
</pre>
 
Using that code results in:
 
{{SDVX Chart Info
| nov_maxchain = 781
| adv_maxchain = 1107
| exh_maxchain = 1460
| nov_effector = 月刊ミズタニ
| adv_effector = 月刊ミズタニ
| exh_effector = 月刊ミズタニ
| nov_jacket = メルカトール
| adv_jacket = メルカトール
| exh_jacket = メルカトール
| chart_version_1 = SOUND VOLTEX BOOTH&rarr;Present
| nov_difficulty_1 = 6
| adv_difficulty_1 = 12
| exh_difficulty_1 = 15
}}
 
=== With Difficulty Changes ===
The template also allows you to specify additional rows for difficulty changes down the line. Due to limitations in MediaWiki's templating system, it seems support for individual rows needs to either be hardcoded into the template, or incredibly complex to the point of making maintaining the template unfeasible. For this reason, I intend to add support for additional rows at the announcement of a new title. For the time being, supporting two games will suffice and can be done like so:
 
<pre>
{{SDVX Chart Info
| nov_maxchain = 779
| adv_maxchain = 986
| exh_maxchain = 1028
| nov_effector = PHQUASE
| adv_effector = PHQUASE
| exh_effector = PHQUASE
| nov_jacket = AUK-YAM
| adv_jacket = AUK-YAM
| exh_jacket = AUK-YAM
| chart_version_1 = SOUND VOLTEX BOOTH
| nov_difficulty_1 = 5
| adv_difficulty_1 = 10
| exh_difficulty_1 = 13
| chart_version_2 = SOUND VOLTEX II&rarr;Present
| nov_difficulty_2 = ↑6
| adv_difficulty_2 = 10
| exh_difficulty_2 = 13
}}
</pre>
 
Using that code results in:
{{SDVX Chart Info
| nov_maxchain = 779
| adv_maxchain = 986
| exh_maxchain = 1028
| nov_effector = PHQUASE
| adv_effector = PHQUASE
| exh_effector = PHQUASE
| nov_jacket = AUK-YAM
| adv_jacket = AUK-YAM
| exh_jacket = AUK-YAM
| chart_version_1 = SOUND VOLTEX BOOTH
| nov_difficulty_1 = 5
| adv_difficulty_1 = 10
| exh_difficulty_1 = 13
| chart_version_2 = SOUND VOLTEX II&rarr;Present
| nov_difficulty_2 = ↑6
| adv_difficulty_2 = 10
| exh_difficulty_2 = 13
}}
 
== Theoretical Improvements ==
* The code could be improved to automatically add the up/down arrows for difficulty changes, and automatically bold new charts.
* Obviously, it would be nice to port this over to all games on RemyWiki, because typing out tables is a pain in the butt and this allows us to restyle the entire wiki's infoboxes in one spot instead of replacing every page's infobox.
 
 
----
</noinclude>{|class="wikitable" border="1px" style="background:#ccccee; font-size:90%; text-align: center; margin: 1em auto 1em auto"
|-
|-
!style="background:#9999ee; text-align: center;" rowspan="2" width="200px"|Game
!style="background:#9999ee; text-align: center;" rowspan="2" width="200px"|Game

Revision as of 01:06, 26 July 2013

This is a template to facilitate creating those SDVX chart info boxes at the bottom of Sound Voltex track pages.

Usage

No Difficulty Changes

Here is an example usage from AA BlackY mix:

{{SDVX Chart Info 
| nov_maxchain = 781 
| adv_maxchain = 1107 
| exh_maxchain = 1460 
| nov_effector = 月刊ミズタニ 
| adv_effector = 月刊ミズタニ 
| exh_effector = 月刊ミズタニ 
| nov_jacket = メルカトール 
| adv_jacket = メルカトール 
| exh_jacket = メルカトール 
| chart_version_1 = SOUND VOLTEX BOOTH→Present
| nov_difficulty_1 = 6
| adv_difficulty_1 = 12
| exh_difficulty_1 = 15
}}

Using that code results in:

Game Level
Novice Advanced Exhaust Infinite
Max Chain 781 1107 1460
Effected By 月刊ミズタニ 月刊ミズタニ 月刊ミズタニ
Jacket Artists メルカトール メルカトール メルカトール
SOUND VOLTEX BOOTH→Present 6 12 15

With Difficulty Changes

The template also allows you to specify additional rows for difficulty changes down the line. Due to limitations in MediaWiki's templating system, it seems support for individual rows needs to either be hardcoded into the template, or incredibly complex to the point of making maintaining the template unfeasible. For this reason, I intend to add support for additional rows at the announcement of a new title. For the time being, supporting two games will suffice and can be done like so:

{{SDVX Chart Info 
| nov_maxchain = 779
| adv_maxchain = 986
| exh_maxchain = 1028
| nov_effector = PHQUASE
| adv_effector = PHQUASE
| exh_effector = PHQUASE
| nov_jacket = AUK-YAM
| adv_jacket = AUK-YAM
| exh_jacket = AUK-YAM
| chart_version_1 = SOUND VOLTEX BOOTH
| nov_difficulty_1 = 5
| adv_difficulty_1 = 10
| exh_difficulty_1 = 13
| chart_version_2 = SOUND VOLTEX II→Present
| nov_difficulty_2 = ↑6
| adv_difficulty_2 = 10
| exh_difficulty_2 = 13
}}

Using that code results in:

Game Level
Novice Advanced Exhaust Infinite
Max Chain 779 986 1028
Effected By PHQUASE PHQUASE PHQUASE
Jacket Artists AUK-YAM AUK-YAM AUK-YAM
SOUND VOLTEX BOOTH 5 10 13
SOUND VOLTEX II→Present ↑6 10 13

Theoretical Improvements

  • The code could be improved to automatically add the up/down arrows for difficulty changes, and automatically bold new charts.
  • Obviously, it would be nice to port this over to all games on RemyWiki, because typing out tables is a pain in the butt and this allows us to restyle the entire wiki's infoboxes in one spot instead of replacing every page's infobox.



Game Level
Novice Advanced Exhaust Infinite
Max Chain
Effected By
Jacket Artists
set this in your template code