Template:Uplink: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
(Created page with "<includeonly>{| style="border:1px solid {{{bgcolor2|#bbbbbb}}};" cellpadding="0" cellspacing="0" | {|width="100%" cellspacing="0" cellpadding="2" |align=center width="150" st...")
 
m (Fixed typo)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
|}
|}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Needs revision
|reason = Fix missing parameters and empty parameters to behave the same.
|user = [[User:Helpful Herbert|Helpful Herbert]] ([[User talk:Helpful Herbert|talk]]) 20:26, 23 April 2020 (UTC)
}}


== About ==
Short details of a traitor uplink item, intended use in [[Syndicate Items]]. This template is related to [[Template:UplinkStorage]] and very similar to [[Template:Item]].
== Parameter-Usage ==
{| class="wikitable"
!Parameter
!Default
!Description
|-
!bgcolor1
|#cccccc
|Background-color 1
|-
!bgcolor2
|#bbbbbb
|Background-color 2
|-
!OverrideImage
|
|When set, the image parameter is directly inserted like <code><nowiki>[[File:Unknown.png]]</nowiki></code>. By default the image-paramter is used as an image-name like <code>Unknown.png</code>.
|-
!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 ===
<pre>{{Uplink}}</pre>
{{Uplink}}
=== Bare 2 ===
<pre>{{Uplink
|name=
|image=
|cost=
|mode=
|description=
}}</pre>
{{Uplink
{{Uplink
|name=Energy Sword
|name=
|image = ESword.png
|image=
|cost = 8 TC
|cost=
|mode = Traitor, Nuclear Operative
|mode=
|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.
|description=
}}
}}


'''Code:'''<br>
=== Normal ===
<nowiki>{{Uplink</nowiki><br>
<pre>{{Uplink
<nowiki> |name = Energy Sword</nowiki><br>
|name=Energy Sword
<nowiki> |image = ESword.png</nowiki><br>
|image = ESword.png
<nowiki> |cost = 8 TC</nowiki><br>
|cost = 8 TC
<nowiki> |mode = Traitor, Nuclear Operative</nowiki><br>
|mode = Traitor, Nuclear Operative
<nowiki> |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.</nowiki><br>
|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.
<nowiki> }}</nowiki>
}}</pre>
{{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.
}}


[[Category:Templates]]
</noinclude>
</noinclude>
[[Category:Templates]]

Latest revision as of 20:36, 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 item, 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.