Template:Tennis court infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "{|class="infobox" cellpadding=2 cellspacing=0 width=240 style="font-family:Verdana,sans-serif;margin:{{#switch:{{{align}}}|left=0 1em 1em 0|#default=0 0 1em 1em}};font-size:10...")
 
No edit summary
 
(44 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{|class="infobox" cellpadding=2 cellspacing=0 width=240 style="font-family:Verdana,sans-serif;margin:{{#switch:{{{align}}}|left=0 1em 1em 0|#default=0 0 1em 1em}};font-size:10px;background:#00aaee; border:1px solid blue;{{radius|5px}};float:{{#switch:{{{align}}}|left=left|#default=right}}"
<templatestyles src="Tennis court infobox/styles.css"/>
! colspan="2" bgcolor="#0066FF" style="font-size:110%;{{radius|5px}}" | '''{{{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'''
| {{{high|}}}
{{!}} {{{ball_speed}}}
|- style=background:#0066FF
}}
| '''Bounce Strength'''
|-
|
{{#if:{{{bounce_strength|}}}|
| {{{low|}}}
{{!}} '''Bounce strength'''
|-
{{!}} {{{bounce_strength}}}
| '''Appearances'''
}}
|
|-
| {{{appearances|}}}
{{#if:{{{appears_in|}}}|
|}<noinclude>[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
{{!}} '''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.
|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>
{{character-infobox
{{tennis court infobox
|title=
|image=
|image=
|ball_speed=
|ball_speed=
|bounce_strength=
|bounce_strength=
|appearance=
|appears_in=
}}
}}
</pre>
</pre>
[[Category:Infobox Templates|{{PAGENAME}}]]</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=
}}