Template:Route infobox: Difference between revisions

m
hoping this works
mNo edit summary
m (hoping this works)
Line 27: Line 27:
{| align="center" class="roundy" style="background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;"
{| align="center" class="roundy" style="background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;"
|  
|  
<div style="{{CSS3 columns|count={{#ifexpr: ({{#if:{{{cut|}}}|1|0}} + {{#if:{{{surf|}}}|1|0}} + {{#if:{{{strength|}}}|1|0}} + {{#if:{{{flash|}}}|1|0}} + {{#if:{{{defog|}}}|1|0}} + {{#if:{{{whirlpool|}}}|1|0}} + {{#if:{{{rocksmash|}}}|1|0}} + {{#if:{{{waterfall|}}}|1|0}} + {{#if:{{{dive|}}}|1|0}} + {{#if:{{{rockclimb|}}}|1|0}} + {{#if:{{{bike|}}}|1|0}} + {{#if:{{{mach|}}}|1|0}} + {{#if:{{{acro|}}}|1|0}}) > 1|2|1}}}}">
<div style="{{CSS3 columns|count={{#ifexpr: ({{#if:{{{cut|}}}|1|0}} + {{#if:{{{surf|}}}|1|0}} + {{#if:{{{strength|}}}|1|0}} + {{#if:{{{flash|}}}|1|0}} + {{#if:{{{defog|}}}|1|0}} + {{#if:{{{whirlpool|}}}|1|0}} + {{#if:{{{rocksmash|}}}|1|0}} + {{#if:{{{waterfall|}}}|1|0}} + {{#if:{{{dive|}}}|1|0}} + {{#if:{{{rockclimb|}}}|1|0}} + {{#if:{{{bike|}}}|1|0}} + {{#if:{{{mach|}}}|1|0}} + {{#if:{{{acro|}}}|1|0}} + {{#if:{{{gogoggles|}}}|1|0}}) > 1|2|1}}}}">
{| width="100%" class="roundy" align="center" style="{{#if:{{{cut|}}}||display: none;}} background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;"
{| width="100%" class="roundy" align="center" style="{{#if:{{{cut|}}}||display: none;}} background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;"
! width="32px" class="roundyleft" style="background:#FFFFFF;" | {{bag|HM Normal}}
! width="32px" class="roundyleft" style="background:#FFFFFF;" | {{bag|HM Normal}}
Line 80: Line 80:
| class="roundyright" style="background:#FFFFFF;" | [[Acro Bike]]{{#ifeq: {{{acro|}}}|yes||{{{acro|}}}}}
| class="roundyright" style="background:#FFFFFF;" | [[Acro Bike]]{{#ifeq: {{{acro|}}}|yes||{{{acro|}}}}}
|}
|}
{| width="100%" class="roundy" align="center" style="{{#if:{{{cut|}}}{{{surf|}}}{{{strength|}}}{{{flash|}}}{{{defog|}}}{{{whirlpool|}}}{{{rocksmash|}}}{{{waterfall|}}}{{{dive|}}}{{{rockclimb|}}}{{{bike|}}}{{{mach|}}}{{{acro|}}}|display: none;}} background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;"
{| width="100%" class="roundy" align="center" style="{{#if:{{{gogoggles|}}}||display: none;}} background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;"
! width="32px" class="roundyleft" style="background:#FFFFFF;" | {{bag|Go-Goggles}}
| class="roundyright" style="background:#FFFFFF;" | [[Go-Goggles]]{{#ifeq: {{{gogoggles|}}}|yes||{{{gogoggles|}}}}}
|}
{| width="100%" class="roundy" align="center" style="{{#if:{{{cut|}}}{{{surf|}}}{{{strength|}}}{{{flash|}}}{{{defog|}}}{{{whirlpool|}}}{{{rocksmash|}}}{{{waterfall|}}}{{{dive|}}}{{{rockclimb|}}}{{{bike|}}}{{{mach|}}}{{{acro|}}}{{{gogoggles|}}}|display: none;}} background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;"
! width="32px" class="roundyleft" style="background:#FFFFFF;" | {{bag|None}}
! width="32px" class="roundyleft" style="background:#FFFFFF;" | {{bag|None}}
| class="roundyright" style="background:#FFFFFF;" | None
| class="roundyright" style="background:#FFFFFF;" | None