Template:Infobox ship part: Difference between revisions

Added subtitle to no-icon mode as well.
(Correction.)
(Added subtitle to no-icon mode as well.)
Line 6: Line 6:
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}''{{#if:{{{pikmin1|}}}|<br><small>(''Pikmin'')</small>}}{{#if:{{{pikmin3deluxe|}}}|<br><small>(''Pikmin 3 Deluxe'')</small>}}
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}''{{#if:{{{pikmin1|}}}|<br><small>(''Pikmin'')</small>}}{{#if:{{{pikmin3deluxe|}}}|<br><small>(''Pikmin 3 Deluxe'')</small>}}
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|Icon used to represent the ship part on the wiki.]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|Icon used to represent the ship part on the wiki.]]
  {{!}}} | ''{{{name|{{PAGENAME}} }}}'' }}
  {{!}}} | ''{{{name|{{PAGENAME}} }}}''{{#if:{{{pikmin1|}}}|<br><small>(''Pikmin'')</small>}}{{#if:{{{pikmin3deluxe|}}}|<br><small>(''Pikmin 3 Deluxe'')</small>}} }}
|-
|-
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{pipe}}{{{size|250x250px}}}]]}}
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{pipe}}{{{size|250x250px}}}]]}}