User:Tina/M3infobox: Difference between revisions

From WikiBound, your community-driven EarthBound/Mother wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| align="right" style="background:#{{darkcolor|M3}}; width: 25%; border: 2px solid #{{darkcolor|M3}};" cellpadding="2" class="roundy"
{| style="background:#{{darkcolor|M3}}; width: 25%; border: 2px solid #{{darkcolor|M3}};padding:2px;float:right" class="roundy center"
|-
|-
| align="center" colspan="6" | {{#if:{{{overworld|}}}|[[File:{{{overworld}}}|right]]}}<big><big>'''{{{enname}}}'''</big></big><br><span lang="ja">'''{{{jpkana}}}'''</span> ''{{{jptrans}}}''
| colspan="6" | {{#if:{{{overworld|}}}|[[File:{{{overworld}}}|right]]}}<big><big>'''{{{enname}}}'''</big></big><br><span lang="ja">'''{{{jpkana}}}'''</span> ''{{{jptrans}}}''
|- 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}}" | '''Stats'''
|-
|-
| style="background: #fff; {{roundybl|20px}}" align="center" | <small>'''HP'''</small><br>{{{HP}}}
| style="background: #fff; {{roundybl|20px}}" | <small>'''HP'''</small><br>{{{HP}}}
| style="background: #fff;" align="center" | <small>'''PP'''</small><br>{{{PP}}}
| style="background: #fff;" | <small>'''PP'''</small><br>{{{PP}}}
| style="background: #fff;" align="center" | <small>'''Offense'''</small><br>{{{offense}}}
| style="background: #fff;" | <small>'''Offense'''</small><br>{{{offense}}}
| style="background: #fff;" align="center" | <small>'''Defense'''</small><br>{{{defense}}}
| style="background: #fff;" | <small>'''Defense'''</small><br>{{{defense}}}
| style="background: #fff;" align="center" | <small>'''IQ'''</small><br>{{{IQ}}}
| style="background: #fff;" | <small>'''IQ'''</small><br>{{{IQ}}}
| style="background: #fff; {{roundybr|20px}}" align="center" | <small>'''Speed'''</small><br>{{{speed}}}
| style="background: #fff; {{roundybr|20px}}" | <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}}" | '''Strengths and weaknesses'''
|-
|-
| style="background: #fff;" align="center" | <small>'''Fire'''</small><br>{{{fire}}}
| style="background: #fff;" | <small>'''Fire'''</small><br>{{{fire}}}
| style="background: #fff;" align="center" | <small>'''Freeze'''</small><br>{{{freeze}}}
| style="background: #fff;" | <small>'''Freeze'''</small><br>{{{freeze}}}
| style="background: #fff;" align="center" | <small>'''Thunder'''</small><br>{{{thunder}}}
| style="background: #fff;" | <small>'''Thunder'''</small><br>{{{thunder}}}
| style="background: #fff;" align="center" | <small>'''Bomb'''</small><br>{{{bomb}}}
| style="background: #fff;" | <small>'''Bomb'''</small><br>{{{bomb}}}
| style="background: #fff;" align="center" | <small>'''{{tt|Freezing|By PK Freeze}}'''</small><br>{{{freezable}}}
| style="background: #fff;" | <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;" | <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}}" | <small>'''Paralysis'''</small><br>{{{paralysis}}}
| style="background: #fff;" align="center" | <small>'''Crying'''</small><br>{{{crying}}}
| style="background: #fff;" | <small>'''Crying'''</small><br>{{{crying}}}
| style="background: #fff;" align="center" | <small>'''Brainshock'''</small><br>{{{brainshock}}}
| style="background: #fff;" | <small>'''Brainshock'''</small><br>{{{brainshock}}}
| style="background: #fff;" align="center" | <small>'''Hypnosis'''</small><br>{{{hypnosis}}}
| style="background: #fff;" | <small>'''Hypnosis'''</small><br>{{{hypnosis}}}
| style="background: #fff;" align="center" | <small>'''Poisoning'''</small><br>{{{poison}}}
| style="background: #fff;" | <small>'''Poisoning'''</small><br>{{{poison}}}
| style="background: #fff; {{roundybr|20px}}" align="center" | <small>'''Wall Staples'''</small><br>{{{staples}}}
| style="background: #fff; {{roundybr|20px}}" | <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}}" | '''Experience and money yields'''
|-
|-
| colspan="3" style="background: #fff; {{roundybl|20px}}" align="center" | <small>'''Exp.'''</small><br>
| colspan="3" style="background: #fff; {{roundybl|20px}}" | <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}}" | <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}}" {{!}} '''Item drop after battle chances'''
{{!}}-
{{!}}-
{{!}} colspan="3" style="background: #fff; {{roundybl|20px}}" align="center" {{!}} [[{{{item}}}]]
{{!}} colspan="3" style="background: #fff; {{roundybl|20px}}" {{!}} [[{{{item}}}]]
{{!}} colspan="3" style="background: #fff; {{roundybr|20px}}" align="center" {{!}} {{{itempercent}}}% <small>chance of finding</small>}}
{{!}} colspan="3" style="background: #fff; {{roundybr|20px}}" {{!}} {{{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}}" 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}}" | [[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}}" class="expandable" | '''Locations'''
|-
|-
| colspan="6" style="background: #fff; {{roundybottom|20px}}" align="center" | {{{location}}}
| colspan="6" style="background: #fff; {{roundybottom|20px}}" | {{{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)
<small>seriously I hate programming so much</small>

Latest revision as of 18:17, 19 May 2020

{{{enname}}}
{{{jpkana}}} {{{jptrans}}}
[[File:{{{image}}}]]
Appearance in Mother 3
Stats
HP
{{{HP}}}
PP
{{{PP}}}
Offense
{{{offense}}}
Defense
{{{defense}}}
IQ
{{{IQ}}}
Speed
{{{speed}}}
Strengths and weaknesses
Fire
{{{fire}}}
Freeze
{{{freeze}}}
Thunder
{{{thunder}}}
Bomb
{{{bomb}}}
Freezing
{{{freezable}}}
Flammability
{{{flammable}}}
Paralysis
{{{paralysis}}}
Crying
{{{crying}}}
Brainshock
{{{brainshock}}}
Hypnosis
{{{hypnosis}}}
Poisoning
{{{poison}}}
Wall Staples
{{{staples}}}
Experience and money yields
Exp.

{{{exp}}}

Money

{{{money}}} DP

{{{song}}}
{{{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