Template:MatchupData-SSBC: Difference between revisions
Jump to navigation
Jump to search
This documentation is automatically transcluded from Template:MatchupData-SSBC/Documentation and is not included when this page is transcluded.
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:hasData|{{#if: {{{data|}}} | true | false }} }}<!-- | <includeonly>{{#vardefine:hasData|{{#if: {{{data|}}} | true | false }} }}<!-- | ||
-->{| class="{{#ifeq:{{#var:hasData}}|true|mw-collapsible mw-collapsed}} toccolours" width=700px | -->{| class="{{#ifeq:{{#var:hasData}}|true|mw-collapsible mw-collapsed}} toccolours" width=700px | ||
! style="text-align:left; line-height:1.2em" | [[File:SSBC_{{{ | ! style="text-align:left; line-height:1.2em" | [[File:SSBC_{{{image}}}.png|50x50px|left]]<!-- | ||
--><font style="font-size:1.5em">Vs. {{{character}}}</font><!-- | --><font style="font-size:1.5em">Vs. {{{character}}}</font><!-- | ||
-->{{#ifeq:{{#var:hasData}}|false| <span style="float:right">[<font style="color:red">'''No Data'''</font>]</span> }}<!-- | -->{{#ifeq:{{#var:hasData}}|false| <span style="float:right">[<font style="color:red">'''No Data'''</font>]</span> }}<!-- | ||
Line 8: | Line 8: | ||
|- | |- | ||
| {{#if: {{{data|}}} | {{{data}}} }} | | {{#if: {{{data|}}} | {{{data}}} }} | ||
|}</includeonly><noinclude>{{Documentation}} | |} | ||
</includeonly> | |||
<noinclude> | |||
{{Documentation}} | |||
[[Category:Super Smash Bros. Crusade]] | [[Category:Super Smash Bros. Crusade]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:41, 22 September 2021
Template DocumentationEdit This Documentation
Usage
Displays a collapsed infobox with data on a matchup when expanded.
Parameters
- player: The character that's playing.
- character: The opposing character.
- image: The opposing character's icon.
- charLink: Link to the opposing character's page.
- favorability: The opinion on whether the matchup is favorable or not. Use Advantage, Even, Disadvantage.
- data: Text describing the matchup. Use bullet points where possible to help readability.
Blank Template
=====<font style="visibility:hidden; float:right">Vs. Character</font>===== {{MatchupData-SSBC | player ={{#var:player}} | character = | image = | charLink = Super_Smash_Bros._Crusade/ | favorability = | data = }}
Example 1
The following example is as if this is placed on Mario's page. This example shows that data is filled.
Vs. Bowser (Advantage) [character page] |
---|
This matchup is easy, and usually swings in your favor because you can use all your tools.
|
Example 2
Again, an example as if it were on Mario's page. This shows when no data has been filled yet.
Vs. Mario[No Data] (Even) [character page] |
---|
This documentation is automatically transcluded from Template:MatchupData-SSBC/Documentation and is not included when this page is transcluded.