Template:System infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "110%" to "125%")
(cleanup code -- it was really messy. the parameters themselves could def be redone)
Line 1: Line 1:
<table class="infobox" style="width:240px;background:ghostwhite;border:1px solid #a88">
{| class="infobox" style="width:300px;background:ghostwhite;border:1px solid #a88"
<tr><td align="center" colspan="2" bgcolor="skyblue" style="font-size:125%">'''{{{title|{{PAGENAME}}}}}'''</td></tr>
| colspan="2" style="background:skyblue;text-align:center;font-size:125%" | '''{{{title|{{PAGENAME}}}}}'''
<tr><td align="center" colspan="2">{{{Image|}}}</td></tr>
|-
{{#if:{{{generation|}}}|
| colspan="2" style="text-align:center" | {{{Image|}}}
<tr style="background:powderblue">
{{#if:{{{generation|}}}|{{!}}-style="background:powderblue"
<td>'''Generation'''</td>
{{!}}'''Generation'''
<td>{{wp|{{{generation|}}} generation of video game consoles|{{{generation|}}} generation}}</td>
{{!}} {{wp|{{{generation|}}} generation of video game consoles|{{{generation|}}} generation}}
</tr>}}{{#if:{{{Rel|}}}|
|}}
<tr>
|-
<td>'''Released'''</td>
{{#if:{{{Rel|}}}|{{!}}-
<td>{{{Rel|}}}</td>
{{!}} '''Released'''
</tr>}}{{#if:{{{Dis|}}}|
{{!}} {{{Rel}}}
<tr style="background:powderblue">
|}}
<td>'''Discontinued'''</td>
|-
<td>{{{Dis|}}}</td>
{{#if:{{{Dis|}}}|{{!}}-style="background:powderblue"
</tr>}}{{#if:{{{ratings|}}}|
{{!}} '''Discontinued'''
<tr>
{{!}} {{{Dis}}}
<td>'''Ratings'''</td>
|}}
<td>{{{ratings}}}</td>
|-
</tr>}}{{#if:{{{Pre|}}}|
{{#if:{{{ratings|}}}|{{!}}-
<tr {{#if:{{{ratings|}}}|style="background:powderblue"}}>
{{!}} '''Ratings'''
<td>'''Predecessor'''</td>
{{!}} {{{ratings}}}
<td>{{{Pre|}}}</td>
|}}
</tr>}}{{#if:{{{Suc|}}}|
|-
<tr {{#if:{{{ratings|}}}||style="background:powderblue"}}>
{{#if:{{{Pre|}}}|{{!}}-style="background:powderblue"
<td>'''Successor'''</td>
{{!}} '''Predecessor'''
<td>{{{Suc|}}}</td>
{{!}} {{{Pre}}}
</tr>}}</table><noinclude>[[Category:Infobox templates]]</noinclude>
|}}
|-
{{#if:{{{Suc|}}}|{{!}}-style="background:powderblue"
{{!}} '''Successor'''
{{!}} {{{Suc}}}
|}}
|}<noinclude>[[Category:Infobox templates]]</noinclude>

Revision as of 18:07, October 16, 2021

System infobox