Template:MatchupData-GBA2: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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:GBA2_{{lc:{{{character}}}}}_icon.png|50x50px|left]]<!--
! style="text-align:left; line-height:1.2em" | [[File:GBA2_{{ucfirst:{{{character}}}}}_icon.png|50x50px|left]]<!--
--><font style="font-size:1.5em">{{{character}}}</font><!--
--><font style="font-size:1.5em">{{{character}}}</font><!--
-->{{#ifeq:{{#var:hasData}}|false| <span style="float:right">&#91;<font style="color:red">'''No Data'''</font>&#93;</span> }}<!--
-->{{#ifeq:{{#var:hasData}}|false| <span style="float:right">&#91;<font style="color:red">'''No Data'''</font>&#93;</span> }}<!--
--><font style="font-size:1.0em">{{#if: {{{favorability|}}} |<br>({{{favorability}}})}}<!--
--><font style="font-size:1.0em">{{#if: {{{favorability|}}} |<br>({{{favorability}}})}}<!--
--><br>&#91;[[Gundam: Battle Assault 2/{{{character}}}|character page]]&#93;<!--
--><br>&#91;[[Gundam: Battle Assault 2/{{{character}}}|Character Page]]&#93;</font>
-->&#91;[http://lumina.melty.games/?page=1&p1char={{lc:{{{character}}}}} match videos]&#93;</font>
|-
|-
| {{#if: {{{data|}}} | {{{data}}} }}
| {{#if: {{{data|}}} | {{{data}}} }}

Latest revision as of 03:02, 15 July 2022

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 {{Property-UNI|favorable}}, {{Property-UNI|even}}, and {{Property-UNI|unfavorable}}.
  • data: Text describing the matchup. Use bullet points where possible to help readability.

Example 1

The following example is as if this is placed on Burning's page. This example shows that data is filled.

GBA2 Burning icon.png
Burning
(Even)
[Character Page]
I don't know what to put here.

Example 1

The following example is as if this is placed on Burning's page. This example has no data filled in.

GBA2 Burning icon.png
Burning[No Data]
(Even)
[Character Page]

This documentation is automatically transcluded from Template:MatchupData-GBA2/Documentation and is not included when this page is transcluded.