User:Ender R. Musk/Template:SSBU Classic Mode: Difference between revisions
(hopefully it still works) |
(nav) |
||
(13 intermediate revisions by 3 users not shown) | |||
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}}}} | ||
!Round!!Opponent!!Stage!!Music{{# | !Round!!Opponent!!Stage!!Music{{#ifeq:{{#var:notes|}}|y|!!Notes}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|1| | {{#ifeq:{{{bonusorder|}}}|1| | ||
{{!}}colspan="{{# | {{!}}colspan="{{#if:{{#var:notes|}}|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 1||{{{round1opponent}}}||{{{round1stage}}}||''{{SSBUMusicLink|{{{round1songuv}}}|{{{round1song}}}}}''||{{{round1notes}}} | | 1||{{{round1opponent}}}||{{{round1stage}}}||''{{SSBUMusicLink|{{{round1songuv}}}|{{{round1song}}}}}''{{#if:{{#var:notes|}}|{{!}}{{!}}{{{round1notes|}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|2| | {{#ifeq:{{{bonusorder|}}}|2| | ||
{{!}}colspan="{{# | {{!}}colspan="{{#if:{{#var:notes|}}|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 2||{{{round2opponent}}}||{{{round2stage}}}||''{{SSBUMusicLink|{{{round2songuv}}}|{{{round2song}}}}}''||{{{round2notes}}} | | 2||{{{round2opponent}}}||{{{round2stage}}}||''{{SSBUMusicLink|{{{round2songuv}}}|{{{round2song}}}}}''{{#if:{{#var:notes|}}|{{!}}{{!}}{{{round2notes|}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|3| | {{#ifeq:{{{bonusorder|}}}|3| | ||
{{!}}colspan="{{# | {{!}}colspan="{{#if:{{#var:notes|}}|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 3||{{{round3opponent}}}||{{{round3stage}}}||''{{SSBUMusicLink|{{{round3songuv}}}|{{{round3song}}}}}''||{{{round3notes}}} | | 3||{{{round3opponent}}}||{{{round3stage}}}||''{{SSBUMusicLink|{{{round3songuv}}}|{{{round3song}}}}}''{{#if:{{#var:notes|}}|{{!}}{{!}}{{{round3notes|}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|4| | {{#ifeq:{{{bonusorder|}}}|4| | ||
{{!}}colspan="{{# | {{!}}colspan="{{#if:{{#var:notes|}}|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 4||{{{round4opponent}}}||{{{round4stage}}}||''{{SSBUMusicLink|{{{round4songuv}}}|{{{round4song}}}}}''||{{{round4notes}}} | | 4||{{{round4opponent}}}||{{{round4stage}}}||''{{SSBUMusicLink|{{{round4songuv}}}|{{{round4song}}}}}''{{#if:{{#var:notes|}}|{{!}}{{!}}{{{round4notes|}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|5| | {{#ifeq:{{{bonusorder|}}}|5| | ||
{{!}}colspan="{{# | {{!}}colspan="{{#if:{{#var:notes|}}|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 5||{{{round5opponent}}}||{{{round5stage}}}||''{{SSBUMusicLink|{{{round5songuv}}}|{{{round5song}}}}}''||{{{round5notes}}} | | 5||{{{round5opponent}}}||{{{round5stage}}}||''{{SSBUMusicLink|{{{round5songuv}}}|{{{round5song}}}}}''{{#if:{{#var:notes|}}|{{!}}{{!}}{{{round5notes|}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|6| | {{#ifeq:{{{bonusorder|}}}|6| | ||
{{!}}colspan="{{# | {{!}}colspan="{{#if:{{#var:notes|}}|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| 6||{{{round6opponent}}}||{{{round6stage}}}||''{{SSBUMusicLink|{{{round6songuv}}}|{{{round6song}}}}}''||{{{round6notes}}} | | 6||{{{round6opponent}}}||{{{round6stage}}}||''{{SSBUMusicLink|{{{round6songuv}}}|{{{round6song}}}}}''{{#if:{{#var:notes|}}|{{!}}{{!}}{{{round6notes|}}}}} | ||
|- | |- | ||
{{#ifeq:{{{bonusorder|}}}|7| | {{#ifeq:{{{bonusorder|7}}}|7| | ||
{{!}}colspan="{{# | {{!}}colspan="{{#if:{{#var:notes|}}|5|4}}"{{!}}[[Bonus Stage]] | ||
{{!}}-}} | {{!}}-}} | ||
| Final||{{{finalopponent}}}||{{{finalstage}}}||''{{SSBUMusicLink|{{{finalsonguv}}}|{{{finalsong}}}}}''||{{{finalnotes}}} | | Final||{{{finalopponent}}}||{{{finalstage}}}||''{{SSBUMusicLink|{{{finalsonguv}}}|{{{finalsong}}}}}''{{#if:{{#var:notes|}}|{{!}}{{!}}{{{finalnotes|}}}}} | ||
{{#ifeq:{{{bonusorder|}}}|8| | {{#ifeq:{{{bonusorder|}}}|8| | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="{{# | {{!}}colspan="{{#if:{{#var:notes|}}|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: | <pre><nowiki>{{User:Ender R. Musk/Template:SSBU Classic Mode | ||
| bonusorder = | | bonusorder = | ||
| round1opponent = | | round1opponent = | ||
Line 88: | Line 88: | ||
<div style="float:left"> | <div style="float:left"> | ||
''Input:'' | ''Input:'' | ||
<pre><nowiki>{{User: | <pre><nowiki>{{User:Ender R. Musk/Template:SSBU Classic Mode | ||
| bonusorder = 7 | | bonusorder = 7 | ||
| round1opponent = {{CharHead|Duck Hunt|SSBU|hsize=20px|color=Red}} | | round1opponent = {{CharHead|Duck Hunt|SSBU|hsize=20px|color=Red}} | ||
Line 129: | Line 129: | ||
<div style="float:left"> | <div style="float:left"> | ||
''Output:'' | ''Output:'' | ||
{{User: | {{User:Ender R. Musk/Template:SSBU Classic Mode | ||
| bonusorder = 7 | | bonusorder = 7 | ||
| round1opponent = {{CharHead|Duck Hunt|SSBU|hsize=20px|color=Red}} | | round1opponent = {{CharHead|Duck Hunt|SSBU|hsize=20px|color=Red}} | ||
Line 171: | Line 171: | ||
== 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. | ||
{{../nav}} | |||
</noinclude> | </noinclude> |
Latest revision as of 00:40, August 23, 2022
Template for any Ultimate fighter's Classic Mode section.
CodeEdit
This lists all the parameters. "bonusorder" and "round#notes" parameters are optional.
{{User:Ender R. Musk/Template:SSBU Classic Mode | bonusorder = | round1opponent = | round1stage = | round1songuv = | round1song = | round1notes = | round2opponent = | round2stage = | round2songuv = | round2song = | round2notes = | round3opponent = | round3stage = | round3songuv = | round3song = | round3notes = | round4opponent = | round4stage = | round4songuv = | round4song = | round4notes = | round5opponent = | round5stage = | round5songuv = | round5song = | round5notes = | round6opponent = | round6stage = | round6songuv = | round6song = | round6notes = | finalopponent = | finalstage = | finalsonguv = | finalsong = | finalnotes = }}
ExampleEdit
ParametersEdit
- 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 Ryu and Mega Man it is 5, and for 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 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#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#notes and finalnotes = Additional info regarding the specified round, such as any CPU allies, or the circumstances of the round being a reference. Optional.