Template:ShipInfobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Infobox
<infobox>
| title   = {{{name|{{PAGENAME}}}}}
  <title source="name">
| image   = {{#if:{{{image|}}}|[[File:{{{image|}}}|300px]]}}
    <default>{{PAGENAME}}</default>
| caption = {{{image_desc|}}}
  </title>
| image2    = {{#if:{{{image2|}}}|[[File:{{{image2|}}}|300px]]}}
  <image source="image">
| caption2 = {{{image2_desc|}}}
    <caption source="image_desc" />
|header1 =
  </image>
| label1 = Type
  <data source="type">
|  data1 = {{{type|}}}
    <label>Type</label>
| label2 = Captain
  </data>
|  data2 = {{{captain|}}}
  <data source="captain">
| label3 = Crew
    <label>Captain</label>
|  data3 = {{{crew|}}}
  </data>
| label5 = Propulsion
  <data source="crew">
|  data5 = {{{propulsion|}}}
    <label>Crew</label>
| label6 = Armament
  </data>
|  data6 = {{{armament|}}}
  <data source="propulsion">
| label7 = Affiliation
    <label>Propulsion</label>
|  data7 = {{{affiliation|}}}
  </data>
| label8 = Status
  <data source="armament">
|  data8 = {{{status|}}}
    <label>Armament</label>
}}
  </data>
  <data source="affiliation">
    <label>Affiliation</label>
  </data>
  <data source="status">
    <label>Status</label>
  </data>
</infobox>

Latest revision as of 00:09, 27 November 2023