Template:Part

From Cosmoteer Wiki
Jump to navigation Jump to search


Template documentation
View or edit this documentation. (About template documentation)
CalloutIconNote.pngNote
Portions of the template sample may not be visible without values provided.

A far more simplified template for inserting part icons into articles. No need to include the icon file name or target link page anymore, simply invoke the template and the required part. For example:

{{Part|Ion Beam Prism}}

Results in: PrismIcon.pngIon Beam Prism

These icons can even be used in-line, for example we can write about PrismIcon.pngIon Beam Prism Ion Beam Prisms like this, or say that an experimental new ship includes 100 DeckCannonIcon.pngDeck Cannon Deck Cannons.

List of Available Parts

All in-game parts are currently available as icons. Simply enter the name of the part as it appears in-game, or consult the Parts article.

Using Named Part Parameter

This is entirely optional, but you can specify the part parameter by name if you wish.

{{Part|part=Armorl}}

Result: ArmorIcon.pngArmor

Using "show label" Parameter

All parts have their labels hidden by default, which is because of how common it is to use plurals when typing part names. If you wish to have the label visible, set the show label= parameter to 1.

Examples:

  • {{Part|Ion Beam Prism|show label=0}} {{Part|Ion Beam Prism|0}}PrismIcon.png — Label is hidden
  • {{Part|Ion Beam Prism}}PrismIcon.pngIon Beam Prism — Label is shown

or


A template for easily embedding part icons wherever they are needed.

Template parameters

ParameterDescriptionTypeStatus
Partpart 1

The part icon to be shown. See the suggested values for all the valid options. Note that labels are hidden by default — see the "Omit label" option for more.

Suggested values
Laser Blaster Heavy Laser Blaster Point Defense System Disruptor Ion Beam Emitter Ion Beam Prism Mining Laser Standard Cannon Large Cannon Deck Canon Missile & Mine Launcher Railgun Loader Module Railgun Accelerator Module Railgun Launcher Module Chaingun Chaingun Magazine Flak Battery Small Shield Generator Larg Shield Generator Fire Extinguisher Armor Armor 2x1 Armor Wedge Armor 1x2 Wedge Armor 1x3 Wedge Armor Triangle Cockpit Control Room Bridge Small Hyperdrive Medium Hyperdrive Large Hyperdrive Small Thruster 2-Way Small Thruster 3-Way Small Thruster Standard Thruster Large Thruster Huge Thruster Boost Thruster Engine Room M.R.T. Nozzle Module M.R.T. Extender Module M.R.T. Fuel Pod Crew's Bunk Crew's Quarters Airlock Hatch Moving Walkway Door Corridor Small Reactor Core Large Reactor Core Power Capacitor Steel Smelter Tri-Steel Smelter Coil Factory Hyper-Coil Factory Diamond Smelter Processor Fabricator Uranium Enricher Cannon Ammo Factory High-Explosive Missile Factory E.M.P. Missile Factory Nuclear Missile Factory Mine Factory Storage Bay 2x2 Storage Bay 3x2 Storage Bay 3x3 Storage Bay 4x3 Storage Bay 4x4 Tractor Beam Emitter Resource Collector Sensor Array Hyperdrive Beacon Explosive Charge Exterior Light Exterior Headlight Structure Structure Wedge Structure 1x2 Wedge Structure 1x3 Wedge Structure Triangle
Linerequired
Show or omit the labelshow label 2

Enable this to show the label. Disable it to hide the label.

Auto value
1
Booleanoptional