Шаблон:ItemUsedFor: различия между версиями

Нет описания правки
(ББ таблицы)
Строка 1: Строка 1:
<includeonly>{| style="border:1px solid {{ColorPalette|{{{bgcolor}}}|Opaque}};" cellpadding="0" cellspacing="0"
<div class="item-template" style="background-color: {{ColorPalette|{{{bgcolor}}}|Transparent}}; border:1px solid {{ColorPalette|{{{bgcolor}}}|Light}};">
|
<div class="tgui-blur"></div>
{|width="100%" cellspacing="0" cellpadding="2"
<div class="item-template-item">
|align=center width="150" style="background-color:{{ColorPalette|{{{bgcolor}}}|Secondary}};"|{{#if:{{{OverrideImage|}}}|{{{image|}}}|[[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}64px{{!}}{{{name|Item}}}]]}}<br>'''{{{name|Item}}}'''
<div style="padding: 0.5em; background-color:{{ColorPalette|{{{bgcolor}}}|Light}}; border-right: 1px solid {{ColorPalette|{{{bgcolor}}}|Opaque}}; width: 150px; text-align: center;">{{#if:{{{OverrideImage|}}}|{{{image|}}}|[[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}64px{{!}}{{{name|Item}}}]]}}<br>'''{{{name|Item}}}'''</div>
|'''Found in: '''{{{foundin|Undefined}}}<br>'''Used for:''' {{{usedfor|Undefined}}}<br>
<div style="flex: 1; padding: 0 0.75em;">'''Found in: '''{{{foundin|Undefined}}}<br>'''Used for:''' {{{usedfor|Undefined}}}</div></div>
|}
<div><div style="padding: 0.25em 0.5em; background-color:{{ColorPalette|{{{bgcolor}}}|Primary}}; border-width: 1px 0; border-style: solid; border-color: {{ColorPalette|{{{bgcolor}}}|Opaque}};>'''Description'''</div>
{|width="100%" cellspacing="0" cellpadding="2"
<div class="item-template-desc">{{#if:{{{description|}}}|{{{description}}}|No description}}</div></div></div>
| style="background-color:{{ColorPalette|{{{bgcolor}}}|Primary}}; border-top: 1px solid {{ColorPalette|{{{bgcolor}}}|Opaque}};" |'''Description'''
|-
|{{#if:{{{description|}}}|{{{description}}}|No description}}
|}
|}</includeonly><noinclude>


<noinclude>
== DO NOT USE THIS TEMPLATE ==
== DO NOT USE THIS TEMPLATE ==
Use [[:Template:Item]] instead, this template is automatically called when an item has Found in and Used For set
Use [[:Template:Item]] instead, this template is automatically called when an item has Found in and Used For set
{{ItemUsedFor
{{ItemUsedFor
  |name=Test Item
  |name=Test Item
Строка 20: Строка 17:
  |foundin = emergency lockers and storage areas
  |foundin = emergency lockers and storage areas
  |usedfor = Contains tools which are useful in emergencies
  |usedfor = Contains tools which are useful in emergencies
  |description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.<br><br>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
  |description =
The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.
Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
  }}
  }}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Версия от 22:44, 3 июля 2024

Item
Item
Found in: Undefined
Used for: Undefined
Description
No description


DO NOT USE THIS TEMPLATE

Use Template:Item instead, this template is automatically called when an item has Found in and Used For set

Test Item
Test Item
Found in: emergency lockers and storage areas
Used for: Contains tools which are useful in emergencies
Description
The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency. Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.