Template:Infobox object

From Baystation 12
Jump to: navigation, search

This template defines the table "Objects". View table.

Template documentation[view] [edit] [history] [purge]

Implementation

{{Infobox object
| image        = 
| usage        = 
| desc         = 
| path         = 
| desc_name    = 
| icon         = 
| icon_state   = 
| flavor       =
| antag        =
}} 

Specific elements

  • image which is just the filename of the image. The template will add the markup to show the image. Do not include a fileformat at the end, All ingame sprites must be png format. Example: image= example
  • usage is a general handwritten description of the usage of the object.
  • desc the ingame description (examine text)
  • path path to specifically find the object in the editor
  • desc_name name as it it appears in editor
  • icon icon path as it appears in editor
  • icon_state default state of icon
  • flavor long desc. of the object
  • antag antagonist text of the object

Example

Infobox object
Screwdriver4.png
Usages Engineering tool used in a variety of applications.
Description Your archetypal flathead screwdriver, with a nice, heavy polymer handle.
Force 0
Active damage
System data
Path /obj/item/weapon/screwdriver
Name screwdriver
Icon Path icons/obj/items.dmi
Icon State screwdriver4
Last System Data Access

11/12/2017

Flavor Text "Screws have not changed significantly in centuries, and neither have the drivers used to install and remove them."
Antagonist Text "In the world of breaking and entering, tools like multitools and wirecutters are the bread; the screwdriver is the butter. In a pinch, try targetting someone's eyes and stabbing them with it - it'll really hurt!"
{{Infobox object
| image        = screwdriver_tool
| usage        = [[Engineering]] tool used in a variety of applications.
| desc         = Your archetypal flathead screwdriver, with a nice, heavy polymer handle.
| path         = /obj/item/weapon/screwdriver
| desc_name    = screwdriver
| icon         = icons/obj/items.dmi
| icon_state   = screwdriver4
| flavor       = "Screws have not changed significantly in centuries, and neither have the drivers used to install and remove them."
| antag        = "In the world of breaking and entering, tools like multitools and wirecutters are the bread; the screwdriver is the butter. In a pinch, try targetting someone's eyes and stabbing them with it - it'll really hurt!"
}}

TOUCH