Template:GymInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
(added parameter to change the size of the battlefield image)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{| width="250" style="float:right; background: #{{{{{type}}} color light}}; {{roundy|10px}} margin-left:5px; margin-bottom:5px; border: 2px solid #{{{{{type}}} color}};"
{| width="250" style="float:right; background: #{{{{{type}}} color light}}; {{roundy|10px}} margin-left:5px; margin-bottom:5px; border: 2px solid #{{{{{type}}} color}};"
|-
|-
| colspan="2" style="text-align:center;" | <big>'''{{{name}}} {{{alt|Gym}}}'''</big><br>'''<span lang="ja">{{{characters}}}{{#if: {{{alt|}}}||ジム}}</span>''' ''{{{japanese}}} {{{alt|Gym}}}''
| 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"}}
|- {{#if:{{{image|}}}||style="display:none"}}
| style="text-align:center; background:#FFF" colspan="2" | [[File:{{{image}}}|{{{imagesize|250px}}}]]
| style="text-align:center; background:#FFF" colspan="2" | [[File:{{{image}}}|{{{imagesize|250px}}}]]
Line 20: Line 20:
| style="background: #fff; {{roundybr|10px}}" | [[{{{region}}}|{{color|000|{{{region}}}}}]]
| style="background: #fff; {{roundybr|10px}}" | [[{{{region}}}|{{color|000|{{{region}}}}}]]
|- {{#if:{{{battlefield|}}}||style="display:none"}}
|- {{#if:{{{battlefield|}}}||style="display:none"}}
| style="text-align:center; background:#FFF" colspan="2" | [[File:{{{battlefield}}}|250px]]
| style="text-align:center; background:#FFF" colspan="2" | [[File:{{{battlefield}}}|{{{battlefieldsize|250px}}}]]
|- {{#if:{{{battlefield|}}}||style="display:none"}}
|- {{#if:{{{battlefield|}}}||style="display:none"}}
| colspan="2" style="text-align:center;" | <small>Battlefield</small>
| 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