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")
m (Text replacement - "{{!}} '''Other games'''" to "{{!}} '''Other appearances'''")
 
(7 intermediate revisions by the same user not shown)
Line 1: 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="background-color:{{{bgcolor|tan}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;padding:3px" | '''{{{name|{{PAGENAME}}}}}'''
| colspan="2" style="text-align:center" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this kart?<br />You can help by '''[[Special:Upload|uploading]]''' it!}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
|-
|-
{{#if:{{{driver<includeonly>|</includeonly>}}}{{{speed<includeonly>|</includeonly>}}}{{{acceleration<includeonly>|</includeonly>}}}{{{size<includeonly>|</includeonly>}}}{{{advantages<includeonly>|</includeonly>}}}{{{disadvantages<includeonly>|</includeonly>}}}{{{average<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>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Main driver'''
{{!}} {{{driver}}}
{{!}}-
}}
{{#if:{{{speed<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Speed'''
{{!}} {{{speed}}}
{{!}}-
}}
{{#if:{{{acceleration<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Acceleration'''
{{!}} {{{acceleration}}}
{{!}}-
}}
{{#if:{{{size<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Size class'''
{{!}} {{{size}}}
{{!}}-
}}
{{#if:{{{advantages<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Advantages'''
{{!}} {{{advantages}}}
{{!}}-
}}
{{#if:{{{disadvantages<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Disadvantages'''
{{!}} {{{disadvantages}}}
{{!}}-
}}
{{#if:{{{average<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Average stats'''
{{!}} {{{average}}}
}}
}}
|-
|-
{{#if:{{{first_appearance<includeonly>|</includeonly>}}}{{{latest_appearance<includeonly>|</includeonly>}}}{{{other_appearances<includeonly>|</includeonly>}}}|
{{#if:{{{games|}}}{{{speed|}}}{{{acceleration|}}}{{{weight|}}}{{{driver|}}}|
{{!}}-
! colspan="2" style="background-color:{{{bgcolor|tan}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;" {{!}} '''General information'''
! colspan="2" style="background:tan; font-size: 105%" {{!}} '''Appearances'''
{{!}}-
{{#if:{{{first_appearance<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''First appearance'''
{{!}} {{{first_appearance}}}
{{!}}-
{{!}}-
{{#if:{{{games|}}}|
{{!}}- style="vertical-align: top;"
{{!}}'''Games:'''
{{!}}style="padding-right: 1em;" {{!}} {{{games}}}
}}
}}
{{#if:{{{speed|}}}|
{{#if:{{{latest_appearance<includeonly>|</includeonly>}}}|
{{!}}- style="vertical-align: top;"
{{!}} style="background:#E9E9E9" {{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
{{!}}'''Speed:'''
{{!}}-
{{!}}style="padding-right: 1em;" {{!}} {{{speed}}}
}}
}}
{{#if:{{{acceleration|}}}|
{{#if:{{{other_appearances<includeonly>|</includeonly>}}}|
{{!}}- style="vertical-align: top;"
{{!}} style="background:#E9E9E9" {{!}} '''Other appearances'''
{{!}} {{{other_appearances}}}
{{!}}'''Acceleration:'''
{{!}}style="padding-right: 1em;" {{!}} {{{acceleration}}}
}}
}}
{{#if:{{{weight|}}}|
{{!}}- style="vertical-align: top;"
{{!}}'''Weight:'''
{{!}}style="padding-right: 1em;" {{!}} {{{weight}}}
}}
}}
|-
{{#if:{{{driver|}}}|
{{#if:{{{variant_of<includeonly>|</includeonly>}}}{{{variants<includeonly>|</includeonly>}}}|
{{!}}- style="vertical-align: top;"
{{!}}'''Main driver:'''
{{!}}-
{{!}}style="padding-right: 1em;" {{!}} {{{driver}}}
! colspan="2" style="background:tan; font-size: 105%" {{!}} '''Similar karts'''
{{!}}-
{{#if:{{{variant_of<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Variant of'''
{{!}} {{{variant_of}}}
{{!}}-
}}
}}
{{#if:{{{variants<includeonly>|</includeonly>}}}|
{{!}} style="background:#E9E9E9" {{!}} '''Variants'''
{{!}} {{{variants}}}
}}
}}
|}
}}
|}<noinclude>
</div>
<noinclude>
==Usage==
==Usage==
<pre>
<pre>
{{Kart infobox
{{kart infobox
|name=
|name=
|image=
|image=
|caption=
|caption=
|games=
|driver=
|speed=
|speed=
|acceleration=
|acceleration=
|weight=
|size=
|advantages=
|driver=
|disadvantages=
|average=
|first_appearance=
|latest_appearance=
|other_appearances=
|variant_of=
|variants=
}}
}}
</pre>
</pre>

[[Category:Infobox templates]]
</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 18:31, September 6, 2022

Kart infobox
Have an image of this kart?
You can help by uploading it!
General information
Main driver {{{driver}}}
Speed {{{speed}}}
Acceleration {{{acceleration}}}
Size class {{{size}}}
Advantages {{{advantages}}}
Disadvantages {{{disadvantages}}}
Average stats {{{average}}}
Appearances
First appearance {{{first_appearance}}}
Latest appearance {{{latest_appearance}}}
Other appearances {{{other_appearances}}}
Similar karts
Variant of {{{variant_of}}}
Variants {{{variants}}}

Usage

{{kart infobox
|name=
|image=
|caption=
|driver=
|speed=
|acceleration=
|size=
|advantages=
|disadvantages=
|average=
|first_appearance=
|latest_appearance=
|other_appearances=
|variant_of=
|variants=
}}