Template:Pirate-infobox: Difference between revisions

From Metroid Wiki
m
float right. Also de-centering fields in right-hand column.
mNo edit summary
m (float right. Also de-centering fields in right-hand column.)
Line 1: Line 1:
{|  width="300px" cellpadding="3" cellspacing="0" align="right" style="{{round|20px}} {{border|2}} {{background|neutral}}; font-size: 11px; margin-left:10px; margin-bottom:10px"
{|  width="300px" cellpadding="3" cellspacing="0" style="{{round|20px}} float:right; {{border|2}} {{background|neutral}}; font-size: 11px; margin-left:10px; margin-bottom:10px"
|
|
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}}"
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}}"
Line 10: Line 10:
|-  
|-  
|
|
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}} {{border}} {{background}}"
{| width="100%" cellpadding="3" cellspacing="0" style="{{round}} {{border}} {{background}}"
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} {{#if: {{{games|}}}|Games|Game}}
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} {{#if: {{{games|}}}|Games|Game}}
{{!}}
{{!}}
Line 50: Line 50:
{{{reward|}}}}}
{{{reward|}}}}}
|}
|}
|}{{#if:{{{name|}}}|{{DISPLAYTITLE:{{{name|}}}}}|}}<noinclude>{{clear}}
|}{{#if:{{{name|}}}|{{DISPLAYTITLE:{{{name|}}}}}
|}}
<includeonly>[[Category:Space Pirate]]</includeonly>
<includeonly>[[Category:Space Pirate]]</includeonly>
<noinclude>
{{clear}}
== Usage ==
== Usage ==
This template is used to display the vital information for various types of [[Space Pirate]]s. Either games, appearances, or both must be present. Planet and area are also mandatory. All other fields are optional.
This template is used to display the vital information for various types of [[Space Pirate]]s. Either games, appearances, or both must be present. Planet and area are also mandatory. All other fields are optional.