Template:GymInfobox: Difference between revisions

added parameter to change the size of the battlefield image
No edit summary
(added parameter to change the size of the battlefield image)
 
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>