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: | 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="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>}}}{{{weight<includeonly>|</includeonly>}}}| |
|||
| colspan="2" style="text-align: center" | |
|||
! colspan="2" style="background-color:tan; font-size: 105%" {{!}} '''General information''' |
|||
{{{image}}}<br>{{{caption|}}} |
|||
{{!}}- |
|||
⚫ | |||
⚫ | |||
{{#if:{{{games|}}}{{{speed|}}}{{{acceleration|}}}{{{weight|}}}{{{driver|}}}| |
|||
! |
{{!}} style="background:#E9E9E9" {{!}} '''Main driver''' |
||
⚫ | |||
{{!}}- |
{{!}}- |
||
{{#if:{{{games|}}}| |
|||
{{!}}- style="vertical-align: top;" |
|||
{{!}}'''Games:''' |
|||
⚫ | |||
}} |
}} |
||
{{#if:{{{speed|}}}| |
{{#if:{{{speed<includeonly>|</includeonly>}}}| |
||
{{!}} |
{{!}} style="background:#E9E9E9" {{!}} '''Speed''' |
||
{{!}} |
{{!}} {{{speed}}} |
||
{{!}}- |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{speed}}} |
|||
}} |
}} |
||
{{#if:{{{acceleration|}}}| |
{{#if:{{{acceleration<includeonly>|</includeonly>}}}| |
||
{{!}} |
{{!}} style="background:#E9E9E9" {{!}} '''Acceleration''' |
||
{{!}} |
{{!}} {{{acceleration}}} |
||
{{!}}- |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{acceleration}}} |
|||
}} |
}} |
||
{{#if:{{{weight|}}}| |
{{#if:{{{weight<includeonly>|</includeonly>}}}| |
||
{{!}} |
{{!}} style="background:#E9E9E9" {{!}} '''Weight''' |
||
{{!}} |
{{!}} {{{weight}}} |
||
{{!}}- |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{weight}}} |
|||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- style="vertical-align: top;" |
|||
{{#if:{{{first_appearance<includeonly>|</includeonly>}}}{{{latest_appearance<includeonly>|</includeonly>}}}{{{other_games<includeonly>|</includeonly>}}}| |
|||
⚫ | |||
{{!}}- |
|||
{{!}}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>}}}| |
|||
⚫ | |||
{{!}} {{{other_games}}} |
|||
}} |
}} |
||
}} |
}} |
||
⚫ | |||
⚫ | |||
</div> |
|||
⚫ | |||
==Usage== |
==Usage== |
||
<pre> |
<pre> |
||
Line 45: | Line 55: | ||
|image= |
|image= |
||
|caption= |
|caption= |
||
| |
|driver= |
||
|speed= |
|speed= |
||
|acceleration= |
|acceleration= |
||
|weight= |
|weight= |
||
|first_appearance= |
|||
|driver= |
|||
|latest_appearance= |
|||
|other_games= |
|||
}} |
}} |
||
</pre> |
</pre> |
||
[[Category:Infobox templates]] |
|||
</noinclude> |
[[Category:Infobox templates]]</noinclude> |
Revision as of 04:10, June 25, 2022
Kart infobox | |
---|---|
Have an image of this kart? You can help by uploading it! | |
General information | |
Main driver | {{{driver}}} |
Speed | {{{speed}}} |
Acceleration | {{{acceleration}}} |
Weight | {{{weight}}} |
Game appearances | |
First appearance | {{{first_appearance}}} |
Latest appearance | {{{latest_appearance}}} |
Other games | {{{other_games}}} |
Usage
{{Kart infobox |name= |image= |caption= |driver= |speed= |acceleration= |weight= |first_appearance= |latest_appearance= |other_games= }}