Template:Uplink: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
(Fixed leaking category outside noinclude. Added details to documentation. Added TODO-note on default-handling.)
(Added note about the template being related to other templates.)
Line 17: Line 17:


== About ==
== About ==
Short details of a traitor uplink icon, intended use in [[Syndicate Items]].
Short details of a traitor uplink icon, intended use in [[Syndicate Items]]. This template is related to [[Template:UplinkStorage]] and very similar to [[Template:Item]].


== Parameter-Usage ==
== Parameter-Usage ==

Revision as of 20:34, 24 April 2020


Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "Fix missing parameters and empty parameters to behave the same."
Marked by: "Helpful Herbert (talk) 20:26, 23 April 2020 (UTC)"



About

Short details of a traitor uplink icon, intended use in Syndicate Items. This template is related to Template:UplinkStorage and very similar to Template:Item.

Parameter-Usage

Parameter Default Description
bgcolor1 #cccccc Background-color 1
bgcolor2 #bbbbbb Background-color 2
OverrideImage When set, the image parameter is directly inserted like [[File:Unknown.png]]. By default the image-paramter is used as an image-name like Unknown.png.
image Unknown.png Name of the item's image. See OverrideImage-parameter for alternative usage.
name Name of the item
cost Cost of buying, for example '8 TC'
mode Undefined Gamemode
description No description A free description of the items, its properties and use-contexts.

Examples

Bare 1

{{Uplink}}
Unknown.png
Item
Cost: Undefined
Gamemode: Undefined
Description
No description

Bare 2

{{Uplink
|name=
|image=
|cost=
|mode=
|description=
}}
[[File:|64px]]
'
Cost:
Gamemode:
Description
No description

Normal

{{Uplink
|name=Energy Sword
|image = ESword.png
|cost = 8 TC
|mode = Traitor, Nuclear Operative
|description = The energy sword is an edged weapon with a blade of pure energy. The sword is small enough to be pocketed when inactive. Activating it produces a loud, distinctive noise.
}}
ESword.png
Energy Sword
Cost: 8 TC
Gamemode: Traitor, Nuclear Operative
Description
The energy sword is an edged weapon with a blade of pure energy. The sword is small enough to be pocketed when inactive. Activating it produces a loud, distinctive noise.