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
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox" style="width:280px;background:ghostwhite"
<templatestyles src="Tennis court infobox/styles.css"/>
! colspan="2" style="font-size:125%;background:#00BFFF" | {{{title|{{PAGETITLE}}}}}
{| id="tennis-court" class="infobox" style="width:280px"
! 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"
{{!}} '''Size class'''
{{!}} {{{weight|}}}}}
|-
|-
| '''Ball speed'''
{{#if:{{{ball_speed|}}}|
| {{{ball_speed|}}}
{{!}} '''Ball speed'''
|- style="background:#00BFFF"
{{!}} {{{ball_speed}}}
| '''Bounce strength'''
}}
| {{{bounce_strength|}}}
|-
|-  
{{#if:{{{bounce_strength|}}}|
| '''Appears in'''
{{!}} '''Bounce strength'''
| {{{appears_in|}}}
{{!}} {{{bounce_strength}}}
}}
|-
{{#if:{{{appears_in|}}}|
{{!}} '''Appears in'''
{{!}} {{{appears_in}}}
}}
|}<noinclude>{{br}}
|}<noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
{|class=wikitable style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em"
!colspan=2|Syntax
!colspan=2|Syntax
|-
|-
Line 33: Line 37:
|-
|-
|&#124;appears_in=
|&#124;appears_in=
|The game(s) that the court appeared in.
|The game(s) that the court appears in.
|-
|}
|}



Latest revision as of 07:57, May 27, 2024

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.
|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 appears in.
{{tennis court infobox
|title=
|image=
|ball_speed=
|bounce_strength=
|appears_in=
}}