Template:Ship Infobox: Difference between revisions

From Galaxypedia
No edit summary
(remove deprecated properties, optimize templatedata, fix formatting on some options. changes may break some ship pages, please update ship pages to comply with this edit)
Line 1: Line 1:
<infobox>
<infobox>
     <title source="title1">
     <title source="title1">
        <format>{{#switch: {{{title1}}}
    <default>The {{PAGENAME}}</default>
            | force =
            | Force =
            | {{PAGENAME}} = The {{PAGENAME}}
            | The {{PAGENAME}}
            }}
        </format>
     </title>
     </title>


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


     <header>Health</header>
     <header>Health</header>
Line 32: Line 24:
     <header>Armament</header>
     <header>Armament</header>
     <group>
     <group>
        //Only use this to denote that the ship is unarmed
        <data source="armed">
            <label>Armed</label>
            <format>{{#switch: {{{armed}}}
                | Yes =
                | yes =
                | No = No
                | no = No
                | }}
            </format>
        </data>
         <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 74: Line 54:


     <header>Cost</header>
     <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">
     <group layout="horizontal">
         <data source="antimatter_shard"><label>Antimatter Shard</label></data>
         <data source="antimatter_shard"><label>Antimatter Shard</label></data>
Line 112: Line 72:


     <group layout="horizontal">
     <group layout="horizontal">
         <data source="weapons_part"><label>Weapons Part</label></data>
         <data source="weapons_part"><label title="test">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 161: Line 121:
"params": {
"params": {
"title1": {
"title1": {
"description": "Usually autofills, you don't need to fill this in half of the time.",
"description": "Autofills, you don't need to fill this in unless you wish to override the default value",
"type": "string",
"type": "string",
"label": "title"
"label": "title",
},
"autovalue": "The {{PAGENAME}}"
"armed": {
"description": "Is the ship armed? Yes/No",
"example": "Yes",
"type": "boolean",
"deprecated": "Non standard, will be removed soon"
},
},
"image1": {
"image1": {
"description": "Image for the ship, this might be a bit tricky so ask Wiki Staff if you need support.",
"description": "Image for the ship. View the Ship Image Guidelines for help",
"example": "Deity-icon.png",
"type": "wiki-file-name",
"label": "image"
"label": "image"
},
},
"top_speed": {
"top_speed": {
"type": "number",
"type": "number",
"description": "Self explanatory"
"label": "Top Speed"
},
},
"acceleration": {
"acceleration": {
"description": "Can be found by doing the :info command ingame."
"label": "Acceleration",
"type": "number"
},
},
"turn_speed": {
"turn_speed": {
"description": "Can be found by doing the :info command ingame."
"label": "Turn Speed"
},
},
"tiny_turrets": {
"tiny_turrets": {
"description": "List of all Tiny size turrets on a ship."
"description": "List of all Tiny size turrets on a ship"
},
},
"small_turrets": {
"small_turrets": {
"description": "List of all Small size turrets on a ship."
"description": "List of all Small size turrets on a ship"
},
},
"med_turrets": {
"med_turrets": {
"description": "List of all Medium size turrets on a ship."
"description": "List of all Medium size turrets on a ship"
},
},
"large_turrets": {
"large_turrets": {
"description": "List of all Large size turrets on a ship."
"description": "List of all Large size turrets on a ship"
},
},
"huge_turrets": {
"huge_turrets": {
"description": "List of all Huge size turrets on a ship."
"description": "List of all Huge size turrets on a ship"
},
},
"(f)_spinal": {
"(f)_spinal": {
"description": "The primary spinal armament on a ship (topmost displayed spinal weapon in the :shipinfo command in-game)."
"description": "The primary spinal armament on a ship (topmost displayed spinal weapon in the :info command in-game).",
"type": "string"
},
},
"(g)_spinal": {
"(g)_spinal": {
"description": "The secondary spinal armament on a ship (bottom-most displayed spinal weapon in the :shipinfo command in-game)."
"description": "The secondary spinal armament on a ship (bottom-most displayed spinal weapon in the :info command in-game)",
"type": "string"
},
},
"m_class_range": {
"m_class_range": {
Line 214: Line 170:
},
},
"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 able to shoot at",
"description": "Range (taking turret positioning into account) that all turrets will be active and able to shoot",
"type": "number"
"type": "number"
},
},
"mining_lasers": {
"mining_lasers": {
"description": "Used to list all the Mining turrets on a ship."
"description": "List of all the Mining lasers on a ship",
"label": "Mining Lasers",
"type": "string"
},
},
"mining_range": {
"mining_range": {
"description": "Describes the maximum range of the Mining turrets on a ship in studs.",
"description": "Describes the maximum range of the Mining turrets on a ship (in studs)",
"type": "number"
"type": "number",
"label": "Mining Range"
},
},
"fighters": {
"fighters": {
"description": "Lists all the fighters a Carrier carries."
"description": "Lists all the fighters a Carrier carries.",
"label": "Fighters",
"type": "string"
},
},
"cargo_hold": {
"cargo_hold": {
"description": "How much cargo hold space a ship has.",
"description": "The capacity of the ship's cargo hold",
"type": "number"
"type": "number",
"label": "Cargo Hold"
},
},
"ore_hold": {
"ore_hold": {
"description": "How much ore hold space a ship has.",
"description": "The capacity of the ship's ore hold",
"type": "number"
"type": "number",
"label": "Ore Hold"
},
},
"warp_drive": {
"warp_drive": {
"description": "Can the ship warp? Yes/No"
"description": "Can the ship warp? Yes/No",
"label": "Warp Drive",
"type": "line"
},
},
"damage_res": {
"damage_res": {
"label": "Damage Resistance",
"label": "Damage Resistance",
"description": "Should be a percentage"
"description": "Should be a percentage",
"type": "line"
},
},
"stealth": {
"stealth": {
"label": "Stealth",
"label": "Stealth",
"description": "Is it a Stealth Ship? Yes/No"
"description": "Is it a Stealth Ship? Yes/No",
"type": "line"
},
},
"cmax_drift": {
"cmax_drift": {
Line 268: Line 235:
"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"
},
"silicate": {
"deprecated": "Refrain from using"
},
"carbon": {
"deprecated": "Refrain from using"
},
"iridium": {
"deprecated": "Refrain from using"
},
"adamantite": {
"deprecated": "Refrain from using"
},
"palladium": {
"deprecated": "Refrain from using"
},
"titanium": {
"deprecated": "Refrain from using"
},
"quantium": {
"deprecated": "Refrain from using"
},
"uranium": {
"deprecated": "Refrain from using"
},
},
"antimatter_shard": {},
"antimatter_shard": {},
Line 317: Line 260:
"luci_core": {},
"luci_core": {},
"permit": {
"permit": {
"description": "The permit the ship requires",
"type": "string"
"type": "string"
},
},
"credit": {
"credit": {
"label": "Manufacturing Fee",
"label": "Manufacturing Fee",
"description": "Usually found using cost command ingame"
"description": "The manufacturing fee of the ship. Use the :cost command ingame to find this"
},
},
"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"
},
},
"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"
},
},
"warehouse": {
"warehouse": {
Line 339: Line 283:
},
},
"description": {
"description": {
"description": "The ship's description. Found using :info command ingame",
"description": "The ship's description. Found using :info command ingame. Ketchupbot autofills this",
"type": "string"
"type": "string"
},
},
Line 348: Line 292:
"version_added": {
"version_added": {
"description": "The in-game version at the time the ship was released into the game.",
"description": "The in-game version at the time the ship was released into the game.",
"type": "string"
"type": "line"
},
},
"vip_required": {
"vip_required": {
Line 356: Line 300:
"loyalty_required": {
"loyalty_required": {
"description": "Loyalty required to spawn a ship.",
"description": "Loyalty required to spawn a ship.",
"type": "boolean"
"type": "line"
},
},
"shields": {
"shields": {
"type": "number",
"type": "number",
"description": "Self explanatory "
"label": "Shields"
},
},
"hull": {
"hull": {
"type": "number",
"type": "number",
"description": "Self explanatory"
"label": "Hull"
},
},
"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 :shipinfo 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"
}
}
},
},
Line 379: Line 324:
"acceleration",
"acceleration",
"turn_speed",
"turn_speed",
"armed",
"tiny_turrets",
"tiny_turrets",
"small_turrets",
"small_turrets",
Line 402: Line 346:
"fighter_turret_dps",
"fighter_turret_dps",
"fighter_spinal_dps",
"fighter_spinal_dps",
"silicate",
"explosion_radius",
"carbon",
"iridium",
"adamantite",
"palladium",
"titanium",
"quantium",
"uranium",
"antimatter_shard",
"antimatter_shard",
"data_archive",
"data_archive",
Line 443: Line 380:
"version_added",
"version_added",
"vip_required",
"vip_required",
"loyalty_required",
"loyalty_required"
"explosion_radius"
],
],
"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"

Revision as of 23:09, 17 August 2022

The template to use when filling in ship information, should be put on all ship pages

Template parameters

ParameterDescriptionTypeStatus
titletitle1

Autofills, you don't need to fill this in unless you wish to override the default value

Auto value
The {{PAGENAME}}
Stringoptional
imageimage1

Image for the ship. View the Ship Image Guidelines for help

Unknownoptional
Shieldsshields

no description

Numberoptional
Hullhull

no description

Numberoptional
Top Speedtop_speed

no description

Numberoptional
Accelerationacceleration

no description

Numberoptional
Turn Speedturn_speed

no description

Unknownoptional
tiny_turretstiny_turrets

List of all Tiny size turrets on a ship

Unknownoptional
small_turretssmall_turrets

List of all Small size turrets on a ship

Unknownoptional
med_turretsmed_turrets

List of all Medium size turrets on a ship

Unknownoptional
large_turretslarge_turrets

List of all Large size turrets on a ship

Unknownoptional
huge_turretshuge_turrets

List of all Huge size turrets on a ship

Unknownoptional
(f)_spinal(f)_spinal

The primary spinal armament on a ship (topmost displayed spinal weapon in the :info command in-game).

Stringoptional
(g)_spinal(g)_spinal

The secondary spinal armament on a ship (bottom-most displayed spinal weapon in the :info command in-game)

Stringoptional
Max Turret Rangem_class_range

Range of the longest range turret on the ship

Numberoptional
Recommended Range from Targetr_class_range

Range (taking turret positioning into account) that all turrets will be active and able to shoot

Numberoptional
Mining Lasersmining_lasers

List of all the Mining lasers on a ship

Stringoptional
Mining Rangemining_range

Describes the maximum range of the Mining turrets on a ship (in studs)

Numberoptional
Fightersfighters

Lists all the fighters a Carrier carries.

Stringoptional
Cargo Holdcargo_hold

The capacity of the ship's cargo hold

Numberoptional
Ore Holdore_hold

The capacity of the ship's ore hold

Numberoptional
Warp Drivewarp_drive

Can the ship warp? Yes/No

Lineoptional
Damage Resistancedamage_res

Should be a percentage

Lineoptional
Stealthstealth

Is it a Stealth Ship? Yes/No

Lineoptional
Custom Max Driftcmax_drift

Should be a percentage, use the :info command in-game.

Stringoptional
Average Turret DPSturret_dps

no description

Numberoptional
Average Spinal DPSspinal_dps

Leave blank if the ship does not have spinals

Numberoptional
fighter_turret_dpsfighter_turret_dps

Leave blank if the ship does not have fighters. Can be found by doing the :info command ingame and adding up fighter turret dps.

Numberoptional
fighter_spinal_dpsfighter_spinal_dps

Leave blank if the ship does not have fighters. Can be found by doing the :info command ingame and adding up fighter spinal dps.

Numberoptional
Explosion Radiusexplosion_radius

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).

Numberoptional
antimatter_shardantimatter_shard

no description

Unknownoptional
data_archivedata_archive

no description

Unknownoptional
ascension_crystalascension_crystal

no description

Unknownoptional
space_pumpkinspace_pumpkin

no description

Unknownoptional
ghost_pumpkinghost_pumpkin

no description

Unknownoptional
gamma_pumpkingamma_pumpkin

no description

Unknownoptional
void_pumpkinvoid_pumpkin

no description

Unknownoptional
forgotten_soulforgotten_soul

no description

Unknownoptional
soulsoul

no description

Unknownoptional
embryoembryo

no description

Unknownoptional
preos_bitpreos_bit

no description

Unknownoptional
snowflakesnowflake

no description

Unknownoptional
weapons_partweapons_part

no description

Unknownoptional
alien_devicealien_device

no description

Unknownoptional
alien_partsalien_parts

no description

Unknownoptional
stealth_platingstealth_plating

no description

Unknownoptional
plasma_batteriesplasma_batteries

no description

Unknownoptional
thrust_componentthrust_component

no description

Unknownoptional
armored_platingarmored_plating

no description

Unknownoptional
dimensional_alloydimensional_alloy

no description

Unknownoptional
quantum_corequantum_core

no description

Unknownoptional
kneall_corekneall_core

no description

Unknownoptional
luci_coreluci_core

no description

Unknownoptional
permitpermit

no description

Stringoptional
Manufacturing Feecredit

The manufacturing fee of the ship. Use the :cost command ingame to find this

Unknownoptional
Material Costmaterial_cost

The cost of all the materials. Use the :cost command ingame to find this

Unknownoptional
Total Costtotal_cost

The cost of the materials + the manufacturing fee. Use the :cost command ingame to find this

Unknownoptional
Warehouse Levelwarehouse

The warehouse level needed to build the ship

Numberoptional
prize_conditionprize_condition

no description

Stringoptional
descriptiondescription

The ship's description. Found using :info command ingame. Ketchupbot autofills this

Stringoptional
creatorcreator

The original creator of the ship + any remodelers

Stringoptional
version_addedversion_added

The in-game version at the time the ship was released into the game.

Lineoptional
vip_requiredvip_required

Does the ship require VIP to build & use? Yes/No

Booleanoptional
loyalty_requiredloyalty_required

Loyalty required to spawn a ship.

Lineoptional