Template:Visor-infobox: Difference between revisions

From Metroid Wiki
infobox
mNo edit summary
(infobox)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px style="Border: {{round}}"
{| class="infobox"
align="center" style="{{roundt}} Border:1px solid #{{mw color light}}"  colspan="2" {{!}} '''''{{PAGENAME}}'''''
|
{| class="infobox-sub"
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
|-
|-
{{#if:{{{image|}}}|
{{#if: {{{image|}}}|
{{!-}}
{{!}} colspan="2" style="text-align: center;" {{!}} <div style="float:center; border-bottom: 1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
! colspan="2" style="{{round}} Border:1px solid #{{mw color light}}" {{!}} {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
<span style="font-size: 10px">{{{caption|}}}</span>}}
{{#if:{{{visor|}}}|
|}
{{!-}} valign="top"
|-
! Visor
|
{{!}}   {{{visor|}}}
{| class="infobox-sub"
}}{{#if:{{{hud|}}}|
! Game(s)
{{!-}} valign="top"
{{!}}
{{{games|''None''}}}
|-
{{#if:{{{location|}}}|
! Located in
{{!}}
{{{location|}}}}}
|-
{{#if:{{{uses|}}}|
! Uses
{{!}}
{{{uses|}}}}}
|-
{{#if:{{{hud|}}}|
! HUD
! HUD
{{!}}   {{{hud|}}}
{{!}}
}}{{#if:{{{games|}}}|
{{{hud|}}}}}
{{!-}} valign="top"
|}
! Games
{{!}}  {{{games|}}}
}}{{#if:{{{uses|}}}|
{{!-}} valign="top"
! Uses
{{!}}  {{{uses|}}}
}}{{#if:{{{location|}}}|
{{!-}} valign="top"
! Located in
{{!}}  {{{location|}}}
}}
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==  
==Usage==  
This should be used on a visors page.
This should be used on a visors page. The Games and HUD sections must be present. The Image should be one fitted for HUD, see [[Thermal Visor]] for an example.
<pre>{{Visor-infobox
<pre>{{Visor-infobox
|image=
|image=
|caption=
|caption=
|visor=
|hud=
|games=
|games=
|location=
|uses=
|uses=
|location=
|hud=
}}</pre>
}}</pre>




[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox Templates]]</noinclude>