Template:UplinkStorage: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added details to documentation. Adjusted bgcolor1-default to be exactly the same as Template:Uplink. Aded revision note.) |
||
Line 2: | Line 2: | ||
| | | | ||
{|width="100%" cellspacing="0" cellpadding="2" | {|width="100%" cellspacing="0" cellpadding="2" | ||
|align=center width="150" style="background-color:{{{bgcolor1|# | |align=center width="150" style="background-color:{{{bgcolor1|#cccccc}}}"|{{#if:{{{OverrideImage|}}}|{{{image}}}|[[File:{{{image|Unknown.png}}}|64px]]}}<br>'''{{{name|Item}}}''' | ||
|'''Cost: '''{{{cost|Undefined}}}<br>'''Gamemode:''' {{{mode|Undefined}}} | |'''Cost: '''{{{cost|Undefined}}}<br>'''Gamemode:''' {{{mode|Undefined}}} | ||
|- | |- | ||
Line 8: | Line 8: | ||
|style="background-color:{{{bgcolor2|#e6e6e6}}};" | '''Description''' | |style="background-color:{{{bgcolor2|#e6e6e6}}};" | '''Description''' | ||
|- | |- | ||
|valign=top align=center width="150" style="background-color:{{{bgcolor1|# | |valign=top align=center width="150" style="background-color:{{{bgcolor1|#cccccc}}}"|{{{contents|Contents not defined}}} | ||
|valign=top|{{{description|No description}}} | |valign=top|{{{description|No description}}} | ||
|} | |} | ||
|}</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:47, 24 April 2020 (UTC) | |||
}} | |||
== About == | |||
Short details of a traitor uplink storage-item which holds multiple other items. Intended use in [[Syndicate Items]]. This template is related to [[Template:Uplink]] 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 | |||
|Item | |||
|Name of the item | |||
|- | |||
!cost | |||
|Undefined | |||
|Cost of buying, for example '8 TC' | |||
|- | |||
!mode | |||
|Undefined | |||
|Gamemode | |||
|- | |||
!contents | |||
|Contents not defined | |||
|Iconcode for included icons, for example: <code><nowiki>[[File:pen.png]] [[File:pen.png]]</nowiki></code> | |||
|- | |||
!description | |||
|No description | |||
|A free description of the items, its properties and use-contexts. | |||
|} | |||
== Examples == | |||
=== Bare 1 === | |||
<pre>{{UplinkStorage}}</pre> | |||
{{UplinkStorage}} | |||
=== Bare 2 === | |||
<pre>{{UplinkStorage | |||
|name= | |||
|image= | |||
|cost= | |||
|mode= | |||
|contents= | |||
|description= | |||
}}</pre> | |||
{{UplinkStorage | |||
|name= | |||
|image= | |||
|cost= | |||
|mode= | |||
|contents= | |||
|description= | |||
}} | |||
=== Normal === | |||
<pre>{{UplinkStorage | |||
|name=Toolbox | |||
|image = Redtoolbox.png | |||
|cost = 5 TC | |||
|mode = Traitor | |||
|contents = [[File:pen.png]] [[File:pen.png]] | |||
|description = A toolbox. | |||
}}</pre> | |||
{{UplinkStorage | {{UplinkStorage | ||
|name=Toolbox | |name=Toolbox | ||
Line 24: | Line 104: | ||
}} | }} | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 20:47, 24 April 2020
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. |
About
Short details of a traitor uplink storage-item which holds multiple other items. Intended use in Syndicate Items. This template is related to Template:Uplink 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 | Item | Name of the item |
cost | Undefined | Cost of buying, for example '8 TC' |
mode | Undefined | Gamemode |
contents | Contents not defined | Iconcode for included icons, for example: [[File:pen.png]] [[File:pen.png]]
|
description | No description | A free description of the items, its properties and use-contexts. |
Examples
Bare 1
{{UplinkStorage}}
|
Bare 2
{{UplinkStorage |name= |image= |cost= |mode= |contents= |description= }}
|
Normal
{{UplinkStorage |name=Toolbox |image = Redtoolbox.png |cost = 5 TC |mode = Traitor |contents = [[File:pen.png]] [[File:pen.png]] |description = A toolbox. }}
|