Template:Ship Infobox: Difference between revisions

no edit summary
m (Smallketchup82 moved page Template:Ship Infobox Template to Template:Ship Infobox: rename)
No edit summary
Tag: 2017 source edit
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#cargo_store:_table=ShipData}}
{{#cargo_store:_table=ShipData}}
<infobox>
<infobox>   <title source="title">
    <title source="title1">
     <default>The {{PAGENAME}}</default>
     <default>The {{PAGENAME}}</default>
     </title>
     </title>


     <image source="image1"></image>
     <image source="image"></image>


    <header>Health</header>
     <group layout="horizontal">
     <group layout="horizontal">
        <header>Health</header>
         <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>
         <data source="shield_regen_rate"><label>Shield Regen Rate</label></data>
   
    <group>
         <data source="damage_res"><label>Damage Resistance</label></data>
     </group>
     </group>


    <header>Maneuverability</header>
     <group layout="horizontal">
     <group layout="horizontal">
        <header>Maneuverability</header>
         <data source="top_speed"><label>Top Speed</label></data>
         <data source="top_speed"><label>Top Speed</label></data>
         <data source="acceleration"><label>Acceleration</label></data>
         <data source="acceleration"><label>Acceleration</label></data>
     </group>
     </group>
    <data source="turn_speed"><label>Turn Speed</label></data>


     <group>
     <group>
         <data source="turn_speed"><label>Turn Speed</label></data>
         <header>Armament</header>
    </group>
 
    <header>Armament</header>
    <group>
         <data source="tiny_turrets"><label>Tiny Turrets</label></data>
         <data source="tiny_turrets"><label>Tiny Turrets</label></data>
         <data source="small_turrets"><label>Light Turrets</label></data>
         <data source="small_turrets"><label>Light Turrets</label></data>
Line 42: Line 35:
         <data source="fighters"><label>Fighters</label></data>
         <data source="fighters"><label>Fighters</label></data>
     </group>
     </group>
 
      
     <header>Utility</header>
     <group>
     <group>
        <header>Utility</header>
         <data source="cargo_hold"><label>Cargo Hold</label></data>
         <data source="cargo_hold"><label>Cargo Hold</label></data>
         <data source="ore_hold"><label>Ore Hold</label></data>
         <data source="ore_hold"><label>Ore Hold</label></data>
Line 57: Line 50:
     </group>
     </group>


     <header>Cost</header>
     <group row-items="3">
    <group layout="horizontal">
        <header>Cost</header>
         <data source="antimatter_shard"><label>Antimatter Shard</label></data>
         <data source="antimatter_shard"><label>Antimatter Shard</label></data>
         <data source="data_archive"><label>Data Archive</label></data>
         <data source="data_archive"><label>Data Archive</label></data>
         <data source="ascension_crystal"><label>Ascension Crystal</label></data>
         <data source="ascension_crystal"><label>Ascension Crystal</label></data>
    </group>
    <group layout="horizontal">
         <data source="space_pumpkin"><label>Space Pumpkin</label></data>
         <data source="space_pumpkin"><label>Space Pumpkin</label></data>
         <data source="ghost_pumpkin"><label>Ghost Pumpkin</label></data>
         <data source="ghost_pumpkin"><label>Ghost Pumpkin</label></data>
Line 73: Line 63:
         <data source="preos_bit"><label>Preos Bits</label></data>
         <data source="preos_bit"><label>Preos Bits</label></data>
         <data source="snowflake"><label>Snowflake</label></data>
         <data source="snowflake"><label>Snowflake</label></data>
    </group>
    <group layout="horizontal">
         <data source="weapons_part"><label>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>
    </group>
    <group layout="horizontal">
         <data source="plasma_batteries"><label>Plasma Batteries</label></data>
         <data source="plasma_batteries"><label>Plasma Batteries</label></data>
         <data source="thrust_component"><label>Thrust Components</label></data>
         <data source="thrust_component"><label>Thrust Components</label></data>
Line 90: Line 74:
         <data source="quantum_core"><label>Quantum Cores</label></data>
         <data source="quantum_core"><label>Quantum Cores</label></data>
         <data source="kneall_core"><label>Kneall Cores</label></data>
         <data source="kneall_core"><label>Kneall Cores</label></data>
    </group>
        <data source="remnant_tech"><label>Remnant Techs</label></data>
 
        <data source="remnant_spore"><label>Remnant Spores</label></data>
    <group layout="horizontal">
        <data source="ice_shard"><label>Ice Shards</label></data>
         <data source="permit"><label>Permit</label></data>
         <data source="frost_core"><label>Frost Cores</label></data>
         <data source="prize_condition"><label>Prize Conditions</label></data>
         <data source="annihilator_fighter_bay"><label>Annihilator Fighter Bay</label></data>
    </group>
        <data source="punisher_weapon_salvage"><label>Punisher Weapon Salvage</label></data>
        <data source="obliterator_shield_systems"><label>Obliterator Shield Systems</label></data>
        <data source="intact_bastion_module"><label>Intact Bastion Module</label></data>
        <data source="precursor_component"><label>Precursor Component</label></data>
        <data source="ancient_scrap"><label>Ancient Scrap</label></data>
        <data source="sojourn_exclusive_part"><label>Sojourn Exclusive Part</label></data>
        <data source="precursor_nanite"><label>Precursor Nanite</label></data>
        <data source="typhoon_membrane"><label>Typhoon Membrane</label></data>


    <group layout="horizontal">
        <group row-items="2">
        <data source="credit"><label>Estimated Manufacturing Fee</label></data>
            <data source="permit"><label>Permit</label></data>
        <data source="material_cost"><label>Estimated Materials Cost</label></data>
            <data source="prize_condition"><label>Prize Conditions</label></data>
        <data source="warehouse"><label>Warehouse Level</label></data>
            <data source="credit"><label>Estimated Manufacturing Fee</label></data>
    </group>
            <data source="material_cost"><label>Estimated Materials Cost</label></data>
            <data source="warehouse"><label>Warehouse Level</label></data>
            <data source="total_cost" layout="default"><label>Estimated Total Cost</label></data>
        </group>


    <group>
        <data source="total_cost"><label>Estimated Total Cost</label></data>
     </group>
     </group>
 
      
     <header>Misc</header>
     <group>
     <group>
        <header>Misc</header>
         <data source="description"><label>Description</label></data>
         <data source="description"><label>Description</label></data>
         <data source="creator"><label>Creator</label></data>
         <data source="creator"><label>Creator</label></data>
         <data source="version_added"><label>Version Added</label></data>
         <data source="version_added"><label>Version Added</label></data>
        <data source="date_released"><label>Released on</label></data>
        <data source="related_events"><label>Related Event(s)</label></data>
         <data source="vip_required"><label>VIP Required</label></data>
         <data source="vip_required"><label>VIP Required</label></data>
         <data source="loyalty_required"><label>Loyalty Required</label></data>
         <data source="loyalty_required"><label>Loyalty Required</label></data>
     </group>
     </group></infobox>
 
<noinclude><templatedata>
</infobox>
 
<noinclude>
<templatedata>
{
{
"params": {
"params": {
"title1": {
"title": {
"label": "title",
"description": "Autofills, you don't need to fill this in unless you wish to override the default value",
"description": "Autofills, you don't need to fill this in unless you wish to override the default value",
"type": "string",
"type": "string",
"label": "title",
"autovalue": "The {{PAGENAME}}"
"autovalue": "The {{PAGENAME}}"
},
},
"image1": {
"image": {
"label": "image",
"description": "Image for the ship. View the Ship Image Guidelines for help",
"description": "Image for the ship. View the Ship Image Guidelines for help",
"label": "image"
"type": "string"
},
},
"top_speed": {
"top_speed": {
Line 159: Line 150:
},
},
"(f)_spinal": {
"(f)_spinal": {
"description": "The primary spinal armament on a ship (topmost displayed spinal weapon in the :info command in-game).",
"description": "The primary spinal armament on a ship (topmost displayed spinal weapon in the \"/info\" command in-game).",
"type": "string"
"type": "string"
},
},
"(g)_spinal": {
"(g)_spinal": {
"description": "The secondary spinal armament on a ship (bottom-most displayed spinal weapon in the :info command in-game)",
"description": "The secondary spinal armament on a ship (bottom-most displayed spinal weapon in the \"/info\" command in-game)",
"type": "string"
"type": "string"
},
},
Line 204: Line 195:
"description": "Can the ship warp? Yes/No",
"description": "Can the ship warp? Yes/No",
"label": "Warp Drive",
"label": "Warp Drive",
"type": "line"
},
"damage_res": {
"label": "Damage Resistance",
"description": "The resistance the ship has against damage, in percentage",
"type": "line"
"type": "line"
},
},
Line 220: Line 206:
"description": "Should be a percentage, use the :info command in-game.",
"description": "Should be a percentage, use the :info command in-game.",
"type": "string"
"type": "string"
},
"shield_regen_rate": {
"label": "Shield Regen Rate",
"description": "Should be a number, specifies how much shield health is regenerated per second while in combat. Check for the stat using the \"/info\" command in-game.",
"type": "number"
},
},
"turret_dps": {
"turret_dps": {
Line 231: Line 222:
},
},
"fighter_turret_dps": {
"fighter_turret_dps": {
"description": "Leave blank if the ship does not have fighters. Can be found by doing the :info command ingame and adding up fighter turret dps.",
"description": "Leave blank if the ship does not have fighters. Can be found by doing the \"/info\" command ingame and adding up fighter turret dps.",
"type": "number"
"type": "number"
},
},
"fighter_spinal_dps": {
"fighter_spinal_dps": {
"description": "Leave blank if the ship does not have fighters. Can be found by doing the :info command ingame and adding up fighter spinal dps.",
"description": "Leave blank if the ship does not have fighters. Can be found by doing the \"/info\" command ingame and adding up fighter spinal dps.",
"type": "number"
"type": "number"
},
},
Line 261: Line 252:
"kneall_core": {},
"kneall_core": {},
"luci_core": {},
"luci_core": {},
"remnant_tech": {},
"remnant_spore": {},
"ice_shard": {},
"frost_core": {},
"annihilator_fighter_bay": {},
"punisher_weapon_salvage": {},
"obliterator_shield_systems": {},
"intact_bastion_module": {},
"precursor_component": {},
"ancient_scrap": {},
"sojourn_exclusive_part": {},
"precursor_nanite": {},
"typhoon_membrane": {},
"permit": {
"permit": {
"type": "string"
"type": "string"
Line 266: Line 270:
"credit": {
"credit": {
"label": "Manufacturing Fee",
"label": "Manufacturing Fee",
"description": "The manufacturing fee of the ship. Use the :cost command ingame to find this",
"description": "The manufacturing fee of the ship. Use the \"/cost\" command ingame to find this",
"type": "line"
"type": "line",
"deprecated": "Avoid usage"
},
},
"material_cost": {
"material_cost": {
"description": "The cost of all the materials. Use the :cost command ingame to find this",
"description": "The cost of all the materials. Use the \"/cost\" command ingame to find this",
"label": "Material Cost",
"label": "Material Cost",
"type": "line"
"type": "line"
},
},
"total_cost": {
"total_cost": {
"description": "The cost of the materials + the manufacturing fee. Use the :cost command ingame to find this",
"description": "The cost of the materials + the manufacturing fee. Use the \"/cost\" command ingame to find this",
"label": "Total Cost",
"label": "Total Cost",
"type": "line"
"type": "line"
Line 290: Line 295:
},
},
"description": {
"description": {
"description": "The ship's description. Found using :info command ingame. Ketchupbot autofills this",
"description": "The ship's description. Found using \"/info\" command ingame. Ketchupbot autofills this",
"type": "string"
"type": "string"
},
},
Line 318: Line 323:
},
},
"explosion_radius": {
"explosion_radius": {
"description": "The explosion radius of a ship, i.e. how large the explosion is in studs, down-scaled by a factor of 9 (found in the :info command in-game).",
"description": "The explosion radius of a ship, i.e. how large the explosion is in studs, down-scaled by a factor of 9 (found in the \"/info\" command in-game).",
"type": "number",
"type": "number",
"label": "Explosion Radius"
"label": "Explosion Radius"
},
"related_events": {
"label": "Related Events",
"description": "Links to events related to the ship",
"type": "string"
},
"date_released": {
"description": "The date the ship was originally released on, in YYYY-MM-DD format",
"type": "date"
}
}
},
},
"paramOrder": [
"paramOrder": [
"title1",
"title",
"image1",
"image",
"shields",
"shields",
"hull",
"hull",
"damage_res",
"shield_regen_rate",
"top_speed",
"top_speed",
"acceleration",
"acceleration",
Line 377: Line 391:
"quantum_core",
"quantum_core",
"kneall_core",
"kneall_core",
"remnant_tech",
"remnant_spore",
"ice_shard",
"frost_core",
"annihilator_fighter_bay",
"punisher_weapon_salvage",
"obliterator_shield_systems",
"intact_bastion_module",
"precursor_component",
"ancient_scrap",
"sojourn_exclusive_part",
"precursor_nanite",
"typhoon_membrane",
"permit",
"permit",
"prize_condition",
"prize_condition",
Line 386: Line 413:
"creator",
"creator",
"version_added",
"version_added",
"date_released",
"related_events",
"vip_required",
"vip_required",
"loyalty_required"
"loyalty_required"
],
],
"description": "The template to use when filling in ship information, should be put on all ship pages"
"description": "The template to use when filling in ship information, should be put on all ship pages",
}
"format": "\n{{_\n|_ = _\n}}\n"
</templatedata>
}</templatedata>
 
{{#cargo_declare:_table=ShipData
{{#cargo_declare:_table=ShipData
|hull=String
|hull=String
|shields=String
|shields=String
|damage_res=String
|top_speed=Integer
|top_speed=Integer
|acceleration=Integer
|acceleration=Integer
Line 419: Line 446:
|vip_required=Boolean
|vip_required=Boolean
|loyalty_required=String
|loyalty_required=String
}}
}}</noinclude>
</noinclude>