1,133
edits
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> |
edits