Template:Ship Infobox: Difference between revisions

fixing formatting, templatedata, and moving damage resistance to the health section
m (Protected "Template:Ship Infobox Template" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(fixing formatting, templatedata, and moving damage resistance to the health section)
Line 10: Line 10:
         <data source="shields"><label>Shields</label></data>
         <data source="shields"><label>Shields</label></data>
         <data source="hull"><label>Hull</label></data>
         <data source="hull"><label>Hull</label></data>
    </group>
   
    <group>
        <data source="damage_res"><label>Damage Resistance</label></data>
     </group>
     </group>


Line 43: Line 47:
         <data source="ore_hold"><label>Ore Hold</label></data>
         <data source="ore_hold"><label>Ore Hold</label></data>
         <data source="warp_drive"><label>Warp Drive</label></data>
         <data source="warp_drive"><label>Warp Drive</label></data>
        <data source="damage_res"><label>Damage Resistance</label></data>
         <data source="stealth"><label>Stealth</label></data>
         <data source="stealth"><label>Stealth</label></data>
         <data source="cmax_drift"><label>Custom Max Drift</label></data>
         <data source="cmax_drift"><label>Custom Max Drift</label></data>
Line 72: Line 75:


     <group layout="horizontal">
     <group layout="horizontal">
         <data source="weapons_part"><label title="test">Weapons Part</label></data>
         <data source="weapons_part"><label>Weapons Part</label></data>
         <data source="alien_device"><label>Alien Device</label></data>
         <data source="alien_device"><label>Alien Device</label></data>
         <data source="alien_parts"><label>Alien Parts</label></data>
         <data source="alien_parts"><label>Alien Parts</label></data>
Line 93: Line 96:


     <group layout="horizontal">
     <group layout="horizontal">
         <data source="credit"><label>Manufacturing Fee</label></data>
         <data source="credit"><label>Estimated Manufacturing Fee</label></data>
         <data source="material_cost"><label>Materials Cost</label></data>
         <data source="material_cost"><label>Estimated Materials Cost</label></data>
     </group>
     </group>


     <group layout="horizontal">
     <group layout="horizontal">
         <data source="total_cost"><label>Total Cost</label></data>
         <data source="total_cost"><label>Estimated Total Cost</label></data>
         <data source="warehouse"><label>Warehouse Level</label></data>
         <data source="warehouse"><label>Warehouse Level</label></data>
     </group>
     </group>


     <group layout="horizontal">
     <group layout="horizontal">
         <data source="prize_condition"><label>Prize Conditions</label></data>  <!--use only if ship is awarded as a prize-->
         <data source="prize_condition"><label>Prize Conditions</label></data>
     </group>
     </group>


Line 206: Line 209:
"damage_res": {
"damage_res": {
"label": "Damage Resistance",
"label": "Damage Resistance",
"description": "Should be a percentage",
"description": "The resistance the ship has against damage, in percentage",
"type": "line"
"type": "line"
},
},
"stealth": {
"stealth": {
"label": "Stealth",
"label": "Stealth",
"description": "Is it a Stealth Ship? Yes/No",
"description": "Does the ship have stealth capabilities? Leave blank if no",
"type": "line"
"type": "line"
},
},
Line 280: Line 283:
},
},
"prize_condition": {
"prize_condition": {
"type": "string"
"type": "string",
"label": "Prize Conditions",
"description": "If the ship is awarded as a prize, what are the conditions to win it?"
},
},
"description": {
"description": {
Line 321: Line 326:
"shields",
"shields",
"hull",
"hull",
"damage_res",
"top_speed",
"top_speed",
"acceleration",
"acceleration",
Line 339: Line 345:
"ore_hold",
"ore_hold",
"warp_drive",
"warp_drive",
"damage_res",
"stealth",
"stealth",
"cmax_drift",
"cmax_drift",