User:Ender R. Musk/Template:SSBU Classic Mode: Difference between revisions

Added documentation. Now, to get this thing approved and implemented...
No edit summary
(Added documentation. Now, to get this thing approved and implemented...)
Line 5: Line 5:
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}-}}
{{!}}-}}
{{!}} 1{{!}}{{!}}{{{round1opponent}}}{{!}}{{!}}{{{round1stage}}}{{!}}{{!}}''{{SSBUMusicLink|{{{round1music}}}}}''{{!}}{{!}}{{#if:{{{round1notes|}}}|{{{round1notes}}}}}
{{!}} 1{{!}}{{!}}{{{round1opponent}}}{{!}}{{!}}{{{round1stage}}}{{!}}{{!}}''{{{round1music}}}''{{!}}{{!}}{{#if:{{{round1notes|}}}|{{{round1notes}}}}}
|-
|-
{{#ifeq:{{{bonusorder|}}}|2|
{{#ifeq:{{{bonusorder|}}}|2|
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}-}}
{{!}}-}}
{{!}} 2{{!}}{{!}}{{{round2opponent}}}{{!}}{{!}}{{{round2stage}}}{{!}}{{!}}''{{SSBUMusicLink|{{{round2music}}}}}''{{!}}{{!}}{{#if:{{{round2notes|}}}|{{{round2notes}}}}}
{{!}} 2{{!}}{{!}}{{{round2opponent}}}{{!}}{{!}}{{{round2stage}}}{{!}}{{!}}''{{{round2music}}}''{{!}}{{!}}{{#if:{{{round2notes|}}}|{{{round2notes}}}}}
|-
|-
{{#ifeq:{{{bonusorder|}}}|3|
{{#ifeq:{{{bonusorder|}}}|3|
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}-}}
{{!}}-}}
{{!}} 3{{!}}{{!}}{{{round3opponent}}}{{!}}{{!}}{{{round3stage}}}{{!}}{{!}}''{{SSBUMusicLink|{{{round3music}}}}}''{{!}}{{!}}{{#if:{{{round3notes|}}}|{{{round3notes}}}}}
{{!}} 3{{!}}{{!}}{{{round3opponent}}}{{!}}{{!}}{{{round3stage}}}{{!}}{{!}}''{{{round3music}}}''{{!}}{{!}}{{#if:{{{round3notes|}}}|{{{round3notes}}}}}
|-
|-
{{#ifeq:{{{bonusorder|}}}|4|
{{#ifeq:{{{bonusorder|}}}|4|
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}-}}
{{!}}-}}
{{!}} 4{{!}}{{!}}{{{round4opponent}}}{{!}}{{!}}{{{round4stage}}}{{!}}{{!}}''{{SSBUMusicLink|{{{round4music}}}}}''{{!}}{{!}}{{#if:{{{round4notes|}}}|{{{round4notes}}}}}
{{!}} 4{{!}}{{!}}{{{round4opponent}}}{{!}}{{!}}{{{round4stage}}}{{!}}{{!}}''{{{round4music}}}''{{!}}{{!}}{{#if:{{{round4notes|}}}|{{{round4notes}}}}}
|-
|-
{{#ifeq:{{{bonusorder|}}}|5|
{{#ifeq:{{{bonusorder|}}}|5|
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}-}}
{{!}}-}}
{{!}} 5{{!}}{{!}}{{{round5opponent}}}{{!}}{{!}}{{{round5stage}}}{{!}}{{!}}''{{SSBUMusicLink|{{{round5music}}}}}''{{!}}{{!}}{{#if:{{{round5notes|}}}|{{{round5notes}}}}}
{{!}} 5{{!}}{{!}}{{{round5opponent}}}{{!}}{{!}}{{{round5stage}}}{{!}}{{!}}''{{{round5music}}}''{{!}}{{!}}{{#if:{{{round5notes|}}}|{{{round5notes}}}}}
|-
|-
{{#ifeq:{{{bonusorder|}}}|6|
{{#ifeq:{{{bonusorder|}}}|6|
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}-}}
{{!}}-}}
{{!}} 6{{!}}{{!}}{{{round6opponent}}}{{!}}{{!}}{{{round6stage}}}{{!}}{{!}}''{{SSBUMusicLink|{{{round6music}}}}}''{{!}}{{!}}{{#if:{{{round6notes|}}}|{{{round6notes}}}}}
{{!}} 6{{!}}{{!}}{{{round6opponent}}}{{!}}{{!}}{{{round6stage}}}{{!}}{{!}}''{{{round6music}}}''{{!}}{{!}}{{#if:{{{round6notes|}}}|{{{round6notes}}}}}
|-
|-
{{#ifeq:{{{bonusorder|}}}|7|
{{#ifeq:{{{bonusorder|}}}|7|
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#ifeq:{{{notes|}}}|true|5|4}}"{{!}}[[Bonus Stage]]
{{!}}-}}
{{!}}-}}
{{!}} Final{{!}}{{!}}{{{finalopponent}}}{{!}}{{!}}{{{finalstage}}}{{!}}{{!}}''{{SSBUMusicLink|{{{finalmusic}}}}}''{{!}}{{!}}{{#if:{{{finalnotes|}}|{{{finalnotes}}}}}
{{!}} Final{{!}}{{!}}{{{finalopponent}}}{{!}}{{!}}{{{finalstage}}}{{!}}{{!}}''{{{finalmusic}}}''{{!}}{{!}}{{#if:{{{finalnotes|}}|{{{finalnotes}}}}}
{{#ifeq:{{{bonusorder|}}}|8|
{{#ifeq:{{{bonusorder|}}}|8|
{{!}}-
{{!}}-
Line 42: Line 42:
<noinclude>{{Draft}}
<noinclude>{{Draft}}
Template for any ''Ultimate'' fighter's Classic Mode section.
Template for any ''Ultimate'' fighter's Classic Mode section.
==Code==
This lists all the parameters. Not all of them are necessary (such as a round's "roundnotes"), but as many as possible should be filled in.
<pre><nowiki>{{User:SamtheBKBoss/Template:SSBU Classic Mode
| bonusorder =
| notes =
| round1opponent =
| round1stage =
| round1music =
| round1notes =
| round2opponent =
| round2stage =
| round2music =
| round2notes =
| round3opponent =
| round3stage =
| round3music =
| round3notes =
| round4opponent =
| round4stage =
| round4music =
| round4notes =
| round5opponent =
| round5stage =
| round5music =
| round5notes =
| round6opponent =
| round6stage =
| round6music =
| round6notes =
| finalopponent =
| finalstage =
| finalmusic =
| finalnotes =
}}</nowiki></pre>
== Example ==
<div style="overflow:hidden">
<div style="float:left">
''Input:''
<pre><nowiki>{{User:SamtheBKBoss/Template:SSBU Classic Mode
| bonusorder = 7
| notes = true
| round1opponent = {{CharHead|Duck Hunt|SSBU|hsize=20px|color=Red}}
| round1stage = [[Spiral Mountain]]
| round1music = {{SSBUMusicLink|Banjo-Kazooie|Main Theme - Banjo-Kazooie}}
| round1notes = Duck Hunt's color scheme references Banjo & Kazooie themselves.
| round2opponent = {{CharHead|Rosalina & Luma|SSBU|hsize=20px}}
| round2stage = [[Tortimer Island]]
| round2music = {{SSBUMusicLink|Banjo-Kazooie|Treasure Trove Cove}}
| round2notes = References Treasure Trove Cove.
| round3opponent = {{CharHead|Ice Climbers|SSBU|hsize=20px}}
| round3stage = [[Summit]]
| round3music = {{SSBUMusicLink|Banjo-Kazooie|Freezeezy Peak}}
| round3notes = References Freezeezy Peak, with the Ice Climbers matching its polar climate.
| round4opponent = {{CharHead|Link|SSBU|hsize=20px|color=Green}} and {{CharHead|Zelda|SSBU|hsize=20px}}
| round4stage = [[Mushroomy Kingdom]]
| round4music = {{SSBUMusicLink|Banjo-Kazooie|Gobi's Valley}}
| round4notes = References Gobi's Valley.
| round5opponent = {{CharHead|Fox|SSBU|hsize=20px|color=Purple}} and {{CharHead|Falco|SSBU|hsize=20px|color=Black}}
| round5stage = [[Luigi's Mansion]]
| round5music = {{SSBUMusicLink|Banjo-Kazooie|Mad Monster Mansion}}
| round5notes = References Mad Monster Mansion.<br>Fox and Falco's color schemes are likely meant to resemble a wolf and a raven respectively.
| round6opponent = {{CharHead|Diddy Kong|SSBU|hsize=20px}} and {{CharHead|Donkey Kong|SSBU|hsize=20px}}
| round6stage = [[Jungle Japes]]
| round6music = {{SSBUMusicLink|Donkey Kong|Donkey Kong Country Returns}}
| round6notes = References the ''Banjo-Kazooie'' and ''{{iw|mariowiki|Donkey Kong Country|series}}'' series' shared origins.
| finalopponent = {{SSBU|Master Hand}} and {{SSBU|Crazy Hand}}
| finalstage = {{SSBU|Final Destination}}
| finalmusic = {{SSBUMusicLink|Super Smash Bros.|Master Hand / Crazy Hand}}
| finalnotes = Much like Banjo & Kazooie, Master Hand and Crazy Hand work together as a duo.}}</nowiki></pre>
</div>
<div style="float:left">
''Output:''
{{User:SamtheBKBoss/Template:SSBU Classic Mode
{{User:SamtheBKBoss/Template:SSBU Classic Mode
| bonusorder = 1
| bonusorder = 7
| notes = true
| notes = true
| round1opponent = {{CharHead|Duck Hunt|SSBU|hsize=20px|color=Red}}
| round1opponent = {{CharHead|Duck Hunt|SSBU|hsize=20px|color=Red}}
| round1stage = [[Spiral Mountain]]
| round1stage = [[Spiral Mountain]]
| round1music = Banjo-Kazooie|Main Theme - Banjo-Kazooie
| round1music = {{SSBUMusicLink|Banjo-Kazooie|Main Theme - Banjo-Kazooie}}
| round1notes = Duck Hunt's color scheme references Banjo & Kazooie themselves.
| round1notes = Duck Hunt's color scheme references Banjo & Kazooie themselves.
| round2opponent = {{CharHead|Rosalina & Luma|SSBU|hsize=20px}}
| round2opponent = {{CharHead|Rosalina & Luma|SSBU|hsize=20px}}
Line 64: Line 137:
| round5stage = [[Luigi's Mansion]]
| round5stage = [[Luigi's Mansion]]
| round5music = {{SSBUMusicLink|Banjo-Kazooie|Mad Monster Mansion}}
| round5music = {{SSBUMusicLink|Banjo-Kazooie|Mad Monster Mansion}}
| round5notes = References Mad Monster Mansion.<br>Fox and Falco's color schemes are likely meant to resemble a wolf and a raven respectively, which are animals that would appear in a typical haunted setting.
| round5notes = References Mad Monster Mansion.<br>Fox and Falco's color schemes are likely meant to resemble a wolf and a raven respectively.
| round6opponent = {{CharHead|Diddy Kong|SSBU|hsize=20px}} and {{CharHead|Donkey Kong|SSBU|hsize=20px}}
| round6opponent = {{CharHead|Diddy Kong|SSBU|hsize=20px}} and {{CharHead|Donkey Kong|SSBU|hsize=20px}}
| round6stage = [[Jungle Japes]]
| round6stage = [[Jungle Japes]]
| round6music = {{SSBUMusicLink|Donkey Kong|Donkey Kong Country Returns}}
| round6music = {{SSBUMusicLink|Donkey Kong|Donkey Kong Country Returns}}
| round6notes = References the ''Banjo-Kazooie'' and ''{{iw|mariowiki|Donkey Kong Country|series}}'' series' shared origins, both having been created by [[Rare Ltd.]], as well as Banjo and Diddy Kong's friendship being mentioned in ''{{s|mariowiki|Diddy Kong Racing}}''.<ref>[https://twitter.com/dkvine/status/1063921860298055687 DK Vine on Twitter: "According to the Diddy Kong Racing instruction manual, Diddy met Banjo and Conker in adventures with Donkey Kong. Needing to recruit associates outside of the Kong clan for his covert mission to Timber's Island, he sent Squawks to their homes with a letter of request. #DKUFacts"]</ref>
| round6notes = References the ''Banjo-Kazooie'' and ''{{iw|mariowiki|Donkey Kong Country|series}}'' series' shared origins.
| finalopponent = {{SSBU|Master Hand}} and {{SSBU|Crazy Hand}}
| finalopponent = {{SSBU|Master Hand}} and {{SSBU|Crazy Hand}}
| finalstage = {{SSBU|Final Destination}}
| finalstage = {{SSBU|Final Destination}}
| finalmusic = {{SSBUMusicLink|Super Smash Bros.|Master Hand / Crazy Hand}}
| finalmusic = {{SSBUMusicLink|Super Smash Bros.|Master Hand / Crazy Hand}}
| finalnotes = Much like Banjo & Kazooie, Master Hand and Crazy Hand work together as a duo. Additionally, they bear a resemblance to Motzand, a disembodied hand who appears in Mad Monster Mansion. Both Hands are fought in any difficulty.
| finalnotes = Much like Banjo & Kazooie, Master Hand and Crazy Hand work together as a duo.
}}</noinclude>
}}
</div>
</div>
 
== 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.
* ''notes'' = Determines whether to add a fifth "Notes" column. If it is set to "true," a fifth column is added; anything else or omitting the parameter entirely will leave the table with four columns. If any of the seven "roundnotes" parameters are specified, this parameter must be set to "true" to look right.
* ''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#music'' and ''finalmusic'' = The specified round's music. This must use the [[Template:SSBUMusicLink|SSBUMusicLink]] template.
* ''round#notes'' and ''finalnotes'' = Additional info regarding the specified round, such as any CPU allies, or the circumstances of the round being a reference.
</noinclude>