User:Tina/M3infobox: Difference between revisions

From WikiBound, your community-driven EarthBound/Mother wiki
Jump to navigationJump to search
(UGGGGGHHHHHHHHHH I HATE YOU. GO DIE. RIGHT NOW.)
m (Text replacement - "align="center" " to "align="center" {{html5}}")
Line 1: Line 1:
{| align="right" style="background:#{{darkcolor|M3}}; width: 25%; border: 2px solid #{{darkcolor|M3}};" cellpadding="2" class="roundy"
{| align="right" style="background:#{{darkcolor|M3}}; width: 25%; border: 2px solid #{{darkcolor|M3}};" cellpadding="2" class="roundy"
|-
|-
| align="center" colspan="6" | {{#if:{{{overworld|}}}|[[File:{{{overworld}}}|right]]}}<big><big>'''{{{enname}}}'''</big></big><br><span lang="ja">'''{{{jpkana}}}'''</span> ''{{{jptrans}}}''
| align="center" {{html5}}colspan="6" | {{#if:{{{overworld|}}}|[[File:{{{overworld}}}|right]]}}<big><big>'''{{{enname}}}'''</big></big><br><span lang="ja">'''{{{jpkana}}}'''</span> ''{{{jptrans}}}''
|- align="center"
|- align="center"
| style="background: #FFFFFF;" class="roundy" colspan="6" |{{#switch: Iamhorribleatprogramming|{{{altsprite}}}=<tabber>Normal=[[File:{{{image}}}]]{{!}}-{{!}}{{{tabname|Back}}}=[[File:{{{altsprite}}}]]</tabber>|#default=[[File:{{{image}}}]]}}<br><small>Appearance in [[Mother 3]]</small>
| style="background: #FFFFFF;" class="roundy" colspan="6" |{{#switch: Iamhorribleatprogramming|{{{altsprite}}}=<tabber>Normal=[[File:{{{image}}}]]{{!}}-{{!}}{{{tabname|Back}}}=[[File:{{{altsprite}}}]]</tabber>|#default=[[File:{{{image}}}]]}}<br><small>Appearance in [[Mother 3]]</small>
|-
|-
! colspan="7" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" | '''Stats'''
! colspan="7" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" {{html5}}| '''Stats'''
|-
|-
| style="background: #fff; {{roundybl|20px}}" align="center" | <small>'''HP'''</small><br>{{{HP}}}
| style="background: #fff; {{roundybl|20px}}" align="center" {{html5}}| <small>'''HP'''</small><br>{{{HP}}}
| style="background: #fff;" align="center" | <small>'''PP'''</small><br>{{{PP}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''PP'''</small><br>{{{PP}}}
| style="background: #fff;" align="center" | <small>'''Offense'''</small><br>{{{offense}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Offense'''</small><br>{{{offense}}}
| style="background: #fff;" align="center" | <small>'''Defense'''</small><br>{{{defense}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Defense'''</small><br>{{{defense}}}
| style="background: #fff;" align="center" | <small>'''IQ'''</small><br>{{{IQ}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''IQ'''</small><br>{{{IQ}}}
| style="background: #fff; {{roundybr|20px}}" align="center" | <small>'''Speed'''</small><br>{{{speed}}}
| style="background: #fff; {{roundybr|20px}}" align="center" {{html5}}| <small>'''Speed'''</small><br>{{{speed}}}
|-
|-
! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" | '''Strengths and weaknesses'''
! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" {{html5}}| '''Strengths and weaknesses'''
|-
|-
| style="background: #fff;" align="center" | <small>'''Fire'''</small><br>{{{fire}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Fire'''</small><br>{{{fire}}}
| style="background: #fff;" align="center" | <small>'''Freeze'''</small><br>{{{freeze}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Freeze'''</small><br>{{{freeze}}}
| style="background: #fff;" align="center" | <small>'''Thunder'''</small><br>{{{thunder}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Thunder'''</small><br>{{{thunder}}}
| style="background: #fff;" align="center" | <small>'''Bomb'''</small><br>{{{bomb}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Bomb'''</small><br>{{{bomb}}}
| style="background: #fff;" align="center" | <small>'''{{tt|Freezing|By PK Freeze}}'''</small><br>{{{freezable}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''{{tt|Freezing|By PK Freeze}}'''</small><br>{{{freezable}}}
| style="background: #fff;" align="center" | <small>'''{{tt|Flammability|By PK Fire}}'''</small><br>{{{flammable}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''{{tt|Flammability|By PK Fire}}'''</small><br>{{{flammable}}}
|-
|-
| style="background: #fff; {{roundybl|20px}}" align="center" | <small>'''Paralysis'''</small><br>{{{paralysis}}}
| style="background: #fff; {{roundybl|20px}}" align="center" {{html5}}| <small>'''Paralysis'''</small><br>{{{paralysis}}}
| style="background: #fff;" align="center" | <small>'''Crying'''</small><br>{{{crying}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Crying'''</small><br>{{{crying}}}
| style="background: #fff;" align="center" | <small>'''Brainshock'''</small><br>{{{brainshock}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Brainshock'''</small><br>{{{brainshock}}}
| style="background: #fff;" align="center" | <small>'''Hypnosis'''</small><br>{{{hypnosis}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Hypnosis'''</small><br>{{{hypnosis}}}
| style="background: #fff;" align="center" | <small>'''Poisoning'''</small><br>{{{poison}}}
| style="background: #fff;" align="center" {{html5}}| <small>'''Poisoning'''</small><br>{{{poison}}}
| style="background: #fff; {{roundybr|20px}}" align="center" | <small>'''Wall Staples'''</small><br>{{{staples}}}
| style="background: #fff; {{roundybr|20px}}" align="center" {{html5}}| <small>'''Wall Staples'''</small><br>{{{staples}}}
|-
|-
! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" | '''Experience and money yields'''
! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" {{html5}}| '''Experience and money yields'''
|-
|-
| colspan="3" style="background: #fff; {{roundybl|20px}}" align="center" | <small>'''Exp.'''</small><br>
| colspan="3" style="background: #fff; {{roundybl|20px}}" align="center" {{html5}}| <small>'''Exp.'''</small><br>
{{{exp}}}
{{{exp}}}
| colspan="3" style="background: #fff; {{roundybr|20px}}" align="center" | <small>'''Money'''</small><br>
| colspan="3" style="background: #fff; {{roundybr|20px}}" align="center" {{html5}}| <small>'''Money'''</small><br>
{{{money}}} DP
{{{money}}} DP
|-
|-
{{#if: {{{item|}}}|! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" {{!}} '''Item drop after battle chances'''
{{#if: {{{item|}}}|! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" {{html5}}{{!}} '''Item drop after battle chances'''
{{!}}-
{{!}}-
{{!}} colspan="3" style="background: #fff; {{roundybl|20px}}" align="center" {{!}} [[{{{item}}}]]
{{!}} colspan="3" style="background: #fff; {{roundybl|20px}}" align="center" {{html5}}{{!}} [[{{{item}}}]]
{{!}} colspan="3" style="background: #fff; {{roundybr|20px}}" align="center" {{!}} {{{itempercent}}}% <small>chance of finding</small>}}
{{!}} colspan="3" style="background: #fff; {{roundybr|20px}}" align="center" {{html5}}{{!}} {{{itempercent}}}% <small>chance of finding</small>}}
|-
|-
! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" class="expandable" | '''Battle song'''
! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" {{html5}}class="expandable" | '''Battle song'''
|-
|-
| colspan="6" style="background: #fff; {{roundybottom|20px}}" align="center" | [[List of Mother 3 enemies by battle song|{{{song}}}]]
| colspan="6" style="background: #fff; {{roundybottom|20px}}" align="center" {{html5}}| [[List of Mother 3 enemies by battle song|{{{song}}}]]
|-
|-
! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" class="expandable" | '''Locations'''
! colspan="6" style="background: #{{lightcolor|M3}}; {{roundytop|20px}}" align="center" {{html5}}class="expandable" | '''Locations'''
|-
|-
| colspan="6" style="background: #fff; {{roundybottom|20px}}" align="center" | {{{location}}}
| colspan="6" style="background: #fff; {{roundybottom|20px}}" align="center" {{html5}}| {{{location}}}
|}
|}
I'LL DO THIS LATER
I'LL DO THIS LATER

Revision as of 18:51, 13 May 2020

align="center"colspan="6" | {{{enname}}}
{{{jpkana}}} {{{jptrans}}}
[[File:{{{image}}}]]
Appearance in Mother 3
colspan="7" style="background: #fffc71; border-top-left-radius: 20px;border-top-right-radius: 20px;" align="center"| Stats
style="background: #fff; border-bottom-left-radius: 20px;" align="center"| HP
{{{HP}}}
style="background: #fff;" align="center"| PP
{{{PP}}}
style="background: #fff;" align="center"| Offense
{{{offense}}}
style="background: #fff;" align="center"| Defense
{{{defense}}}
style="background: #fff;" align="center"| IQ
{{{IQ}}}
style="background: #fff; border-bottom-right-radius: 20px;" align="center"| Speed
{{{speed}}}
colspan="6" style="background: #fffc71; border-top-left-radius: 20px;border-top-right-radius: 20px;" align="center"| Strengths and weaknesses
style="background: #fff;" align="center"| Fire
{{{fire}}}
style="background: #fff;" align="center"| Freeze
{{{freeze}}}
style="background: #fff;" align="center"| Thunder
{{{thunder}}}
style="background: #fff;" align="center"| Bomb
{{{bomb}}}
style="background: #fff;" align="center"| Freezing
{{{freezable}}}
style="background: #fff;" align="center"| Flammability
{{{flammable}}}
style="background: #fff; border-bottom-left-radius: 20px;" align="center"| Paralysis
{{{paralysis}}}
style="background: #fff;" align="center"| Crying
{{{crying}}}
style="background: #fff;" align="center"| Brainshock
{{{brainshock}}}
style="background: #fff;" align="center"| Hypnosis
{{{hypnosis}}}
style="background: #fff;" align="center"| Poisoning
{{{poison}}}
style="background: #fff; border-bottom-right-radius: 20px;" align="center"| Wall Staples
{{{staples}}}
colspan="6" style="background: #fffc71; border-top-left-radius: 20px;border-top-right-radius: 20px;" align="center"| Experience and money yields
colspan="3" style="background: #fff; border-bottom-left-radius: 20px;" align="center"| Exp.

{{{exp}}}

colspan="3" style="background: #fff; border-bottom-right-radius: 20px;" align="center"| Money

{{{money}}} DP

colspan="6" style="background: #fffc71; border-top-left-radius: 20px;border-top-right-radius: 20px;" align="center"class="expandable" | Battle song
colspan="6" style="background: #fff; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; " align="center"| {{{song}}}
colspan="6" style="background: #fffc71; border-top-left-radius: 20px;border-top-right-radius: 20px;" align="center"class="expandable" | Locations
colspan="6" style="background: #fff; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; " align="center"| {{{location}}}

I'LL DO THIS LATER

when I don't want to burn templates

actually wait that's all the time HAHA

sorry guys you'll have to find another person to implement tabber, it's not that hard at all though http://www.mediawiki.org/wiki/Extension:Tabber#Usage

basically the gist of what I was trying to do was: if altsprite is filled, then display this (the tabs). otherwise, if it's not filled, display this (without tabber, just the front file)



seriously I hate programming so much