Welcome to SmashWiki! Log in or create an account and join the community, and don't forget to read this first!
Notices
The Skill parameter has been removed from Smasher infoboxes, and in its place are the new "Best historical ranking" and "Best tournament result" parameters. SmashWiki needs help adding these new parameters to Smasher infoboxes, refer to the guidelines here for what should be included in these new parameters.
When adding results to Smasher pages, include each tournament's entrant number in addition to the player's placement, and use the {{Trn}} template with the matching game specified. Please also fix old results on Smasher pages that do not abide to this standard. Refer to our Smasher article guidelines to see how results tables should be formatted.
Check out our project page for ongoing projects that SmashWiki needs help with.

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

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
m (#var is 2 brackets, not 3. If you want to default to 7, this is an easier way without variables)
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:{{{#var:bonusorder|}}}|1|
{{#ifeq:{{{#var:bonusorder|}}}|1|
{{!}}colspan="{{#if:{{{#var:notes|}}}|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#if:{{#var:notes|}}|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="{{#if:{{{#var:notes|}}}|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#if:{{#var:notes|}}|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="{{#if:{{{#var:notes|}}}|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#if:{{#var:notes|}}|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="{{#if:{{{#var:notes|}}}|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#if:{{#var:notes|}}|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="{{#if:{{{#var:notes|}}}|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#if:{{#var:notes|}}|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="{{#if:{{{#var:notes|}}}|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#if:{{#var:notes|}}|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}}}|7|
{{!}}colspan="{{#if:{{{#var:notes|}}}|5|4}}"{{!}}[[Bonus Stage]]
{{!}}colspan="{{#if:{{#var:notes|}}|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="{{#if:{{{#var:notes|}}}|5|4}}"{{!}}[[Bonus Stage]]}}
{{!}}colspan="{{#if:{{#var:notes|}}|5|4}}"{{!}}[[Bonus Stage]]}}
|}</includeonly>
|}</includeonly>
<noinclude>{{Draft}}
<noinclude>{{Draft}}

Revision as of 16:52, July 8, 2021


Proposed.png
This page is a draft.
Feel free to contribute to this page as you would a mainspace page.

Template for any Ultimate fighter's Classic Mode section.

Code

This lists all the parameters. "bonusorder" and "round#notes" parameters are optional.

{{User:SamtheBKBoss/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 =
}}

Example

Input:

{{User:SamtheBKBoss/Template:SSBU Classic Mode
| bonusorder = 7
| round1opponent = {{CharHead|Duck Hunt|SSBU|hsize=20px|color=Red}}
| round1stage = [[Spiral Mountain]]
| round1songuv = Banjo-Kazooie
| round1song = Main Theme - Banjo-Kazooie
| round1notes = Duck Hunt's color scheme references Banjo & Kazooie themselves.
| round2opponent = {{CharHead|Rosalina & Luma|SSBU|hsize=20px}}
| round2stage = [[Tortimer Island]]
| round2songuv = Banjo-Kazooie
| round2song = Treasure Trove Cove
| round2notes = References Treasure Trove Cove.
| round3opponent = {{CharHead|Ice Climbers|SSBU|hsize=20px}}
| round3stage = [[Summit]]
| round3songuv = Banjo-Kazooie
| round3song = 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]]
| round4songuv = Banjo-Kazooie
| round4song = 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]]
| round5songuv = Banjo-Kazooie
| round5song = 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]]
| round6songuv = Donkey Kong
| round6song = 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}}
| finalsonguv = Super Smash Bros.
| finalsong = Master Hand / Crazy Hand
| finalnotes = Much like Banjo & Kazooie, Master Hand and Crazy Hand work together as a duo.
}}

Parameters

  • 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.