Template:Ship Infobox: Difference between revisions

no edit summary
imported>Smallketchup82
(adding templatedata)
No edit summary
Tag: 2017 source edit
(61 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<infobox>
{{#cargo_store:_table=ShipData}}
<infobox>    <title source="title">
    <default>The {{PAGENAME}}</default>
    </title>


<title source="title1">
    <image source="image"></image>


     <format>{{#switch: {{{title1}}}
     <group layout="horizontal">
    | force =  
        <header>Health</header>
    | Force =  
        <data source="shields"><label>Shields</label></data>
    | {{PAGENAME}} = The {{PAGENAME}}
        <data source="hull"><label>Hull</label></data>
    | The {{PAGENAME}}
        <data source="shield_regen_rate"><label>Shield Regen Rate</label></data>
    }}
     </group>
     </format>


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


<title source="forceTitle"></title>
    <group>
 
        <header>Armament</header>
<image source="image1"><caption source="caption1"/></image>
        <data source="tiny_turrets"><label>Tiny Turrets</label></data>
 
        <data source="small_turrets"><label>Light Turrets</label></data>
<data source="ship3dmodel"></data>
        <data source="med_turrets"><label>Med. Turrets</label></data>
 
        <data source="large_turrets"><label>Large Turrets</label></data>
<title source="title2"><default>Health</default></title>
        <data source="huge_turrets"><label>Huge Turrets</label></data>
 
        <data source="(f)_spinal"><label>(F) Spinal</label></data>
<image source="image2"><caption source="caption2"/></image>
        <data source="(g)_spinal"><label>(G) Spinal</label></data>
 
        <data source="m_class_range"><label>Max Turret Range</label></data>
<group layout="horizontal">
        <data source="r_class_range"><label>Recom. Range from Target</label></data>
 
        <data source="mining_lasers"><label>Mining Lasers</label></data>
  <data source="shields"><label>Shields</label></data>
        <data source="mining_range"><label>Mining Range</label></data>
 
        <data source="fighters"><label>Fighters</label></data>
  <data source="hull"><label>Hull</label></data>
    </group>
 
   
</group>
    <group>
 
        <header>Utility</header>
<header>Maneuverability</header>
        <data source="cargo_hold"><label>Cargo Hold</label></data>
 
        <data source="ore_hold"><label>Ore Hold</label></data>
<group layout="horizontal">
        <data source="warp_drive"><label>Warp Drive</label></data>
 
        <data source="stealth"><label>Stealth</label></data>
  <data source="top_speed"><label>Top Speed</label></data>
        <data source="cmax_drift"><label>Custom Max Drift</label></data>
 
        <data source="turret_dps"><label>Average Turret DPS</label></data>
  <data source="acceleration"><label>Acceleration</label></data>
        <data source="spinal_dps"><label>Average Spinal DPS</label></data>
 
        <data source="fighter_turret_dps"><label>Total Average Fighter Turret DPS</label></data>
  </group>
        <data source="fighter_spinal_dps"><label>Total Average Fighter Spinal DPS</label></data>
 
        <data source="explosion_radius"><label>Explosion Radius</label></data>
<group>
    </group>
 
  <data source="turn_speed"><label>Turn Speed</label></data>


 
    <group row-items="3">
</group>
        <header>Cost</header>
        <data source="antimatter_shard"><label>Antimatter Shard</label></data>
        <data source="data_archive"><label>Data Archive</label></data>
        <data source="ascension_crystal"><label>Ascension Crystal</label></data>
        <data source="space_pumpkin"><label>Space Pumpkin</label></data>
        <data source="ghost_pumpkin"><label>Ghost Pumpkin</label></data>
        <data source="gamma_pumpkin"><label>Gamma Pumpkin</label></data>
        <data source="void_pumpkin"><label>Void Pumpkin</label></data>
        <data source="soul"><label>Soul</label></data>
        <data source="embryo"><label>Embryos</label></data>
        <data source="preos_bit"><label>Preos Bits</label></data>
        <data source="snowflake"><label>Snowflake</label></data>
        <data source="weapons_part"><label>Weapons Part</label></data>
        <data source="alien_device"><label>Alien Device</label></data>
        <data source="alien_parts"><label>Alien Parts</label></data>
        <data source="plasma_batteries"><label>Plasma Batteries</label></data>
        <data source="thrust_component"><label>Thrust Components</label></data>
        <data source="armored_plating"><label>Armored Plating</label></data>
        <data source="stealth_plating"><label>Stealth Plating</label></data>
        <data source="dimensional_alloy"><label>Dimensional Alloys</label></data>
        <data source="luci_core"><label>Lucifier Cores</label></data>
        <data source="quantum_core"><label>Quantum Cores</label></data>
        <data source="kneall_core"><label>Kneall Cores</label></data>
        <data source="remnant_tech"><label>Remnant Techs</label></data>
        <data source="remnant_spore"><label>Remnant Spores</label></data>
        <data source="ice_shard"><label>Ice Shards</label></data>
        <data source="frost_core"><label>Frost Cores</label></data>
        <data source="annihilator_fighter_bay"><label>Annihilator Fighter Bay</label></data>
        <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>


<header>Armament</header>  
        <group row-items="2">
            <data source="permit"><label>Permit</label></data>
            <data source="prize_condition"><label>Prize Conditions</label></data>
            <data source="credit"><label>Estimated Manufacturing Fee</label></data>
            <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>
    </group>
      
      
  <data source= "armed">
     <group>
    <label>Armed</label>
        <header>Misc</header>
    <format>{{#switch: {{{armed}}}
        <data source="description"><label>Description</label></data>
    | Yes =
        <data source="creator"><label>Creator</label></data>
    | yes =
        <data source="version_added"><label>Version Added</label></data>
    | No = No
        <data source="date_released"><label>Released on</label></data>
    | no = No
        <data source="related_events"><label>Related Event(s)</label></data>
    | }}
         <data source="vip_required"><label>VIP Required</label></data>
     </format>
        <data source="loyalty_required"><label>Loyalty Required</label></data>
  </data>
    </group></infobox>
 
<noinclude><templatedata>
//Only use this to denote that the ship is unarmed
 
  <data source="small_turrets"><label>Light Turrets</label></data>
 
  <data source="med_turrets"><label>Med. Turrets</label></data>
 
  <data source="large_turrets"><label>Large Turrets</label></data> 
 
  <data source="(f)_spinal"><label>(F) Spinal</label></data>
 
  <data source="(g)_spinal"><label>(G) Spinal</label></data>
 
  <data source="m_class_range"><label>Max Turret Range</label></data>
 
  <data source="r_class_range"><label>Recom. Range from Target</label></data>
 
  <data source="mining_lasers"><label>Mining Lasers</label></data>
 
  <data source="mining_range"><label>Mining Range</label></data>
 
  <data source="fighters"><label>Fighters</label></data>
 
  </group>
 
<group>
 
  <header>Utility</header>
 
  <data source="cargo_hold"><label>Cargo Hold</label></data>
 
  <data source="ore_hold"><label>Ore Hold</label></data>
 
  <data source="warp_drive"><label>Warp Drive</label></data>
 
  <data source="damage_res"><label>Damage Resistance</label></data>
 
  <data source="turret_dps"><label>Total Turret DPS</label></data>
 
  <data source="spinal_dps"><label>Total Spinal DPS</label></data>
 
</group>
 
<group>
 
</group>
  <header>Cost</header>
 
<group layout="horizontal">
          
  <data source="silicate"><label>Silicate</label></data>
 
  <data source="carbon"><label>Carbon</label></data>
   
</group>
 
<group layout="horizontal"> 
 
  <data source="iridium"><label>Iridium</label></data>
 
  <data source="adamantite"><label>Adamantite</label></data>
 
</group>
 
<group layout="horizontal"> 
 
  <data source="palladium"><label>Palladium</label></data>
 
  <data source="titanium"><label>Titanium</label></data>
 
</group>
 
<group layout="horizontal"> 
 
  <data source="quantium"><label>Quantium</label></data>
 
  <data source="uranium"><label>Uranium</label></data>
 
</group>
 
<group layout="horizontal"> 
 
  <data source="antimatter_shard"><label>Antimatter Shard</label></data>
 
  <data source="data_archive"><label>Data Archive</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="ghost_pumpkin"><label>Ghost Pumpkin</label></data>
 
  <data source="gamma_pumpkin"><label>Gamma Pumpkin</label></data>
 
  <data source="void_pumpkin"><label>Void Pumpkin</label></data>
 
  <data source="soul"><label>Soul</label></data>
 
  <data source="embryo"><label>Embryos</label></data>
 
  <data source="preos_bit"><label>Preos Bits</label></data>
  <data source="snowflake"><label>Snowflake</label></data>
 
</group>
 
<group layout="horizontal"> 
 
  <data source="weapons_part"><label>Weapons Part</label></data>
 
  <data source="alien_device"><label>Alien Device</label></data>
 
  <data source="alien_parts"><label>Alien Parts</label></data>
 
</group>
 
<group layout="horizontal"> 
 
  <data source="plasma_batteries"><!--~3,100 Credits / Unit--><label>Plasma Batteries</label></data>
 
  <data source="thrust_component"><label>Thrust Components</label></data>
 
  <data source="armored_plating"><label>Armored Plating</label></data>
 
  <data source="dimensional_alloy"><label>Dimensional Alloys</label></data>
 
</group>
<group layout="horizontal">
  <data source="quantum_core"><label>Quantum Cores</label></data>
 
  <data source="kneall_core"><label>Kneall Cores</label></data>
 
  <data source="permit"><label>Permit</label></data>
 
</group>
 
<group layout="horizontal"> 
 
  <data source="credit"><label>Manufacturing Fee</label>
  </data>
 
  <data source="material_cost"><label>Materials Cost</label>
  </data>
 
</group>
 
<group layout="horizontal">
 
  <data source="total_cost"><label>Total Cost</label>
  </data>
 
  <data source="warehouse"><label>Warehouse Level</label></data>
 
</group>
 
<group layout="horizontal">
      <data source="prize_condition"><label>Prize Conditions</label></data>
  <!--use only if ship is awarded as a prize-->
</group>
 
<group>
 
  <header>Misc</header>
 
  <data source="description"><label>Description</label></data>
 
  <data source="creator"><label>Creator</label></data>
 
  <data source="version_added"><label>Version Added</label></data>
 
  <data source="vip_required"><label>VIP Required</label></data>
 
  <data source="loyalty_required"><label>Loyalty Required</label></data>
 
</group>
 
</infobox>
<noinclude>
<templatedata>
{
{
"params": {
"params": {
"title1": {
"title": {
"description": "Usually autofills, you don't need to fill this in half of the time.",
"label": "title",
"description": "Autofills, you don't need to fill this in unless you wish to override the default value",
"type": "string",
"autovalue": "The {{PAGENAME}}"
},
"image": {
"label": "image",
"description": "Image for the ship. View the Ship Image Guidelines for help",
"type": "string"
"type": "string"
},
},
"armed": {
"top_speed": {
"description": "Is the ship armed?",
"type": "number",
"example": "Yes"
"label": "Top Speed"
},
"acceleration": {
"label": "Acceleration",
"type": "number"
},
"turn_speed": {
"label": "Turn Speed"
},
"tiny_turrets": {
"description": "List of all Tiny size turrets on a ship"
},
"small_turrets": {
"description": "List of all Small size turrets on a ship"
},
},
"image1": {
"med_turrets": {
"description": "Image for the ship, this might be a bit tricky so ask Wiki Staff if you need support.",
"description": "List of all Medium size turrets on a ship"
"example": "Deity-icon.png",
"type": "wiki-file-name"
},
},
"top_speed": {
"large_turrets": {
"label": "speed",
"description": "List of all Large size turrets on a ship"
"description": "The top speed of the ship",
},
"example": "80",
"huge_turrets": {
"type": "number"
"description": "List of all Huge size turrets on a ship"
},
"(f)_spinal": {
"description": "The primary spinal armament on a ship (topmost displayed spinal weapon in the \"/info\" command in-game).",
"type": "string"
},
},
"acceleration": {
"(g)_spinal": {
"description": "The ship's acceleration. Can be found by doing the :info command ingame."
"description": "The secondary spinal armament on a ship (bottom-most displayed spinal weapon in the \"/info\" command in-game)",
"type": "string"
},
},
"turn_speed": {},
"small_turrets": {},
"med_turrets": {},
"large_turrets": {},
"(f)_spinal": {},
"(g)_spinal": {},
"m_class_range": {
"m_class_range": {
"label": "Max Turret Range"
"label": "Max Turret Range",
"description": "Range of the longest range turret on the ship",
"type": "number"
},
},
"r_class_range": {
"r_class_range": {
"label": "Recom. Range from Target"
"label": "Recommended Range from Target",
"description": "Range (taking turret positioning into account) that all turrets will be active and able to shoot",
"type": "number"
},
"mining_lasers": {
"description": "List of all the Mining lasers on a ship",
"label": "Mining Lasers",
"type": "string"
},
"mining_range": {
"description": "Describes the maximum range of the Mining turrets on a ship (in studs)",
"type": "number",
"label": "Mining Range"
},
"fighters": {
"description": "Lists all the fighters a Carrier carries.",
"label": "Fighters",
"type": "string"
},
},
"mining_lasers": {},
"cargo_hold": {
"mining_range": {},
"description": "The capacity of the ship's cargo hold",
"fighters": {},
"type": "number",
"cargo_hold": {},
"label": "Cargo Hold"
"ore_hold": {},
},
"warp_drive": {},
"ore_hold": {
"damage_res": {
"description": "The capacity of the ship's ore hold",
"label": "Damage Resistance"
"type": "number",
"label": "Ore Hold"
},
"warp_drive": {
"description": "Can the ship warp? Yes/No",
"label": "Warp Drive",
"type": "line"
},
"stealth": {
"label": "Stealth",
"description": "Does the ship have stealth capabilities? Leave blank if no",
"type": "line"
},
"cmax_drift": {
"label": "Custom Max Drift",
"description": "Should be a percentage, use the :info command in-game.",
"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": {
"type": "number",
"label": "Average Turret DPS"
},
"spinal_dps": {
"description": "Leave blank if the ship does not have spinals",
"type": "number",
"label": "Average Spinal 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.",
"type": "number"
},
"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"
},
},
"turret_dps": {},
"spinal_dps": {},
"silicate": {},
"carbon": {},
"iridium": {},
"adamantite": {},
"palladium": {},
"titanium": {},
"quantium": {},
"uranium": {},
"antimatter_shard": {},
"antimatter_shard": {},
"data_archive": {},
"data_archive": {},
Line 324: Line 251:
"quantum_core": {},
"quantum_core": {},
"kneall_core": {},
"kneall_core": {},
"permit": {},
"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": {
"type": "string"
},
"credit": {
"credit": {
"label": "Manufacturing Fee"
"label": "Manufacturing Fee",
"description": "The manufacturing fee of the ship. Use the \"/cost\" command ingame to find this",
"type": "line",
"deprecated": "Avoid usage"
},
},
"material_cost": {
"material_cost": {
"description": "Usually auto-calculated, you can leave this blank."
"description": "The cost of all the materials. Use the \"/cost\" command ingame to find this",
"label": "Material Cost",
"type": "line"
},
},
"total_cost": {
"total_cost": {
"description": "Usually auto-calculated, you can leave this blank."
"description": "The cost of the materials + the manufacturing fee. Use the \"/cost\" command ingame to find this",
"label": "Total Cost",
"type": "line"
},
},
"warehouse": {
"warehouse": {
"label": "Warehouse Level"
"label": "Warehouse Level",
"description": "The warehouse level needed to build the ship",
"type": "number"
},
"prize_condition": {
"type": "string",
"label": "Prize Conditions",
"description": "If the ship is awarded as a prize, what are the conditions to win it?"
},
"description": {
"description": "The ship's description. Found using \"/info\" command ingame. Ketchupbot autofills this",
"type": "string"
},
"creator": {
"description": "The original creator of the ship + any remodelers ",
"type": "string"
},
"version_added": {
"description": "The in-game version at the time the ship was released into the game.",
"type": "line"
},
},
"prize_condition": {},
"description": {},
"creator": {},
"version_added": {},
"vip_required": {
"vip_required": {
"type": "unknown"
"type": "boolean",
"description": "Does the ship require VIP to build & use? Yes/No"
},
},
"loyalty_required": {}
"loyalty_required": {
"description": "Loyalty required to spawn a ship.",
"type": "line"
},
"shields": {
"type": "number",
"label": "Shields"
},
"hull": {
"type": "number",
"label": "Hull"
},
"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).",
"type": "number",
"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",
"armed",
"shields",
"hull",
"shield_regen_rate",
"top_speed",
"top_speed",
"acceleration",
"acceleration",
"turn_speed",
"turn_speed",
"tiny_turrets",
"small_turrets",
"small_turrets",
"med_turrets",
"med_turrets",
"large_turrets",
"large_turrets",
"huge_turrets",
"(f)_spinal",
"(f)_spinal",
"(g)_spinal",
"(g)_spinal",
Line 366: Line 361:
"ore_hold",
"ore_hold",
"warp_drive",
"warp_drive",
"damage_res",
"stealth",
"cmax_drift",
"turret_dps",
"turret_dps",
"spinal_dps",
"spinal_dps",
"silicate",
"fighter_turret_dps",
"carbon",
"fighter_spinal_dps",
"iridium",
"explosion_radius",
"adamantite",
"palladium",
"titanium",
"quantium",
"uranium",
"antimatter_shard",
"antimatter_shard",
"data_archive",
"data_archive",
Line 392: Line 383:
"alien_device",
"alien_device",
"alien_parts",
"alien_parts",
"stealth_plating",
"plasma_batteries",
"plasma_batteries",
"thrust_component",
"thrust_component",
"armored_plating",
"armored_plating",
"stealth_plating",
"dimensional_alloy",
"dimensional_alloy",
"luci_core",
"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",
"credit",
"credit",
"material_cost",
"material_cost",
"warehouse",
"total_cost",
"total_cost",
"warehouse",
"prize_condition",
"description",
"description",
"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"
"description": "The template to use when filling in ship information, should be put on all ship pages",
}
"format": "\n{{_\n|_ = _\n}}\n"
</templatedata>
}</templatedata>
</noinclude>
{{#cargo_declare:_table=ShipData
|hull=String
|shields=String
|top_speed=Integer
|acceleration=Integer
|turn_speed=Float
|cargo_hold=String
|ore_hold=String
|warp_drive=Boolean
|stealth=Boolean
|cmax_drift=String
|turret_dps=Integer
|spinal_dps=Integer
|fighter_turret_dps=Integer
|fighter_spinal_dps=Integer
|explosion_radius=Integer
|credit=String
|material_cost=String
|warehouse=Integer
|total_cost=String
|description=Text
|creator=Text
|version_added=String
|vip_required=Boolean
|loyalty_required=String
}}</noinclude>