Template:Tennis court infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "; background:" to ";background:") |
No edit summary |
||
(21 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width: | <templatestyles src="Tennis court infobox/styles.css"/> | ||
! colspan="2 | {| id="tennis-court" class="infobox" style="width:280px" | ||
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}} | |||
|- | |- | ||
| | | colspan="2" style="text-align:center" | {{{image|}}} | ||
|- | |- | ||
| '''Ball | {{#if:{{{ball_speed|}}}| | ||
{{!}} '''Ball speed''' | |||
|- | {{!}} {{{ball_speed}}} | ||
}} | |||
|- | |||
|- | {{#if:{{{bounce_strength|}}}| | ||
| ''' | {{!}} '''Bounce strength''' | ||
{{!}} {{{bounce_strength}}} | |||
|}<noinclude> | }} | ||
{{br}} | |- | ||
{{#if:{{{appears_in|}}}| | |||
{{!}} '''Appears in''' | |||
{{!}} {{{appears_in}}} | |||
}} | |||
|}<noinclude>{{br}} | |||
==Usage== | ==Usage== | ||
{| | {|class=wikitable style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" | ||
!colspan=2|Syntax | !colspan=2|Syntax | ||
|- | |||
||title= | |||
|The name of the court, if different from the article title. | |||
|- | |- | ||
||image= | ||image= | ||
|An image of the court. Should be 230px | |An image of the court. Should be 230px. | ||
|- | |- | ||
|| | ||ball_speed= | ||
|The | |The court's ball speed, as indicated in the game. | ||
|- | |- | ||
|| | ||bounce_strength= | ||
|The | |The court's bounce strength, as indicated in the game. | ||
|- | |- | ||
||appears_in= | |||
|The game(s) that the court appears in. | |||
|} | |} | ||
<pre> | <pre> | ||
{{ | {{tennis court infobox | ||
|title= | |||
|image= | |image= | ||
|ball_speed= | |ball_speed= | ||
|bounce_strength= | |bounce_strength= | ||
| | |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= }}