Template:Inventory Icon

From Space Engineers Wiki
Jump to navigation Jump to search
Template Documentation:
Note: the template above may sometimes be partially or fully invisible.
Documentation controls: [purge] [edit] [view] (Help with documentation)

Description

This template is used to display an in-line icon and link for an object. It can be used for either blocks or items.

Syntax

You can use {{Inventory Icon|<Item Name>|<Optional Text>|<type=<Component or Tool. Optional>>}} in line to use the template.

Parameters

  • type: This is a named parameter, included as "type=Component" or "type=Tool", depending on which group the item belongs to. If left out, this defaults to Component.
  • 1st parameter: Name of the item, exactly as listed in the inventory screen.
  • 2nd parameter: Text to display, instead of the name. (Note: This is optional)

Shortcuts

The template Template:Bi and Template:Ii can be used for blocks and items respectively. They use the same syntax, but are shorter and do not require the "type" parameter.

Samples

{{Inventory Icon|Gatling Gun}} results in Icon Block Gatling Gun.png Gatling Gun.

{{Inventory Icon|Rocket Launcher|Kaboom!}} results in Icon Block Rocket Launcher.png Kaboom!.

{{Inventory Icon|Automatic Rifle|Assault Rifle|type=Tool}} results in Icon Item Automatic Rifle.png Assault Rifle.

Alternatively, you could use {{bi|Medical Room|sick bay}} and {{ii|Grinder}} for Icon Block Medical Room.png Sick Bay and Icon Item Grinder.png Grinder respectively.

Example: Icon Block Rocket Launcher.png Rocket Launcher Should show Rocket Launcher with icon
Example: File:Icon Component Rock Launcher.png Rocket Launcher Should show Rocket Launcher Text with missing icon

IFEXIST IS EXPENSIVE AND ONLY HAS A LIMIT OF 100. NavFunctional BREAKS THIS LIMIT!