Template:Kart infobox: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
m (Text replacement - "Category:Infobox Templates" to "Category:Infobox templates")
(updating infobox design)
Line 1:
{| class="infobox bordered"
<div>
! colspan="2" style="font-size:125%; background:tan"| {{{name|{{PAGENAME}}}}}
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:300px; font-size:95%"
|-
!| colspan="2" style="backgroundtext-coloralign:center" | {{#if:{bgcolor{{image|tan}}}; color:|{{{txtcolor|blackimage}}};|Have text-align:an center;image font-size:of larger;padding:3px"this |kart?<br />You can help by '''[[Special:Upload|uploading]]''' it!}}{{#if:{name{{caption|}}}|<br />{{{PAGENAMEcaption}}}}}'''
|-
{{#if:{{{driver<includeonly>|</includeonly>}}}{{{speed<includeonly>|</includeonly>}}}{{{acceleration<includeonly>|</includeonly>}}}{{{weight<includeonly>|</includeonly>}}}|
| colspan="2" style="text-align: center" |
! colspan="2" style="background-color:tan; font-size: 105%" {{!}} '''General information'''
{{{image}}}<br>{{{caption|}}}
{{!}}-
|-
{{#if:{{{driver<includeonly>|</includeonly>}}}|
{{#if:{{{games|}}}{{{speed|}}}{{{acceleration|}}}{{{weight|}}}{{{driver|}}}|
{{! colspan="2"}} style="background-color:{{{bgcolor|tan}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;#E9E9E9" {{!}} '''GeneralMain informationdriver'''
{{!}}'''Main {{{driver:'''}}}
{{!}}-
{{#if:{{{games|}}}|
{{!}}- style="vertical-align: top;"
{{!}}'''Games:'''
{{!}}style="padding-right: 1em;" {{!}} {{{games}}}
}}
{{#if:{{{speed<includeonly>|</includeonly>}}}|
{{!}}- style="vertical-alignbackground: top;#E9E9E9" {{!}} '''Speed'''
{{!}}'''Speed:''' {{{speed}}}
{{!}}-
{{!}}style="padding-right: 1em;" {{!}} {{{speed}}}
}}
{{#if:{{{acceleration<includeonly>|</includeonly>}}}|
{{!}}- style="vertical-alignbackground: top;#E9E9E9" {{!}} '''Acceleration'''
{{!}}'''Acceleration:''' {{{acceleration}}}
{{!}}-
{{!}}style="padding-right: 1em;" {{!}} {{{acceleration}}}
}}
{{#if:{{{weight<includeonly>|</includeonly>}}}|
{{!}}- style="vertical-alignbackground: top;#E9E9E9" {{!}} '''Weight'''
{{!}}'''Weight:''' {{{weight}}}
{{!}}-
{{!}}style="padding-right: 1em;" {{!}} {{{weight}}}
}}
|}}
{{#if:{{{driver|}}}|
|-
{{!}}- style="vertical-align: top;"
{{#if:{{{first_appearance<includeonly>|</includeonly>}}}{{{latest_appearance<includeonly>|</includeonly>}}}{{{other_games<includeonly>|</includeonly>}}}|
{{!}}'''Main driver:'''
{{!}}-
{{!}}style="padding-right: 1em;" {{!}} {{{driver}}}
! colspan="2" style="background:tan; font-size: 105%" {{!}} '''Game appearances'''
{{!}}-
{{#if:{{{first_appearance<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''First appearance'''
{{!}} {{{first_appearance}}}
}}
{{!}}-
{{#if:{{{latest_appearance<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
}}
{{!}}-
{{#if:{{{other_games<includeonly>|</includeonly>}}}|
{{!}} style="padding-rightbackground: 1em;#E9E9E9" {{!}} {{{'''Other games}}}'''
{{!}} {{{other_games}}}
}}
}}
|}<noinclude>
|}
</div>
<noinclude>
==Usage==
<pre>
Line 45 ⟶ 55:
|image=
|caption=
|gamesdriver=
|speed=
|acceleration=
|weight=
|first_appearance=
|driver=
|latest_appearance=
|other_games=
}}
</pre>
 
[[Category:Infobox templates]]
[[Category:Infobox templates]]</noinclude>