Template:AbilityInfobox: Difference between revisions

m
optional colours
No edit summary
m (optional colours)
Line 1: Line 1:
{| align="right" width="25%" style="{{roundy|10px}} border: 3px solid #8888AA; background: #CCCCFF; margin-left: 5px; margin-bottom: 5px;"
{| align="right" width="25%" style="{{roundy|10px}} border: 3px solid #{{{bordercolor|8888AA}}}; background: #{{{bgcolor|CCCCFF}}}; margin-left: 5px; margin-bottom: 5px;"
|- align="center"
|- align="center"
| rowspan="2" | <big>'''{{#if: {{{name|}}}|{{{name}}}|{{{jptrans}}}}}'''</big>
| rowspan="2" | <big>'''{{#if: {{{name|}}}|{{{name}}}|{{{jptrans}}}}}'''</big>
Line 6: Line 6:
| <small>''{{#if: {{{name|}}}|{{{jptrans}}}|{{{jptranslit}}}}}''</small>
| <small>''{{#if: {{{name|}}}|{{{jptrans}}}|{{{jptranslit}}}}}''</small>
|-
|-
| align="center" colspan="2" style="{{roundy|10px}} background:#DDDDFF;" | '''Flavor text'''
| align="center" colspan="2" style="{{roundy|10px}} background:#{{{headercolor|DDDDFF}}};" | '''Flavor text'''
{| align="center" width="100%" style="{{#ifexpr: {{{gen|3}}} > 3|display:none;}} {{roundy|10px}} background: #DDDDFF; border-collapse: collapse;"
{| align="center" width="100%" style="{{#ifexpr: {{{gen|3}}} > 3|display:none;}} {{roundy|10px}} background: #DDDDFF; border-collapse: collapse;"
|-
|-
| align="center" width="33%" style="{{roundytop|10px}} background: #EEEEFF; line-height: 8pt" | '''<small>[[Generation III|{{color|000|Generation III}}]]</small>'''
| align="center" width="33%" style="{{roundytop|10px}} background: #{{#if: {{{bordercolor|}}}|{{hoenn color}}|EEEEFF}}; line-height: 8pt" | '''<small>[[Generation III|{{color|000|Generation III}}]]</small>'''
|  
|  
|-
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background: #FFFFFF;" | {{{text3}}}
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background: #FFFFFF;" | {{{text3}}}
|}
|}
{| align="center" width="100%" style="{{#ifexpr: {{{gen|3}}} > 4|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} {{roundy|10px}} background: #DDDDFF; border-collapse: collapse;"
{| align="center" width="100%" style="{{#ifexpr: {{{gen|3}}} > 4|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} {{roundy|10px}} background: #{{{headercolor|DDDDFF}}}; border-collapse: collapse;"
|-
|-
| align="center" width="33%" style="{{roundytop|10px}} background: #EEEEFF; line-height: 8pt" | '''<small>[[Generation IV|{{color|000|Generation IV}}]]</small>'''
| align="center" width="33%" style="{{roundytop|10px}} background: #{{#if: {{{bordercolor|}}}|{{hoenn color}}|EEEEFF}}; line-height: 8pt" | '''<small>[[Generation IV|{{color|000|Generation IV}}]]</small>'''
|  
|  
|-
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background: #FFFFFF;" | {{{text4}}}
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background: #FFFFFF;" | {{{text4}}}
|}
|}
{| align="center" width="100%" style="<!--{{#ifexpr: {{{gen|3}}} > 5|display:none;}}-->{{#ifexpr: {{{gen|3}}} = 5||display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} {{roundy|10px}} background: #DDDDFF; border-collapse: collapse;"
{| align="center" width="100%" style="<!--{{#ifexpr: {{{gen|3}}} > 5|display:none;}}-->{{#ifexpr: {{{gen|3}}} = 5||display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} {{roundy|10px}} background: #{{{headercolor|DDDDFF}}}; border-collapse: collapse;"
|-
|-
| align="center" width="33%" style="{{roundytop|10px}} background: #EEEEFF; line-height: 8pt" | '''<small>[[Generation V|{{color|000|Generation V}}]]</small>'''
| align="center" width="33%" style="{{roundytop|10px}} background: #{{#if: {{{bordercolor|}}}|{{hoenn color}}|EEEEFF}}; line-height: 8pt" | '''<small>[[Generation V|{{color|000|Generation V}}]]</small>'''
|  
|  
|-
|-