Template:GymInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
(added parameter to change the size of the battlefield image)
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| border="1" style="float:right; border: 1px solid #999; border-collapse:collapse; padding-left: 0.5en; padding-right: 0.5en; padding-top: 0px; padding-bottom: 0px; margin-left:1em; margin-bottom:1em; background: #ffffff;" width="252" align="right" id="table1"
{| width="250" style="float:right; background: #{{{{{type}}} color light}}; {{roundy|10px}} margin-left:5px; margin-bottom:5px; border: 2px solid #{{{{{type}}} color}};"
|-
|-
| align="center" colspan=2 style="background:#{{{colordark}}};" | <big>'''{{{name}}} Gym'''</big>
| colspan="2" style="text-align:center;" | <big>'''{{{name}}} {{{alt|Gym}}}'''</big><br>'''<span lang="ja">{{{characters}}}{{#if: {{{alt|}}}||ジム}}</span>''' ''{{{japanese}}} {{{alt|Gym}}}''<includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Locations]]}}</includeonly>
|-
|- {{#if:{{{image|}}}||style="display:none"}}
| align="center" colspan=2 | [[image:{{{image}}}|250px]]
| style="text-align:center; background:#FFF" colspan="2" | [[File:{{{image}}}|{{{imagesize|250px}}}]]
|-
| align="center" colspan=2 style="background:#{{{colorlight}}};" | '''Info'''
|-  
|-  
| valign="top" | '''Location'''
| style="text-align:right; vertical-align:top; background: #{{{{{type}}} color}}; {{roundytl|10px}} width: 50%" | '''Location'''
| [[{{{location}}}]]
| style="background: #fff; {{roundytr|10px}} width: 50%" | [[{{{location}}}|{{color|000|{{{location}}}}}]]
|-  
|-  
| valign="top" | '''[[Gym Leader]]'''
| style="text-align:right; vertical-align:top; background: #{{{{{type}}} color}}" | '''[[Gym Leader|{{color|000|Gym Leader}}]]'''
| [[{{{leader}}}]]
| style="background: #fff" | {{{leader}}}
|-
| '''[[Badge]]'''
| [[Badge#{{{badge}}}|{{{badge}}}]]
|-
| '''Dominant [[Type]]'''
| {{t|{{{type}}}}}-type
|-
|-
| '''[[Region]]'''
| style="text-align:right; vertical-align:top; background: #{{{{{type}}} color}}" | '''{{#if: {{{prize|}}}|Prize|[[Badge|{{color|000|Badge}}]]}}'''
| [[{{{region}}}]]
| style="background: #fff" | {{#if: {{{prize|}}}|{{color2|000|{{{prize}}}}}|{{color2|000|Badge#{{{badge}}}|{{{badge}}}}}}}
|-
|-
| align="center" colspan=2 style="background:#{{{colorlight}}};" | '''Battlefield'''
| style="text-align:right; vertical-align:top; background: #{{{{{type}}} color}}" | '''{{#if: {{{challenge|}}}|Challenge|Dominant [[Type|{{color|000|Type}}]]}}'''
| style="background: #fff" | {{#if: {{{challenge|}}}|{{{challenge}}}|[[{{{type}}} (type)|{{color|000|{{{type}}}}}]]}}
|-
|-
| align="center" colspan=2 | [[image:{{{battlefield}}}|250px]]
| style="text-align:right; vertical-align:top; background: #{{{{{type}}} color}}; {{roundybl|10px}}" | '''[[Region|{{color|000|Region}}]]'''
| style="background: #fff; {{roundybr|10px}}" | [[{{{region}}}|{{color|000|{{{region}}}}}]]
|- {{#if:{{{battlefield|}}}||style="display:none"}}
| style="text-align:center; background:#FFF" colspan="2" | [[File:{{{battlefield}}}|{{{battlefieldsize|250px}}}]]
|- {{#if:{{{battlefield|}}}||style="display:none"}}
| colspan="2" style="text-align:center;" | <small>Battlefield</small>
|}<noinclude>[[Category:Infobox templates]]</noinclude>
|}<noinclude>[[Category:Infobox templates]]</noinclude>

Latest revision as of 01:54, 12 April 2024

{{{name}}} Gym
{{{characters}}}ジム {{{japanese}}} Gym
[[File:{{{image}}}|250px]]
Location [[{{{location}}}|{{{location}}}]]
Gym Leader {{{leader}}}
Badge [[Badge#{{{badge}}}|{{{badge}}}]]
Dominant Type [[{{{type}}} (type)|{{{type}}}]]
Region [[{{{region}}}|{{{region}}}]]
[[File:{{{battlefield}}}|250px]]
Battlefield