Jump to content

Template:Infobox ship characteristics: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
vertical-align instead of valign
Fall back on Wikidata property Ship class see d:Property talk:P289
Line 6: Line 6:
| #default = <tr>
| #default = <tr>
<th colspan="2" height="30" {{WPMILHIST Infobox style|header_bar}}>General characteristics {{{Header caption|}}}</th></tr>
<th colspan="2" height="30" {{WPMILHIST Infobox style|header_bar}}>General characteristics {{{Header caption|}}}</th></tr>
}}{{#if:{{{Ship class|}}}|<tr style="vertical-align:top;"><td>Class & type:</td><td>
}}{{#if:{{{Ship class|}}}<!-- either -->{{#property:P289}}|<tr style="vertical-align:top;"><td>Class & type:</td><td>
{{{Ship class|}}}</td></tr>
{{#if:{{{Ship class|}}}|{{{Ship class|}}}|[[{{#property:P289}}]]}}</td></tr>
}}{{#if:{{{Ship type|}}}|<tr style="vertical-align:top;"><td>Type:</td><td>
}}{{#if:{{{Ship type|}}}|<tr style="vertical-align:top;"><td>Type:</td><td>
{{{Ship type|}}}</td></tr>
{{{Ship type|}}}</td></tr>

Revision as of 03:10, 26 November 2014