Template:Power Shot infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "==Template== {|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}}...")
 
mNo edit summary
 
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Template==
<templatestyles src="Power Shot infobox/styles.css"/>
{|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:#70DBFF; border:1px solid cyan;{{radius|5px}};float:{{#switch:{{{align}}}|left=left|#default=right}}"
{| id="power-shot" class="infobox" style="width:240px"
! colspan="2" bgcolor="#00CCFF" style="font-size:110%;{{radius|5px}}" | '''{{{title|{{PAGENAME}}}}}'''
! 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|}}}}}
|-
|-
| '''Used by'''
{{#if:{{{used_by|}}}|
| {{{used|}}}
{{!}} '''Used by'''
|- style=background:#00CCFF
{{!}} {{{used_by}}}
| '''Type'''
}}
| {{{type|}}}
|-
|-  
{{#if:{{{type|}}}|
| '''Appearance(s)'''
{{!}} '''Type'''
| {{{appearance|}}}
{{!}} {{{type}}}
|- style=background:#00CCFF
}}
|'''PS Points
|-
| {{{pspoints|}}}
{{#if:{{{appears_in|}}}|
|}<noinclude>
{{!}} '''Appears in'''
<br clear=all>
{{!}} {{{appears_in}}}
 
}}
|-
{{#if:{{{ps_points|}}}|
{{!}} '''PS Points'''
{{!}} {{{ps_points}}}
}}
|}<noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style=border-collapse:collapse;width:70%;float:right;margin-left:1em; cellpadding=3
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
!colspan=2|Syntax
!colspan=2|Syntax
|-
|&#124;title=
|The shot name, if different from the article title.
|-
|-
|&#124;image=
|&#124;image=
|An image of the shot
|An image of the shot.
|-
|-
|&#124;Used By=
|&#124;used_by=
|The character(s) that use the shot.
|The character(s) that use the shot.
|-
|-
|&#124;Type=
|&#124;type=
|The type of Power Shot (eg. Pitch, Offensive Power Shot)
|The type of Power Shot (eg. Pitch, Offensive Power Shot)
|-
|-
|&#124;PS Points=
|&#124;appears_in=
|The game(s) that the shot appears in.
|-
|&#124;ps_points=
|The amount of PS Points used to unlock the shot. Only used on ''[[Mario Tennis: Power Tour]]'' articles.
|The amount of PS Points used to unlock the shot. Only used on ''[[Mario Tennis: Power Tour]]'' articles.
|-
|&#124;Appearances=
|The game(s) that the shot appears in.
|}
|}
<pre>
<pre>
{{tennis_court
{{Power Shot infobox
|title=
|image=
|image=
|used=
|used_by=
|type=
|type=
|appearance=
|appears_in=
|ps_points=
|ps_points=
}}
}}
</pre>
</pre>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 11:58, June 6, 2024

Power Shot infobox

Usage

Syntax
|title= The shot name, if different from the article title.
|image= An image of the shot.
|used_by= The character(s) that use the shot.
|type= The type of Power Shot (eg. Pitch, Offensive Power Shot)
|appears_in= The game(s) that the shot appears in.
|ps_points= The amount of PS Points used to unlock the shot. Only used on Mario Tennis: Power Tour articles.
{{Power Shot infobox
|title=
|image=
|used_by=
|type=
|appears_in=
|ps_points=
}}