2,355
edits
m (oops) |
(variables rock) |
||
Line 1: | Line 1: | ||
<includeonly>{|class="wikitable" style="text-align:center" | <includeonly>{|class="wikitable" style="text-align:center" | ||
{{#vardefine:notes|{{#if:{{{round1notes|}}}{{{round2notes|}}}{{{round3notes|}}}{{{round4notes|}}}{{{round5notes|}}}{{{round6notes|}}}{{{finalnotes|}}}|y}}}} | {{#vardefine:notes|{{#if:{{{round1notes|}}}{{{round2notes|}}}{{{round3notes|}}}{{{round4notes|}}}{{{round5notes|}}}{{{round6notes|}}}{{{finalnotes|}}}|y}}}} | ||
{{#vardefine:bonusorder|{{#if:{{{bonusorder|}}}|{{{bonusorder}}}|7}} | |||
!Round!!Opponent!!Stage!!Music{{#ifeq:{{#var:notes|}}|y|!!Notes}} | !Round!!Opponent!!Stage!!Music{{#ifeq:{{#var:notes|}}|y|!!Notes}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|1| | {{#ifeq:{{{#var:bonusorder|}}}|1| | ||
{{!}}colspan="{{#ifeq:{{{var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | {{!}}colspan="{{#ifeq:{{{#var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 1||{{{round1opponent}}}||{{{round1stage}}}||''{{SSBUMusicLink|{{{round1songuv}}}|{{{round1song}}}}}''||{{#if:{{{round1notes|}}}|{{{round1notes}}}}} | | 1||{{{round1opponent}}}||{{{round1stage}}}||''{{SSBUMusicLink|{{{round1songuv}}}|{{{round1song}}}}}''||{{#if:{{{round1notes|}}}|{{{round1notes}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|2| | {{#ifeq:{{{bonusorder|}}}|2| | ||
{{!}}colspan="{{#ifeq:{{{var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | {{!}}colspan="{{#ifeq:{{{#var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 2||{{{round2opponent}}}||{{{round2stage}}}||''{{SSBUMusicLink|{{{round2songuv}}}|{{{round2song}}}}}''||{{#if:{{{round2notes|}}}|{{{round2notes}}}}} | | 2||{{{round2opponent}}}||{{{round2stage}}}||''{{SSBUMusicLink|{{{round2songuv}}}|{{{round2song}}}}}''||{{#if:{{{round2notes|}}}|{{{round2notes}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|3| | {{#ifeq:{{{bonusorder|}}}|3| | ||
{{!}}colspan="{{#ifeq:{{{var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | {{!}}colspan="{{#ifeq:{{{#var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 3||{{{round3opponent}}}||{{{round3stage}}}||''{{SSBUMusicLink|{{{round3songuv}}}|{{{round3song}}}}}''||{{#if:{{{round3notes|}}}|{{{round3notes}}}}} | | 3||{{{round3opponent}}}||{{{round3stage}}}||''{{SSBUMusicLink|{{{round3songuv}}}|{{{round3song}}}}}''||{{#if:{{{round3notes|}}}|{{{round3notes}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|4| | {{#ifeq:{{{bonusorder|}}}|4| | ||
{{!}}colspan="{{#ifeq:{{{var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | {{!}}colspan="{{#ifeq:{{{#var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 4||{{{round4opponent}}}||{{{round4stage}}}||''{{SSBUMusicLink|{{{round4songuv}}}|{{{round4song}}}}}''||{{#if:{{{round4notes|}}}|{{{round4notes}}}}} | | 4||{{{round4opponent}}}||{{{round4stage}}}||''{{SSBUMusicLink|{{{round4songuv}}}|{{{round4song}}}}}''||{{#if:{{{round4notes|}}}|{{{round4notes}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|5| | {{#ifeq:{{{bonusorder|}}}|5| | ||
{{!}}colspan="{{#ifeq:{{{var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | {{!}}colspan="{{#ifeq:{{{#var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 5||{{{round5opponent}}}||{{{round5stage}}}||''{{SSBUMusicLink|{{{round5songuv}}}|{{{round5song}}}}}''||{{#if:{{{round5notes|}}}|{{{round5notes}}}}} | | 5||{{{round5opponent}}}||{{{round5stage}}}||''{{SSBUMusicLink|{{{round5songuv}}}|{{{round5song}}}}}''||{{#if:{{{round5notes|}}}|{{{round5notes}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|6| | {{#ifeq:{{{bonusorder|}}}|6| | ||
{{!}}colspan="{{#ifeq:{{{var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | {{!}}colspan="{{#ifeq:{{{#var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 6||{{{round6opponent}}}||{{{round6stage}}}||''{{SSBUMusicLink|{{{round6songuv}}}|{{{round6song}}}}}''||{{#if:{{{round6notes|}}}|{{{round6notes}}}}} | | 6||{{{round6opponent}}}||{{{round6stage}}}||''{{SSBUMusicLink|{{{round6songuv}}}|{{{round6song}}}}}''||{{#if:{{{round6notes|}}}|{{{round6notes}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|7| | {{#ifeq:{{{bonusorder|}}}|7| | ||
{{!}}colspan="{{#ifeq:{{{var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | {{!}}colspan="{{#ifeq:{{{#var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| Final||{{{finalopponent}}}||{{{finalstage}}}||''{{SSBUMusicLink|{{{finalsonguv}}}|{{{finalsong}}}}}''||{{#if:{{{finalnotes|}}}|{{{finalnotes}}}}} | | Final||{{{finalopponent}}}||{{{finalstage}}}||''{{SSBUMusicLink|{{{finalsonguv}}}|{{{finalsong}}}}}''||{{#if:{{{finalnotes|}}}|{{{finalnotes}}}}} | ||
{{#ifeq:{{{bonusorder|}}}|8| | {{#ifeq:{{{bonusorder|}}}|8| | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="{{#ifeq:{{{var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]]}} | {{!}}colspan="{{#ifeq:{{{#var:notes|}}}|y|5|4}}"{{!}}[[Bonus Stage]]}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>{{Draft}} | <noinclude>{{Draft}} | ||
Template for any ''Ultimate'' fighter's Classic Mode section. | Template for any ''Ultimate'' fighter's Classic Mode section. | ||
==Code== | ==Code== | ||
This lists all the parameters. | This lists all the parameters. "bonusorder" and "round#notes" parameters are optional. | ||
<pre><nowiki>{{User:SamtheBKBoss/Template:SSBU Classic Mode | <pre><nowiki>{{User:SamtheBKBoss/Template:SSBU Classic Mode | ||
| bonusorder = | | bonusorder = | ||
Line 171: | Line 172: | ||
== Parameters == | == Parameters == | ||
* ''bonusorder'' = An integer determining where in the Classic Mode route the [[Bonus Stage]] takes place. The number denotes the numbered round that it is directly prior; for example, if bonusorder = 3, it will be directly before round 3. For {{SSBU|Ryu}} and {{SSBU|Mega Man}} it is 5, and for {{SSBU|Bayonetta}} it is 6; every other fighter in the game so far has it at 7, but the table allow for the bonus stage to be placed anywhere in the route, including after the final round with a value of 8. | * ''bonusorder'' = An integer determining where in the Classic Mode route the [[Bonus Stage]] takes place. Optional, defaults to 7. The number denotes the numbered round that it is directly prior; for example, if bonusorder = 3, it will be directly before round 3. For {{SSBU|Ryu}} and {{SSBU|Mega Man}} it is 5, and for {{SSBU|Bayonetta}} it is 6; every other fighter in the game so far has it at 7, but the table allow for the bonus stage to be placed anywhere in the route, including after the final round with a value of 8. | ||
* ''round#opponent'' and ''finalopponent'' = The specified round's opponent(s). This must use the [[Template:CharHead|CharHead]] template for each fighter at 20px. | * ''round#opponent'' and ''finalopponent'' = The specified round's opponent(s). This must use the [[Template:CharHead|CharHead]] template for each fighter at 20px. | ||
* ''round#stage'' and ''finalstage'' = The specified round's stage. This must be a link to the stage. | * ''round#stage'' and ''finalstage'' = The specified round's stage. This must be a link to the stage. | ||
* ''round#songuv'' and ''finalsonguv'' = The universe that the specified round's BGM hails from. | * ''round#songuv'' and ''finalsonguv'' = The universe that the specified round's BGM hails from. | ||
* ''round#song'' and ''finalsong'' = The title of the specified round's BGM. | * ''round#song'' and ''finalsong'' = The title of the specified round's BGM. | ||
* ''round#notes'' and ''finalnotes'' = Additional info regarding the specified round, such as any CPU allies, or the circumstances of the round being a reference. | * ''round#notes'' and ''finalnotes'' = Additional info regarding the specified round, such as any CPU allies, or the circumstances of the round being a reference. Optional. | ||
</noinclude> | </noinclude> |