Template:Tennis court infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:280px;background:ghostwhite"
{| id="tennis-court" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%;background:#00BFFF" | {{{title|{{PAGETITLE}}}}}
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| colspan="2" style="text-align:center" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
{{#if:{{{weight|}}}|{{!}}- style="background:#eee8aa"
|-
{{#if:{{{weight|}}}|
{{!}} '''Size class'''
{{!}} '''Size class'''
{{!}} {{{weight|}}}}}
{{!}} {{{weight}}}
}}
|-
{{#if:{{{ball_speed|}}}|
{{!}} '''Ball speed'''
{{!}} {{{ball_speed}}}
}}
|-
{{#if:{{{bounce_strength|}}}|
{{!}} '''Bounce strength'''
{{!}} {{{bounce_strength}}}
}}
|-
|-
| '''Ball speed'''
{{#if:{{{appears_in|}}}|
| {{{ball_speed|}}}
{{!}} '''Appears in'''
|- style="background:#00BFFF"
{{!}} {{{appears_in}}}
| '''Bounce strength'''
}}
| {{{bounce_strength|}}}
|}<templatestyles src="Tennis court infobox/styles.css"/><noinclude>{{br}}
|-
| '''Appears in'''
| {{{appears_in|}}}
|}<noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
Line 25: Line 33:
|&#124;image=
|&#124;image=
|An image of the court. Should be 230px.
|An image of the court. Should be 230px.
|-
|&#124;weight=
|The size class of the court.
|-
|-
|&#124;ball_speed=
|&#124;ball_speed=
Line 41: Line 52:
|title=
|title=
|image=
|image=
|weight=
|ball_speed=
|ball_speed=
|bounce_strength=
|bounce_strength=

Revision as of 10:50, May 4, 2022

Tennis court infobox

Usage

Syntax
|title= The name of the court, if different from the article title.
|image= An image of the court. Should be 230px.
|weight= The size class of the court.
|ball_speed= The court's ball speed, as indicated in the game.
|bounce_strength= The court's bounce strength, as indicated in the game.
|appears_in= The game(s) that the court appeared in.
{{tennis court infobox
|title=
|image=
|weight=
|ball_speed=
|bounce_strength=
|appears_in=
}}