Template:Tennis court infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "{|class="infobox"" to "{| class="infobox"")
No edit summary
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:240px; background:#00BFFF;border:1px solid blue;border-spacing:0"
<templatestyles src="Tennis court infobox/styles.css"/>
! colspan="2" bgcolor="#1E90FF" style="font-size:110%" | '''{{{title|{{PAGENAME}}}}}'''
{| id="tennis-court" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align="center" colspan="2" | {{{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:#1E90FF
{{!}} {{{ball_speed}}}
| '''Bounce Strength'''
}}
| {{{bounce_strength|}}}
|-
|-  
{{#if:{{{bounce_strength|}}}|
| '''Appearance(s)'''
{{!}} '''Bounce strength'''
| {{{appearance|}}}
{{!}} {{{bounce_strength}}}
|}<noinclude>
}}
{{br}}
|-
 
{{#if:{{{appears_in|}}}|
{{!}} '''Appears in'''
{{!}} {{{appears_in}}}
}}
|}<noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style=border-collapse:collapse;width:70%;float:right;margin-left:1em; cellpadding=3
{|class=wikitable style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em"
!colspan=2|Syntax
!colspan=2|Syntax
|-
|&#124;title=
|The name of the court, if different from the article title.
|-
|-
|&#124;image=
|&#124;image=
|An image of the court. Should be 230px
|An image of the court. Should be 230px.
|-
|-
|&#124;Ball Speed=
|&#124;ball_speed=
|The courts ball speed, as indicated in the game.
|The court's ball speed, as indicated in the game.
|-
|-
|&#124;Bonce Strength=
|&#124;bounce_strength=
|The coursts bounce strength, as indicated in the game.
|The court's bounce strength, as indicated in the game.
|-
|&#124;Appearances=
|The game(s) that the court appeared in.
|-
|-
|&#124;appears_in=
|The game(s) that the court appears in.
|}
|}
<pre>
<pre>
{{tennis_court
{{tennis court infobox
|title=
|image=
|image=
|ball_speed=
|ball_speed=
|bounce_strength=
|bounce_strength=
|appearance=
|appears_in=
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

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=
}}