Navigation menu

Template:Door-infobox: Difference between revisions

From Metroid Wiki
1,364 bytes removed ,  16 August 2021
infobox
m (implementing fix)
(infobox)
 
Line 1: Line 1:
{| width="300px" cellpadding="3" cellspacing="0" style="{{round|20px}} float:right; {{border|2}} {{background|neutral}}; font-size: 11px; margin-left:10px; margin-bottom:10px"
{| class="infobox"
|
|
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}}"
{| class="infobox-sub"
! colspan="2" style="{{#if: {{{image|}}}| {{roundt}} | {{round}}}} {{border}} {{background}} font-size: 13px;" | ''{{{name|{{PAGENAME}}}}}''
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
! colspan="2" align="center" style="{{roundb}} {{border}} {{background}}" {{!}} <div style="float:center; border-bottom:1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
{{!}} colspan="2" style="text-align: center;" {{!}} <div style="float:center; border-bottom: 1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
<span style="font-size: 10px">{{{caption|}}}</span>}}
<span style="font-size: 10px">{{{caption|}}}</span>}}
|}
|}
|-  
|-  
|
|
{| width="100%" cellpadding="3" cellspacing="0" style="{{round}} {{border}} {{background}}"
{| class="infobox-sub"
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} Game(s)
! Game(s)
{{!}}  
{{!}}  
{{{games|''None''}}}
{{{games|''None''}}}
|-
|-
{{#if:{{{appearances|}}}|
{{#if:{{{appearances|}}}|
! style="{{#if:{{{games|}}}|border-top: 1px solid #{{mw color light}}|}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Off-game Appearances
! Off-game Appearances
{{!}} {{#if:{{{games|}}}|style="border-top: 1px solid #{{mw color light}}"|}} {{!}}  
{{!}}
{{{appearances|}}}}}
{{{appearances|}}}}}
|-
|-
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Type
! Type
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{type|}}}}}
{{{type|}}}}}
|-
|-
{{#if:{{{openby|}}}|
{{#if:{{{openby|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Opened by
! Opened by
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{openby|}}}}}
{{{openby|}}}}}
|-
|-
{{#if:{{{creators|}}}|
{{#if:{{{creators|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Creators
! Creators
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{creators|}}}}}
{{{creators|}}}}}
|-
|-
{{#if:{{{variants|}}}|
{{#if:{{{variants|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Variants
! Variants
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{variants|}}}}}
{{{variants|}}}}}
|}
|}
|}{{#if:{{{name|}}}|{{DISPLAYTITLE:{{{name|}}}}}|}}<noinclude>{{clear}}<noinclude>
|}{{#if:{{{name|}}}|{{DISPLAYTITLE:{{{name|}}}}}|}}<noinclude>{{clear}}


==Usage==
==Usage==
Line 69: Line 69:
</pre>
</pre>


[[Category:Infobox Templates]]
[[Category:Infobox Templates]]</noinclude>
</noinclude>