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

imported>BruhN0ne
м (Не углядел за "Strategy")
imported>BruhN0ne
(Перевод шаблона Item.)
Строка 17: Строка 17:
|}<noinclude>
|}<noinclude>


== Usage ==
== Использование ==
This template is intended to help list item descriptions in a consistent fashion across articles.
Этот шаблон предназначен для последовательного отображения предметов в разных статьях.


=== With no parameters ===
=== Без параметров ===
   <nowiki>{{Item}}</nowiki>
   <nowiki>{{Item}}</nowiki>


{{Item}}
{{Item}}


=== With minimal parameters ===
=== С минимальными параметрами ===
The bare minimum is with the <code>name</code> parameter:
Минимум - это <code>name</code> параметр:


   <nowiki>{{Item</nowiki>
   <nowiki>{{Item</nowiki>
Строка 42: Строка 42:
}}
}}


=== Typical item ===
=== Обычный вид ===
If the <code>description</code> parameter is set, this template will show:
Если задан параметр <code>description</code>, шаблон покажет:


   <nowiki>{{Item</nowiki>
   <nowiki>{{Item</nowiki>
Строка 69: Строка 69:
}}
}}


=== Container items ===
=== С содержанием контейнера ===
If the <code>contents</code> parameter is set, this template will show:
Если задан параметр <code>contents</code>, шаблон покажет:


   <nowiki>{{Item</nowiki>
   <nowiki>{{Item</nowiki>

Версия от 00:20, 6 августа 2021

Файл:NPA.png


Использование

Этот шаблон предназначен для последовательного отображения предметов в разных статьях.

Без параметров

 {{Item}}
Файл:NPA.png


С минимальными параметрами

Минимум - это name параметр:

 {{Item
 | name = Test Item
 | bgcolor1 = #FFEE88
 | bgcolor2 = #FFDD66
 | image = Red Toolbox.png
 }}
Test Item
Red Toolbox.png


Обычный вид

Если задан параметр description, шаблон покажет:

 {{Item
 | bgcolor1 = #FFEE88
 | bgcolor2 = #FFDD66
 | name = Emergency Toolbox
 | image = Red Toolbox.png
 | 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.
 }}
Emergency Toolbox
Red Toolbox.png Можно найти в: Emergency lockers and storage areas.
Используется для: Contains tools which are useful in emergencies.
Стратегия: It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.
Описание

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.

С содержанием контейнера

Если задан параметр contents, шаблон покажет:

 {{Item
 | bgcolor1 = #FFEE88
 | bgcolor2 = #FFDD66
 | name = Emergency Toolbox
 | image = Red Toolbox.png
 | 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.
 | contents = [[File:Screwdriver tool.png|link=Screwdriver]] [[File:Wrench.png|link=Wrench]] [[File:Welder.png|link=Welding Tool]] [[File:Crowbar.png|link=Crowbar]][[File:Analyzer.png]] [[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.
 }}
Emergency Toolbox
Red Toolbox.png Можно найти в: Emergency lockers and storage areas.
Используется для: Contains tools which are useful in emergencies.
Стратегия: It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.
Описание

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.

Содержит

Screwdriver tool.png Wrench.png Welderon.gif Crowbar.png Analyzer.png Wirecutters.png