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

Материал из SS220 /tg/station13 (Space Station 13)
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
<includeonly>{{#if:{{{contents|}}}| {{Storage|name={{{name}}}|nameRU={{{nameRU}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|department={{{department}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|strategy={{{strategy}}}|description={{{description}}}|contents={{{contents}}}}} | {{#if:{{{strategy|}}}| {{ItemMedium|name={{{name}}}|nameRU={{{nameRU}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|department={{{department}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|strategy={{{strategy}}}|description={{{description}}}}} | {{#if:{{{usedfor|}}}| {{ItemUsedFor|name={{{name}}}|nameRU={{{nameRU}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|department={{{department}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|description={{{description}}}}} | {{#if:{{{name|}}}| {{Template:ItemSimple|name={{{name}}}|nameRU={{{nameRU}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|department={{{department}}}}} | <font color='red'>'''The item needs to have the name defined.'''</font> }} }} }} }}</includeonly><noinclude>
<includeonly>
{{#if:{{{description|}}}
|
<table style="border-style:outset; border-width:.2em; border-color:#{{ColorPalette‎‎|{{{department}}}|Secondary}}; border-radius:.5em; background:#{{ColorPalette‎‎|{{{department}}}|Very Light}}" width=75% cellpadding="3" cellspacing="0">
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align=center width="150" style="background-color:#{{ColorPalette‎‎|{{{department}}}|Tertiary}}; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;">
{{#if:{{{OverrideImage|}}} | {{#if:{{{nameRU|}}}|{{anchor|{{{name|}}}}}<b>{{{nameRU|}}}</b><br>{{{image|}}}<br><b>{{{name|}}}</b>|{{anchor|{{{name|}}}}}{{{image|}}}<br><b>{{{name|}}}</b>}} | {{#if:{{{image|}}}|{{#if:{{{nameRU|}}}|{{anchor|{{{name|}}}}}<b>{{{nameRU|}}}</b><br>[[File:{{{image|{{{name|}}}.png}}}{{!}}64px{{!}}{{{name|}}}]]<br><b>{{{name|}}}</b>|{{anchor|{{{name|}}}}}[[File:{{{image|{{{name|}}}.png}}}{{!}}64px{{!}}{{{name|}}}]]<br><b>{{{name|}}}</b>}}|{{anchor|{{{name|}}}}}<b>{{{nameRU|}}}</b><br><b>{{{name|}}}</b>}}}}
<td style="border-style: solid; border-color:#{{ColorPalette‎‎|{{{department}}}|Very Light}}; border-width: 0 0 0 10px; background:#{{ColorPalette‎‎|{{{department}}}|Very Light}};">'''Местонахождение: '''{{{foundin|''foundin'' не определено}}}{{#if:{{{usedfor|}}}|{{#if:{{{strategy|}}}|<br><b>Используется для:</b> {{{usedfor|}}}<br><b>Стратегия сражения:</b> {{{strategy|}}}|<br><b>Используется для:</b> {{{usedfor|}}}}}}}
{{#if:{{{contents|}}}|<tr><td align=center style="background-color:#{{ColorPalette‎‎|{{{department}}}|Primary}}; color:#{{ColorPalette‎‎|{{{department}}}|Header Text}}; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> '''Содержит''' </td><td align=center style="background-color:#{{ColorPalette‎‎|{{{department}}}|Primary}}; color:#{{ColorPalette‎‎|{{{department}}}|Header Text}}; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> '''Описание''' </td>
<tr>
<td valign=top align=center width="150" style="background-color:#{{ColorPalette‎‎|{{{department}}}|Tertiary}}; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> {{{contents|''contents'' не определено}}}
<td valign=top style="border-style: solid; border-color:#{{ColorPalette‎‎|{{{department}}}|Very Light}}; border-width: 0 0 0 10px; background:#{{ColorPalette‎‎|{{{department}}}|Very Light}};"> {{{description|''description'' не определено}}}
</tr></tr>|<tr>
<td align=center colspan="2" style="background-color:#{{ColorPalette‎‎|{{{department}}}|Primary}}; color:#{{ColorPalette‎‎|{{{department}}}|Header Text}}; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> '''Описание''' </td>
<tr>
<td valign=top colspan="2" style="border-style: solid; border-color:#{{ColorPalette‎‎|{{{department}}}|Very Light}}; border-width: 0 0 0 10px; background:#{{ColorPalette‎‎|{{{department}}}|Very Light}};"> {{{description|''description'' не определено}}}</tr></tr>}}
</tr></tr>
</table></table>
|
{{#if:{{{department|}}}
|
<table style="border-style:outset; border-width:.2em; border-color:#{{ColorPalette‎‎|{{{department}}}|Secondary}}; border-radius:.5em; background:#{{ColorPalette‎‎|{{{department}}}|Very Light}};" {{#if: {{{name|}}} |width="30%" | }} cellpadding="3" cellspacing="0">
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align=center width="125" style="background-color:#{{ColorPalette‎‎|{{{department}}}|Tertiary}}; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> {{#if:{{{OverrideImage|}}}|{{{image|}}}|{{#ifexist: File:{{{image|{{{name|}}}.png}}}| {{anchor|{{{name|}}}}}[[File:{{{image|{{{name|}}}.png}}}{{!}}64px{{!}}{{{name|}}}]]}}|no image}}
{{#if: {{{name|}}} | <td align=center width="350"> <table width=50%> <tr> <td valign=top style="border-style: solid; border-color:#{{ColorPalette‎‎|{{{department}}}|Very Light}}; border-width: 0 0 0 10px; background:#{{ColorPalette‎‎|{{{department}}}|Very Light}};"> {{#if: {{{nameRU|}}} | <b>{{{nameRU|}}}<hr>{{{name|}}}</b> | <b>{{{name|}}}</b> }} </tr> </table>| }}
</tr>
</tr>
</table>
</table>


= How to use =
| <font color='red'><hr>'''Для создания таблицы нужно задать значение department='''<hr></font> }} }} </includeonly><noinclude>


template intended for lists of objects to clean them up a bit.
= Подсказки и примеры использования =


== With no parameters ==
Шаблон предназначен для предметов


  <nowiki>{{Item}}</nowiki>
== Пустой шаблон ==


{{Item}}
{{TESTItem}}


== With minimum parameters ==
== #if: description| ==


The bare minimum is the name parameter.
<table>
<tr align=left><th>|department=</th><td>Определяет цвет таблицы. С полным списком цветов можно ознакомиться тут: [[ColorPalette]]</td></tr>
<tr align=left><th>|image=</th><td>Определяет наличие картинки в таблице. Картинка всегда будет в разрешении 64пкс (пикселя). Если <b>|name =</b> является точным названием изображения, например <b>Wrench</b>, то таблица сама найдет соответствующее изображение, т.е. File:<b>Wrench</b>.png.</td></tr>
<tr align=left><th>|OverrideImage=</th><td>При любом значении после <b>=</b>, <b>|image=</b> будет отображаться в стандартной mediawiki форме. Полезно, если вы хотите использовать .gif изображение или несколько изображений.</td></tr>
<tr align=left><th>|name=</th><td>Английское название предмета. Если значение пустое, то будет показано только изображение.</td></tr>
<tr align=left><th>|nameRU=</th><td>Русское название предмета. Если значение пустое, то будет отображаться только английское.</td></tr>
<tr align=left><th>|foundin=</th><td>Место или устройство в котором или из которого можно получить предмет.</td></tr>
<tr align=left><th>|usedfor=</th><td>Опционально. Для какой <b>стандартной</b> цели используется предмет.</td></tr>
<tr align=left><th>|strategy=</th><td>Опционально. Как с этим предметом воевать.</td></tr>
<tr align=left><th>|contents=</th><td>Опционально. Содержимое предмета при спавне в нормальных условиях или, если содержимое меняется, то выбор метьте на самое часто встречаемое.</td></tr>
<tr align=left><th>|description=</th><td>Описание, лол.</td></tr>
</table>


  <nowiki>{{Item</nowiki>
=== Только |description= ===
  <nowiki>|department = Engineering</nowiki>
  <nowiki>|nameRU = Тестовый предмет</nowiki>
  <nowiki>|name = Test Item</nowiki>
  <nowiki>|image = Redtoolbox.png</nowiki>
  <nowiki>}}</nowiki>


{{Item
{{TESTItem
|department = Engineering
|department=Security
|nameRU = Тестовый предмет
|description=Тестовое описание}}
|name = Test Item
|image = Redtoolbox.png
}}


== Normal item ==
=== + |contents= ===


If the description is set, this template will show:
{{TESTItem
|department=Security
|description=Тестовое описание
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}


  <nowiki>{{Item</nowiki>
=== + |OverrideImage= ===
  <nowiki>|department = Engineering</nowiki>
  <nowiki>|nameRU = Аварийный ящик для инструментов</nowiki>
  <nowiki>|name = Emergency Toolbox</nowiki>
  <nowiki>|image = Redtoolbox.png</nowiki>
  <nowiki>|foundin = emergency lockers and storage areas</nowiki>
  <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki>
  <nowiki>|strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.</nowiki>
  <nowiki>|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.</nowiki>
 
  <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki>
  <nowiki>}}</nowiki>


{{Item
{{TESTItem
|department = Engineering
|department=Security
|nameRU = Аварийный ящик для инструментов
|OverrideImage=1
|name = Emergency Toolbox
|description=Тестовое описание
|image = Redtoolbox.png
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}
|foundin = emergency lockers and storage areas
|usedfor = Contains tools which are useful in emergencies
|strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.
|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.
=== + |nameRU= ===
}}


==Strategy-less items==
{{TESTItem
|department=Security
|OverrideImage=1
|nameRU=Тестовое название
|description=Тестовое описание
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}


If there is no strategy variable but there are foundin and used for, this template will show:
=== + |image= ===


  <nowiki>{{Item</nowiki>
{{TESTItem
  <nowiki>|department = Engineering</nowiki>
|department=Security
  <nowiki>|nameRU  = Тестовый предмет</nowiki>
|image=Red_Toolbox.png
  <nowiki>|name = Test Item</nowiki>
|nameRU=Красный ящик для инструментов
  <nowiki>|image = Redtoolbox.png</nowiki>
|description=Тестовое описание
  <nowiki>|foundin = emergency lockers and storage areas</nowiki>
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}
  <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki>
  <nowiki>|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.</nowiki>
 
  <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki>
  <nowiki>}}</nowiki>


{{Item
=== + |name= ===
|department = Engineering
|nameRU  = Тестовый предмет
|name = Test Item
|image = Redtoolbox.png
|foundin = emergency lockers and storage areas
|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.
}}
== Container items ==


If the contents variable is set, this template will show:
{{TESTItem
|department=Security
|image=Red_Toolbox.png
|name=Red Toolbox
|nameRU=Красный ящик для инструментов
|description=Тестовое описание
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}


  <nowiki>{{Item</nowiki>
=== + |usedfor= ===
  <nowiki>|department = Engineering</nowiki>
  <nowiki>|nameRU  = Аварийный ящик для инструментов</nowiki>
  <nowiki>|name    = Emergency Toolbox</nowiki>
  <nowiki>|image    = Redtoolbox.png</nowiki>
  <nowiki>|foundin  = emergency lockers and storage areas</nowiki>
  <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki>
  <nowiki>|strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.</nowiki>
  <nowiki>|contents = [[File:Screwdriver tool.png|link=Screwdriver]] [[File:Wrench.png|link=Wrench]] [[File:Welder.png|link=Welding Tool]]<br> [[File:Crowbar.png|link=Crowbar]]  <nowiki>[[File:Analyzer.png|link=Analyzer]] [[File:Wirecutters.png|link=Wirecutters]] </nowiki>
  <nowiki>|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  <nowiki>trying to cause an emergency.</nowiki>
 
  <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki>
  <nowiki>}}</nowiki>


{{Item
{{TESTItem
|department = Engineering
|department=Security
|nameRU  = Аварийный ящик для инструментов
|image=Red_Toolbox.png
|name     = Emergency Toolbox
|name=Red Toolbox
|image    = Redtoolbox.png
|nameRU=Красный ящик для инструментов
|foundin  = emergency lockers and storage areas
|usedfor=хранения красных ящиков для инструментов.
|usedfor = Contains tools which are useful in emergencies
|description=Тестовое описание
|strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}
|contents = [[File:Screwdriver tool.png|link=Screwdriver]] [[File:Wrench.png|link=Wrench]] [[File:Welder.png|link=Welding Tool]]<br> [[File:Crowbar.png|link=Crowbar]] [[File:Analyzer.png|link=Analyzer]] [[File:Wirecutters.png|link=Wirecutters]]  
|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.
=== + |strategy= ===
}}
[[Category:Templates]]


==Override Image==
{{TESTItem
If an image is bigger than 50px they will <s>break</s> not break anymore, since this is a more awesome wiki, but they will look very small, as shown below.<br>
|department=Security
Setting "OverrideImage=true" will disable the default image code so you can add your own.<br>
|image=Red_Toolbox.png
The default image code is:<br>
|name=Red Toolbox
<nowiki>[[File:{{{image|{{{name|Unknown}}}.png}}}|px50|{{{name|Item}}}]]</nowiki>
|nameRU=Красный ящик для инструментов
|usedfor=хранения красных ящиков для инструментов.
|strategy=бить быстро, доставать еще и кидать сильно.
|description=Тестовое описание
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}


For better understanding see these two examples:
=== - |image= ===


'''Without setting "OverrideImage":'''
{{TESTItem
<nowiki>{{Item</nowiki>
|department=Security
<nowiki>|department = Engineering</nowiki>
|name=Red Toolbox
<nowiki>|nameRU = Ускоритель частиц</nowiki>
|nameRU=Красный ящик для инструментов
<nowiki>|name = Particle Accelerator</nowiki>
|usedfor=хранения красных ящиков для инструментов.
<nowiki>|image = ParticleAccelerator.gif</nowiki>
|strategy=бить быстро, доставать еще и кидать сильно.
<nowiki>}}</nowiki>
|description=Тестовое описание
{{Item
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}
|department = Engineering
|nameRU = Ускоритель частиц
|name = Particle Accelerator
|image = ParticleAccelerator.gif
}}


=== - |nameRU= ===


{{TESTItem
|department=Security
|name=Red Toolbox
|usedfor=хранения красных ящиков для инструментов.
|strategy=бить быстро, доставать еще и кидать сильно.
|description=Тестовое описание
|contents=[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] <br>[[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] [[file:Red_Toolbox.png|32px]] }}


'''With setting "OverrideImage":'''
== #if: department| ==
<nowiki>{{Item</nowiki>
 
<nowiki>|department = Engineering</nowiki>
<table>  
<nowiki>|nameRU = Ускоритель частиц</nowiki>
<tr align=left><th>|department=</th><td>Определяет цвет таблицы. С полным списком цветов можно ознакомиться тут: [[ColorPalette]]</td></tr>
<nowiki>|name = Particle Accelerator</nowiki>
<tr align=left><th>|image=</th><td>Определяет наличие картинки в таблице. Картинка всегда будет в разрешении 64пкс (пикселя). Если <b>|name =</b> является точным названием изображения, например <b>Wrench</b>, то таблица сама найдет соответствующее изображение, т.е. File:<b>Wrench</b>.png.</td></tr>
<nowiki>|image = [[File:ParticleAccelerator.gif|Particle Accelerator]]</nowiki>
<tr align=left><th>|OverrideImage=</th><td>При любом значении после <b>=</b>, <b>|image=</b> будет отображаться в стандартной mediawiki форме. Полезно, если вы хотите использовать .gif изображение или несколько изображений.</td></tr>
<nowiki>|OverrideImage = true</nowiki>
<tr align=left><th>|name=</th><td>Английское название предмета. Если значение пустое, то будет показано только изображение.</td></tr>
<nowiki>}}</nowiki>
<tr align=left><th>|nameRU=</th><td>Русское название предмета. Если значение пустое, то будет отображаться только английское.</td></tr>
{{Item
</table>
|department = Engineering
 
|nameRU = Ускоритель частиц
=== Только |image= ===
|name = Particle Accelerator
 
|image = [[File:ParticleAccelerator.gif|Particle Accelerator]]
{{TESTItem
|OverrideImage = true
|department=Service
}}
|image=Artistic Toolbox.png}}
 
=== Только |name= ===
 
{{TESTItem
|department=Service
|name=Green Toolbox}}
 
=== Авто-добавление картинки при |name= ===
 
{{TESTItem
|department=Service
|name=Wrench}}
 
=== Без |image= ===
 
{{TESTItem
|department=Service
|name=Green Toolbox
|nameRU=Зеленый ящик для инструментов}}
 
=== Без |nameRU= ===
 
{{TESTItem
|department=Service
|name=Green Toolbox
|image=Artistic Toolbox.png}}
 
=== Без |OverrideImage= ===
 
{{TESTItem
|department=Service
|name=Green Toolbox
|nameRU=Зеленый ящик для инструментов
|image=Artistic Toolbox.png}}
 
=== |OverrideImage= ===
 
{{TESTItem
|department=Service
|name=Green Toolbox
|nameRU=Зеленый ящик для инструментов
|OverrideImage=1
|image=Artistic Toolbox.png}}


</noinclude>
</noinclude>

Версия от 19:20, 31 января 2022


Подсказки и примеры использования

Шаблон предназначен для предметов

Пустой шаблон

Шаблон:TESTItem

#if: description|

|department=Определяет цвет таблицы. С полным списком цветов можно ознакомиться тут: ColorPalette
|image=Определяет наличие картинки в таблице. Картинка всегда будет в разрешении 64пкс (пикселя). Если |name = является точным названием изображения, например Wrench, то таблица сама найдет соответствующее изображение, т.е. File:Wrench.png.
|OverrideImage=При любом значении после =, |image= будет отображаться в стандартной mediawiki форме. Полезно, если вы хотите использовать .gif изображение или несколько изображений.
|name=Английское название предмета. Если значение пустое, то будет показано только изображение.
|nameRU=Русское название предмета. Если значение пустое, то будет отображаться только английское.
|foundin=Место или устройство в котором или из которого можно получить предмет.
|usedfor=Опционально. Для какой стандартной цели используется предмет.
|strategy=Опционально. Как с этим предметом воевать.
|contents=Опционально. Содержимое предмета при спавне в нормальных условиях или, если содержимое меняется, то выбор метьте на самое часто встречаемое.
|description=Описание, лол.

Только |description=

Шаблон:TESTItem

+ |contents=

Шаблон:TESTItem

+ |OverrideImage=

Шаблон:TESTItem

+ |nameRU=

Шаблон:TESTItem

+ |image=

Шаблон:TESTItem

+ |name=

Шаблон:TESTItem

+ |usedfor=

Шаблон:TESTItem

+ |strategy=

Шаблон:TESTItem

- |image=

Шаблон:TESTItem

- |nameRU=

Шаблон:TESTItem

#if: department|

|department=Определяет цвет таблицы. С полным списком цветов можно ознакомиться тут: ColorPalette
|image=Определяет наличие картинки в таблице. Картинка всегда будет в разрешении 64пкс (пикселя). Если |name = является точным названием изображения, например Wrench, то таблица сама найдет соответствующее изображение, т.е. File:Wrench.png.
|OverrideImage=При любом значении после =, |image= будет отображаться в стандартной mediawiki форме. Полезно, если вы хотите использовать .gif изображение или несколько изображений.
|name=Английское название предмета. Если значение пустое, то будет показано только изображение.
|nameRU=Русское название предмета. Если значение пустое, то будет отображаться только английское.

Только |image=

Шаблон:TESTItem

Только |name=

Шаблон:TESTItem

Авто-добавление картинки при |name=

Шаблон:TESTItem

Без |image=

Шаблон:TESTItem

Без |nameRU=

Шаблон:TESTItem

Без |OverrideImage=

Шаблон:TESTItem

|OverrideImage=

Шаблон:TESTItem