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

Материал из 7 Days to Die Вики
Перейти к: навигация, поиск
м
Строка 1: Строка 1:
  +
<includeonly><!--
{| class="infoboxtable" style="float:right; width: 25em; margin-bottom: 5px; margin-left: 5px;"
 
  +
REMOVED TAG -->{{#if: {{{removed_version|}}} |{{Removed_item}}{{#vardefine:autocategory|1}} }}<!---
|-
 
  +
END REMOVED TAG --><!--
! colspan="2" class="infoboxname" | {{#if: {{{name|}}}| {{{name}}}| {{PAGENAME}} }}
 
  +
NOCAT FUNCTINOALITY -->{{#if: {{{nocat|}}} |{{#vardefine:autocategory|1}} }}<!-- END NOCAT FUNCTIONALITY -->
|-style="text-align:center;"
 
| colspan="2" style="padding:0.5em;" | {{#if: {{{image|}}}| [[File:{{{image}}}{{#if: {{{size|}}}| {{!}}{{{size}}} }}]] | No image}}{{#if: {{{caption|}}}| <br>''{{{caption}}}'' }}
+
{{Component infobox header | name = {{{name|{{PAGENAME}}}}} |image = {{{image|}}} | image_alt1 = {{{image_alt1|}}} |image_alt2 = {{{image_alt2|}}} |size = {{{size|}}} |caption = {{{caption|}}} |caption_alt1 = {{{caption_alt1|}}} |caption_alt2 = {{{caption_alt2|}}} }}
  +
{{Component infobox section | name = Description | conditions = {{{item-id|}}}{{{group|}}}{{{title|}}}{{{description|}}}{{{category|}}}{{{type|}}}{{{tool-type|}}}{{{location|}}}{{{found|}}}{{{obtained|}}}{{{breaks|}}}{{{slot|}}}{{{tool-fuel|}}}{{{places|}}}{{{cookable|}}}{{{meltable|}}}{{{scrapable|}}}{{{dismantleable|}}}{{{lockable|}}}{{{CraftingSkillGroup|}}}{{{ActionSkillGroup|}}} }}
|-style="{{#if: {{{image_alt1|}}}| text-align:center; | display: none;}}"
 
  +
|-style="{{#if: {{{removed_version|}}}| | display: none;}}"
| colspan="2" style="padding:0.5em;" | {{#if: {{{image_alt1|}}}| [[File:{{{image_alt1}}}{{#if: {{{size|}}}| {{!}}{{{size}}} }}]] }}{{#if: {{{caption_alt1|}}}| <br>''{{{caption_alt1}}}'' }}
 
  +
| style="font-size:95%; text-align: center;" colspan="2" | <span style="color:#FF0000">'''Removed'''</span>: <span style="color:#FF0000">'''{{{removed_version}}}'''</span>
|-style="{{#if: {{{image_alt2|}}}| text-align:center; | display: none;}}"
 
  +
{{Component infobox field |name = Item ID | value = {{{item-id|}}}}}
| colspan="2" style="padding:0.5em;" | {{#if: {{{image_alt2|}}}| [[File:{{{image_alt2}}}{{#if: {{{size|}}}| {{!}}{{{size}}} }}]] }}
 
  +
{{Component infobox field |name = [[Group]] | value = {{Validate list |value = {{{group|}}} |list = Ammo/Weapons,Basics,Building,Chemicals,Clothing,Food/Cooking,Medicine (Group),Decor/Miscellaneous,Resources,Special Items,Tools/Traps |value_not_found = (!){{{group|}}}%Unknown Group
|-
 
  +
|empty = %Items without a group}} |valuelink = 1 }}
! colspan="2" class="infoboxdescription" | Описание
 
  +
{{Component infobox field |name = Title | value = {{{title|}}} }}
|-
 
  +
{{Component infobox field |name = Description | value = {{{description|}}} }}
| style="font-size:95%;" | '''Категория''' || {{#if: {{{category|}}}| {{{category}}}| Предмет [[Категория:Предметы]]}}
 
  +
{{Component infobox field |name = Category | value = {{{category|}}} }}
|-style="{{#if: {{{type|}}}| | display: none;}}"
 
| style="font-size:95%;" | '''Тип''' || {{{type}}}
+
{{Component infobox field |name = Type | value = {{{type|}}} }}
  +
{{Component infobox field |name = Tool Type | value = {{Validate list |value={{{tool-type|}}} |list = Mechanical,Manual |value_not_found = (!){{{tool-type|}}}%Unknown Tool Type }} }}
|-style="{{#if: {{{tool-type|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Location | value = {{{location|}}} }}
| style="font-size:95%;" | '''Tool Type''' || {{{tool-type}}}
 
  +
{{Component infobox field |name = Found in | value = {{{found|}}} }}
|-valign="top" style="{{#if: {{{effects|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Obtained through| value = {{Deprecated Parameter|value={{{obtained|}}} }} }}
| style="font-size:95%;" | '''Эффекты''' || {{{effects}}}
 
  +
{{Component infobox field |name = Breaks into | value = {{{breaks|}}}}}
|-style="{{#if: {{{obtained|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Gear Slot | value = {{Validate list |value = {{{slot|}}} |list = Hat,Glasses,Face Mask,Chest Armor,Jacket,Shirt,Leg Armor,Pants,Boots,Gloves,Backpack |value_not_found = (!){{{slot|}}}%Unknown Gear Slot }} }}
| style="font-size:95%;" | '''Способ получения''' || {{{obtained}}}
 
  +
{{Component infobox field |name = Fuel | value = {{{tool-fuel|}}}}}
|-style="{{#if: {{{cookable|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Used to place | value = {{{places|}}}}}
| style="font-size:95%;" | '''Можно приготовить''' || {{{cookable}}}
 
  +
{{Component infobox field |name = Cooking Ingredient | value = {{Validate bool |value = {{{cookable|}}} |format = yes/no |category = Cooking Ingredients }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
|-style="{{#if: {{{durability|}}}{{{structural integrity|}}}{{{tool|}}}{{{damage|}}}{{{range|}}}{{{critratio|}}}{{{ammo|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Meltable |value = {{Validate bool |value = {{{meltable|}}} |format = yes/no |category = Meltable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
! colspan="2" class="infoboxdescription" | Cтатистика
 
  +
{{Component infobox field |name = Scrappable | value = {{Validate bool |value = {{{scrapable|}}} |format = yes/no |category = Scrapable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
|-style="{{#if: {{{durability|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Dismantleable | value = {{Validate bool |value = {{{dismantleable|}}} |format = yes/no |category = Dismantleable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
| style="font-size:95%;" | '''[[Долговечность]]''' || {{{durability}}}
 
  +
{{Component infobox field |name = Lockable | value = {{Validate bool |value = {{{lockable|}}} |format = yes/no |category = Lockable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
|-style="{{#if: {{{puredur|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Crafting Skill Group | value = {{{CraftingSkillGroup|}}} }}
| style="font-size:95%;" | '''[[Чистая долговечность]]''' || {{{puredur}}}
 
  +
{{Component infobox field |name = Action Skill Group | value = {{{ActionSkillGroup|}}} }}
|-style="{{#if: {{{structural integrity|}}}| | display: none;}}"
 
  +
{{Component infobox section | name = Statistics | conditions = {{{storage|}}}{{{smell_tb|}}}{{{smell_bp|}}}{{{smell_tb_str|}}}{{{smell_bp_str|}}}{{{durability|}}}{{{cumulative_durability|}}}{{{puredur|}}}{{{hardness|}}}{{{structural integrity|}}}{{{max_load|}}}{{{mass|}}}{{{tool|}}}{{{damage|}}}{{{block_damage|}}}{{{range|}}}{{{speed|}}}{{{inv_slots|}}}{{{stack|}}}}}
| style="font-size:95%;" | '''[[Целостность конструкции]]''' || {{{structural integrity}}}
 
  +
{{Component infobox field |name = Hit Points | value = {{{hit_points|}}}}}
|-style="{{#if: {{{hardness|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Storage Slots | value = {{{storage|}}}}}
| style="font-size:95%;" | '''[[Прочность]]''' || {{{hardness}}}
 
  +
{{Component infobox field |name = [[Stealth_system#Smell|Smell on Belt]] | value = {{{smell_tb|}}}}}
|-style="{{#if: {{{capacity|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Stealth_system#Smell|Smell strength on Belt]] | value = {{{smell_tb_str|}}}}}
| style="font-size:95%;" | '''[[Вместимость]]''' || {{{capacity}}}
 
  +
{{Component infobox field |name = [[Stealth_system#Smell|Smell in Bag]] | value = {{{smell_bp|}}}}}
|-style="{{#if: {{{mass|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Stealth_system#Smell|Smell strength in Bag]] | value = {{{smell_bp_str|}}}}}
| style="font-size:95%;" | '''[[Масса]]''' || {{{mass}}}
 
  +
{{Component infobox field |name = [[Durability]] | value = {{{durability|}}} }}
|-style="{{#if: {{{max_load|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Durability|Cumulative Durability]] | value = {{{cumulative_durability|}}} }}
| style="font-size:95%;" | '''[[Максимальная нагрузка]]''' || {{{max_load}}}
 
  +
{{Component infobox field |name = [[Durability|Durability (Base Quality)]] | value = {{{durability_min|}}} }}
|-style="{{#if: {{{tool|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Durability|Durability (Max Quality)]] | value = {{{durability_max|}}} }}
| style="font-size:95%;" | '''[[Соответствующие инструменты]]''' || {{{tool}}}
 
  +
{{Component infobox field |name = [[Pure-Dur]] | value = {{{puredur|}}} }}
|-style="{{#if: {{{damage|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Hardness]] | value = {{{hardness|}}} }}
| style="font-size:95%;" | '''Повреждение''' || style="font-size:95%;" | {{{damage}}}
 
  +
{{Component infobox field |name = [[Structural Integrity]] | value = {{{structural integrity|}}} }}
|-style="{{#if: {{{range|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Max Load]] | value = {{{max_load|}}} }}
| style="font-size:95%;" | '''Размах''' || style="font-size:95%;" | {{{range}}}
 
  +
{{Component infobox field |name = [[Mass]] | value = {{{mass|}}} }}
|-style="{{#if: {{{critratio|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Appropriate Tool]] | value = {{{tool|}}}}}
| style="font-size:95%;" | '''Шанс&nbsp;критического&nbsp;урона''' || style="font-size:95%;" | {{{critratio}}}
 
  +
{{Component infobox field |name = [[Entity Damage]] | value = {{{damage|}}}}}
|-style="{{#if: {{{uses|}}}{{{hunger|}}}{{{thirst|}}}{{{consumption|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Entity Damage|Entity Damage (Base Quality)]] | value = {{{damage_min|}}}}}
! colspan="2" class="infoboxdescription" | Эффект при использовании
 
  +
{{Component infobox field |name = [[Entity Damage|Entity Damage (Max Quality)]] | value = {{{damage_max|}}}}}
|-style="{{#if: {{{uses|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Block Damage]] | value = {{{block_damage|}}}}}
| style="font-size:95%;" | '''Использует в день''' || {{{uses}}}
 
  +
{{Component infobox field |name = [[Block Damage|Block Damage (Base Quality)]] | value = {{{block_damage_min|}}}}}
|-style="{{#if: {{{hunger|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Block Damage|Block Damage (Max Quality)]] | value = {{{block_damage_max|}}}}}
| style="font-size:95%;" | '''Влияние на голод''' || {{{hunger}}}
 
  +
{{Component infobox field |name = Critical Chance | value = {{{critratio|}}} }}
|-style="{{#if: {{{thirst|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Range]] | value = {{{range|}}}}}
| style="font-size:95%;" | '''Влияние на жажду''' || {{{thirst}}}
 
  +
{{Component infobox field |name = [[Range|Range (Base Quality)]] | value = {{{range_min|}}}}}
|-style="{{#if: {{{stamina|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Range|Range (Max Quality)]] | value = {{{range_max|}}}}}
| style="font-size:95%;" | '''Выносливость''' || {{{stamina}}}
 
  +
{{Component infobox field |name = Attack Speed | value = {{{speed|}}}}}
|-style="{{#if: {{{consumption|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Reload Speed | value = {{{reload_speed|}}}}}
| style="font-size:95%;" | '''Другие эффекты''' || {{{consumption}}}
 
  +
{{Component infobox field |name = [[Heatmap|Heat Map Strength]] | value = {{{heat_map_strength|}}}}}
|-style="{{#if: {{{used_in|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Heatmap|Heat Map Time]] | value = {{{heat_map_time|}}}}}
! colspan="2" class="infoboxdescription" | Крафт
 
  +
{{Component infobox field |name = [[Heatmap|Heat Map Frequency]] | value = {{{heat_map_frequency|}}}}}
|-valign="top" style="{{#if: {{{used_in|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Stamina Usage | value = {{{stamina_usage|}}}}}
| style="font-size:95%;" | '''Используется для''' || {{{used_in}}}
 
  +
{{Component infobox field |name = Inventory Slots | value = {{{inv_slots|}}}}}
|-style="{{#if: {{{craftable|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Max Stack]] | value = {{{stack|}}}}}
| style="font-size:95%;" | '''Можно создать''' || {{#if: {{{craftable|}}}|
 
  +
{{Component infobox field |name = [[Bonus Damage|Multiplier: Headshot]] | value = {{{bonus_damage_headshot|}}}}}
{{#switch: {{lc:{{{craftable}}}}}
 
  +
{{Component infobox field |name = [[Bonus Damage|Multiplier: Cloth]] | value = {{{bonus_damage_cloth|}}}}}
|y = Да
 
  +
{{Component infobox field |name = [[Bonus Damage|Multiplier: Concrete]] | value = {{{bonus_damage_concrete|}}}}}
|yes = Да
 
  +
{{Component infobox field |name = [[Bonus Damage|Multiplier: Earth]] | value = {{{bonus_damage_earth|}}}}}
|n = Нет
 
  +
{{Component infobox field |name = [[Bonus Damage|Multiplier: Glass]] | value = {{{bonus_damage_glass|}}}}}
|no = Нет
 
  +
{{Component infobox field |name = [[Bonus Damage|Multiplier: Metal]] | value = {{{bonus_damage_metal|}}}}}
|#default = {{{craftable}}}
 
  +
{{Component infobox field |name = [[Bonus Damage|Multiplier: Stone]] | value = {{{bonus_damage_stone|}}}}}
}}
 
  +
{{Component infobox field |name = [[Bonus Damage|Multiplier: Wood]] | value = {{{bonus_damage_wood|}}}}}
}}
 
  +
{{Component infobox field |name = Buff | value = {{{buff|}}} }}
|-style="{{#if: {{{ammo|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Buff Chance (%) | value = {{{buff_chance|}}} }}
! colspan="2" class="infoboxdescription" | Боеприпасы
 
  +
{{Component infobox field |name = Buff Effect | value = {{{buff_effect|}}} }}
|-style="{{#if: {{{ammo|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Experience|Initial Experience]] | value = {{{exp1|}}}}}
| style="font-size:95%;" | '''Боеприпасы''' || {{{ammo}}}
 
  +
{{Component infobox field |name = Subsequent Experience | value = {{{exp2|}}}}}
|-style="{{#if: {{{clip|}}}| | display: none;}}"
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Protection | conditions = {{{insulation|}}}{{{waterproof|}}}{{{bullet|}}}{{{melee|}}}{{{puncture|}}}{{{concussive|}}}{{{blunt|}}}{{{fire|}}}{{{explosives|}}}{{{radiation|}}}}}
| style="font-size:95%;" | '''Вместимость&nbsp;обоймы''' || {{{clip}}}
 
  +
{{Component infobox field |name = Insulation (°F) | value = {{{insulation|}}}}}
|-valign="top" style="{{#if: {{{used_by|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = Waterproof (%) | value = {{{waterproof|}}}}}
| style="font-size:95%;" | '''Для''' || {{{used_by}}}
 
  +
{{Component infobox field |name = [[Damage#Bullet|Bullet]] | value = {{{bullet|}}}}}
|-style="{{#if: {{{fuel|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Damage#Melee|Melee]] | value = {{{melee|}}}}}
! colspan="2" class="infoboxdescription" | Прочее
 
  +
{{Component infobox field |name = [[Damage#Puncture|Puncture (%)]] | value = {{{puncture|}}}}}
|-style="{{#if: {{{fuel|}}}| | display: none;}}"
 
  +
{{Component infobox field |name = [[Damage#Concussive|Concussive (%)]] | value = {{{concussive|}}}}}
| style="font-size:95%;" | '''Топливо''' || {{{fuel}}}
 
  +
{{Component infobox field |name = [[Damage#Blunt|Blunt]] | value = {{{blunt|}}}}}
|}<includeonly>
 
  +
{{Component infobox field |name = [[Damage#Fire|Fire (%)]] | value = {{{fire|}}}}}
{{#switch: {{NAMESPACE}}
 
  +
{{Component infobox field |name = [[Damage#Explosives|Explosive]] | value = {{{explosives|}}}}}
|User =
 
  +
{{Component infobox field |name = [[Damage#Radiation|Radiation (%)]] | value = {{{radiation|}}}}}
|User talk =
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Consumption Effects | conditions = {{{hunger|}}}{{{thirst|}}}{{{health|}}}{{{stamina|}}}{{{well|}}}{{{gas|}}}{{{consumption|}}}}}
|#default =
 
  +
{{Component infobox field |name = Effect on [[Fullness]] | value = {{{hunger|}}}}}
{{#if: {{{type|}}}|
 
  +
{{Component infobox field |name = Effect on [[Hydration]] | value = {{{thirst|}}}}}
{{#switch: {{{type}}}
 
  +
{{Component infobox field |name = Effect on [[Health]] | value = {{{health|}}}}}
|Автоматическое = [[Категория:Автоматическое]] [[Категория:Оружие]]
 
  +
{{Component infobox field |name = Effect on [[Stamina]] | value = {{{stamina|}}}}}
|Скользящий затвор = [[Категория:Скользящий затвор]] [[Категория:Оружие]]
 
  +
{{Component infobox field |name = Effect on [[Wellness]] | value = {{{well|}}}}}
|Cерийного огня = [[Категория:Cерийного огня]] [[Категория:Оружие]]
 
  +
{{Component infobox field |name = Cures | value = {{{cures|}}}}}
|Рукопашное = [[Категория:Рукопашное]] [[Категория:Оружие]]
 
  +
{{Component infobox field |name = Effect on [[Gassiness]] | value = {{{gas|}}}}}
|Помповое = [[Категория:Помповое]] [[Категория:Оружие]]
 
  +
{{Component infobox field |name = Other Effects | value = {{{consumption|}}}}}
|Полуавтоматическое = [[Категория:Полуавтоматическое]] [[Категория:Оружие]]
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Ammunition | conditions = {{{ammo|}}}{{{clip|}}} }}
|Хранилище = [[Категория:Хранилище]]
 
  +
{{Component infobox field |name = Ammo Type | value = {{{ammo|}}}}}
}}
 
  +
{{Component infobox field |name = Capacity | value = {{{clip|}}}}}
}}
 
  +
{{Component infobox field |name = Used by | value = {{Validate exists |value = {{{used_by|}}}}} }}
{{#if: {{{category|}}}|
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Teaching | conditions = {{{unlocks|}}}}}
{{#switch: {{lc:category}}
 
  +
{{Component infobox field |name = Unlocks | value = {{{unlocks|}}}}}
|Боеприпасы = [[Категория:Боеприпасы]]
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Crafting | conditions = {{{unlocked|}}}{{{repair|}}}{{{repairs|}}}{{{rep_value|}}}{{{used_in|}}}{{{used_parts|}}} }}
|Взрывчатые вещества = [[Категория:Взрывчатые вещества]]
 
  +
{{Component infobox object |name = Recipe |value = {{{grid_recipe|}}} }}
|Строительные материалы = [[Категория:Строительные материалы]]
 
  +
{{Component infobox field |name = Unlocked through | value = {{{unlocked|}}}}}
|Огнестрельное = [[Категория:Огнестрельное]]
 
  +
{{Component infobox field |name = [[Repairing|Repaired using]] | value = {{{repair|}}}}}
|Еда = [[Категория:Еда]]
 
  +
{{Component infobox field |name = [[Repairing|Repairs]] | value = {{{repairs|}}}}}
|Горючее = [[Категория:Горючее]]
 
  +
{{Component infobox field |name = [[Durability]] | value = {{{rep_value|}}}}}
|Мебель = [[Категория:Mебель]]
 
  +
{{Component infobox field |name = Used to craft | value = {{{used_in|}}} |autocategory = {{#var:autocategory}} }}
|Слиток = [[Категория:Слитки]]
 
  +
{{Component infobox field |name = Used [[Gun Parts]] | value = {{{used_parts|}}}}}
|Медицинское оборудование = [[Категория:Медицинское оборудование]]
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Upgrading | conditions = {{{used_in_upgrading|}}}{{{upgrades|}}}{{{used_parts_upgrading|}}} }}
|Наземные мины = [[Категория:Наземные мины]]
 
  +
{{Component infobox field |name = Upgrades Into | value = {{{used_in_upgrading|}}}}}
|Руда = [[Категория:Руда]]
 
  +
{{Component infobox field |name = Used to upgrade | value = {{{upgrades|}}}}}
|Ресурсы = [[Категория:Ресурсы]]
 
  +
{{Component infobox field |name = Used Parts | value = {{{used_parts_upgrading|}}}}}
|Реактивный гранатомет = [[Категория:Реактивный гранатомет]] [[Категория:Оружие]]
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Cooking | conditions = {{{unlocked_cooking|}}}{{{used_in_cooking|}}}{{{used_utensil|}}}{{{used_ingredients|}}} }}
|Стрелковое оружие = [[Категория:Стрелковое оружие]]
 
  +
{{Component infobox field |name = Unlocked through | value = {{{unlocked_cooking|}}}}}
|Инструменты = [[Категория:Инструменты]]
 
  +
{{Component infobox field |name = Used to cook | value = {{{used_in_cooking|}}}}}
|Оружие, Инструменты = [[Категория:Оружие]] [[Категория:Инструменты]]
 
  +
{{Component infobox field |name = Cookware Used | value = {{{used_utensil|}}}}}
|Ловушки = [[Категория:Ловушки]]
 
  +
{{Component infobox field |name = Ingredients Used | value = {{{used_ingredients|}}}}}
|Оружие = [[Категория:Оружие]]
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Chemistry | conditions = {{{unlocked_chemistry|}}}{{{used_in_chemistry|}}}{{{used_ingredients_chemistry|}}} }}
|Транспорт = [[Категория:Транспорт]]
 
  +
{{Component infobox field |name = Unlocked Through | value = {{{unlocked_chemistry|}}}}}
|#default = [[Категория:Предметы]]
 
  +
{{Component infobox field |name = Used in | value = {{{used_in_chemistry|}}}}}
}}
 
  +
{{Component infobox field |name = Ingredients Used | value = {{{used_ingredients_chemistry|}}}}}
}}
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Scrapping | conditions = {{{used_in_scrapping|}}}{{{scrap_iron|}}}{{{scrap_brass|}}}{{{scrap_lead|}}}{{{scrap_tungsten|}}}{{{cloth_fragment|}}} }}
{{#if: {{{obtained|}}}|
 
  +
{{Component infobox field |name = Scraps into | value = {{Deprecated Parameter |value = {{{used_in_scrapping|}}} }} }}
{{#switch: {{lc:{{{obtained}}}}}
 
  +
{{Component infobox field |name = [[File:ScrapIron.png|30px|link=Scrap Iron]][[Scrap Iron]] | value = {{Validate exists |value={{{scrap_iron|}}} |category= Scrap Iron}} |categorize = 1 |autocategory = {{#var:autocategory}} }}
|Чит-код = [[Категория:Объекты, доступные через чит-коды]]
 
  +
{{Component infobox field |name = [[File:ScrapBrass.png|30px|link=Scrap Brass]][[Scrap Brass]] | value = {{Validate exists |value={{{scrap_brass|}}} |category= Scrap Brass}} |categorize = 1 |autocategory = {{#var:autocategory}} }}
}}
 
  +
{{Component infobox field |name = [[File:ScrapLead.png|30px|link=Scrap Lead]][[Scrap Lead]] | value = {{Validate exists |value={{{scrap_lead|}}} |category= Scrap Lead}} |categorize = 1 |autocategory = {{#var:autocategory}} }}
}}
 
  +
{{Component infobox field |name = [[File:ScrapTungsten.png|30px|link=Scrap Tungsten]][[Scrap Tungsten]] | value = {{Validate exists |value={{{scrap_tungsten|}}} |category= Scrap Tungsten}} |categorize = 1 |autocategory = {{#var:autocategory}} }}
{{#if: {{{craftable|}}}|
 
  +
{{Component infobox field |name = [[File:Cloth.png|30px|link=Cloth Fragment]][[Cloth Fragment]] | value={{{cloth_fragment|}}} }}
{{#switch: {{{craftable}}}
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Forging | conditions = {{{used_in_forging|}}}{{{weight|}}}{{{weight_forge|}}}{{{metal|}}}{{{fuel|}}}{{{burn-time|}}} }}
|y = [[Категория:Можно создать]]
 
  +
{{Component infobox field |name = Used to forge | value = {{{used_in_forging|}}}}}
|yes = [[Категория:Можно создать]]
 
  +
{{Component infobox field |name = Weight (lbs) | value = {{{weight|}}}}}
|n = [[Категория:Нельзя создать]]
 
  +
{{Component infobox field |name = Forge Weight (oz)| value = {{{weight_forge|}}}}}
|no = [[Категория:Нельзя создать]]
 
  +
{{Component infobox field |name = Material | value = {{Validate list |value = {{{metal|}}} |list = Brass%Brass (Forge),Glass% Glass (Forge),Iron%Iron (Forge),Lead%Lead (Forge),Stone%Stone (Forge),Tungsten%Tungsten (Forge) |value_not_found = (!){{{metal|}}}%Unknown Material }} }}
}}
 
  +
{{Component infobox field |name = [[Combustible]] | value = {{Validate bool |value = {{{fuel|}}} |format = yes/no |category = Combustibles }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
}}
 
  +
{{Component infobox field |name = Burn Time | value = {{{burn-time|}}}}}
}}</includeonly><noinclude>{{clear}}
 
  +
{{Component infobox section |autocategory = {{#var:autocategory}} | name = Farming | conditions = {{{crop|}}}{{{seed|}}}{{{stages|}}}{{{grow-time|}}}{{{plant-grown|}}} }}
  +
{{Component infobox field |name = Crop produced | value = {{{crop|}}}}}
  +
{{Component infobox field |name = Seed used | value = {{{seed|}}}}}
  +
{{Component infobox field |name = Growth stages | value = {{{stages|}}}}}
  +
{{Component infobox field |name = Time to grow | value = {{{grow-time|}}}}}
  +
{{Component infobox field |name = Used to grow | value = {{{plant-grown|}}}}}
  +
{{Component infobox section | autocategory = {{#var:autocategory}} | name = Obtained through | conditions = {{{ob_cheat|}}}{{{ob_cook|}}}{{{ob_craft|}}}{{{ob_dismantle|}}}{{{ob_farm|}}}{{{ob_forge|}}}{{{ob_loot|}}}{{{ob_mine|}}}{{{ob_scavenge|}}}{{{ob_scrap|}}}{{{ob_upgrade|}}}|category = Unobtainable items |categorize = 1 }}
  +
{{Component infobox field |name = [[Creative Menu]] | value = {{Validate bool |value = {{{ob_cheat|}}} |format = yes/no |category = Cheatable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Cooking]] | value = {{Validate bool |value = {{{ob_cook|}}} |format = yes/no |category = Cookable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Crafting]] | value = {{Validate bool |value = {{{ob_craft|}}} |format = yes/no |category = Craftable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Dismantling]] | value = {{Validate bool |value = {{{ob_dismantle|}}} |format = yes/no |category = Taken apart items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Farming]] | value = {{Validate bool |value = {{{ob_farm|}}} |format = yes/no |category = Farmable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Forging]] | value = {{Validate bool |value = {{{ob_forge|}}} |format = yes/no |category = Forgeable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Looting]] | value = {{Validate bool |value = {{{ob_loot|}}} |format = yes/no |category = Lootable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Mining]] | value = {{Validate bool |value = {{{ob_mine|}}} |format = yes/no |category = Mineable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Scavenging]] | value = {{Validate bool |value = {{{ob_scavenge|}}} |format = yes/no |category = Scavengeable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Scrapping]] | value = {{Validate bool |value = {{{ob_scrap|}}} |format = yes/no |category = Scrapped items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = [[Upgrading]] | value = {{Validate bool |value = {{{ob_upgrade|}}} |format = yes/no |category = Upgraded items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
   
  +
{{Component infobox section | name = Versioning | conditions = {{{added_version|}}}{{{removed_version|}}}{{{updated_version|}}}{{{confirmed_version|}}} }}
== Usage ==
 
  +
This has only been translated using Google translate, by someone who speaks no Russian at all.
 
  +
{{Component infobox field |name = Added | value = {{{added_version|}}} }}
=== Long form ===
 
  +
{{Component infobox field |name = Removed | value = {{{removed_version|}}} }}
<pre>
 
  +
{{Component infobox field |name = Updated | value = {{{updated_version|}}} }}
{{Infobox item
 
  +
{{Component infobox field |name = Confirmed | value = {{{confirmed_version|}}} }}
|name =
 
  +
{{Component infobox footer}}
|image =
 
|image_alt =
 
|size =
 
|caption =
 
|category =
 
|type =
 
|obtained =
 
|cookable =
 
|tool-type =
 
|location =
 
|effects =
 
|damage =
 
|range =
 
|critratio =
 
|ammo =
 
|clip =
 
|used_by =
 
|fuel =
 
|uses =
 
|hunger =
 
|thirst =
 
|stamina =
 
|consumption =
 
|used_in =
 
|craftable =
 
|durability =
 
|structural integrity =
 
|tool =
 
|}}</pre>
 
   
  +
<!-- Auto Categorization Start-->
=== Short form (item) ===
 
<pre>
 
{{Infobox item
 
|image =
 
|category =
 
|type =
 
|item-id =
 
|location =
 
|obtained =
 
|hardness =
 
|mass =
 
|max_load =
 
|structural integrity =
 
|durability =
 
|puredur =
 
|used_in =
 
|obtained =
 
|scrapable =
 
|dismantleable =
 
|used_in =
 
|meltable =
 
|capacity =
 
|}}</pre>
 
   
  +
<!-- Check for no Auto-Categorization -->
=== Short form (weapon) ===
 
  +
{{#if: {{{removed_version|}}} ||
<pre>
 
  +
{{#if: {{{nocat|}}} ||
{{Infobox item
 
  +
<!-- Type -->
|image =
 
|category =
 
|type =
 
|damage =
 
|range =
 
|critratio =
 
|ammo =
 
|clip =
 
|craftable =
 
|}}</pre>
 
   
  +
{{#if: {{{type|}}}
=== Short form (ammo) ===
 
  +
| {{#vardefine:typelist|{{{type}}} }}
<pre>
 
  +
{{#vardefine:count|0}}
{{Infobox item
 
  +
{{#while:
|image =
 
  +
| {{#explode:{{#var:typelist}}|,|{{#var:count}} }}
|category = Ammunition
 
  +
| {{#switch: {{lc:{{#explode:{{#var:typelist}}|,|{{#var:count}} }} }}
|clip =
 
  +
|boiled = [[Category:Boiled Food]]
|used_by =
 
  +
|charred = [[Category:Charred Food]]
|craftable =
 
  +
|canned = [[Category:Canned Food]]
|}}</pre>
 
  +
|door = [[Category:Doors]]
  +
|grilled = [[Category:Grilled Food]]
  +
|raw = [[Category:Raw Food]]
  +
|siding = [[Category:Sidings]]
  +
|loot container = [[Category:Storage]]
  +
|storage = [[Category:Storage]]
  +
|beverage = [[Category:Beverages]]
  +
|#default = [[Category:{{#explode:{{#var:typelist}}|,|{{#var:count}} }} ]]
  +
}}
  +
{{#vardefine:count|{{#expr:{{#var:count}} + 1 }} }}
  +
}}
  +
}}
   
=== Short form (Еда or medical supplies) ===
 
<pre>
 
{{Infobox item
 
|image =
 
|category = Еда (or Medical supplies)
 
|effects =
 
|uses =
 
|hunger =
 
|cookable =
 
|thirst =
 
|stamina =
 
|consumption =
 
|used_in =
 
|craftable =
 
|}}</pre>
 
   
  +
<!-- Tool-Type -->
[[Категория:Шаблоны:Карточки|{{PAGENAME}}]]
 
  +
  +
{{#if: {{{tool-type|}}}
  +
|[[Category:Tools]][[Category:Tools/Traps]]{{#switch: {{lc:{{{tool-type}}}}}
  +
|manual=[[Category:Manual]]
  +
|mechanical=[[Category:Mechanical]]
  +
}}
  +
}}
  +
  +
  +
<!-- Heat generators -->
  +
  +
{{#if: {{{heat_map_strength|}}} |[[Category:Heat]] }}
  +
  +
  +
<!-- Group -->
  +
  +
{{#if: {{{group|}}}|
  +
{{#vardefine:grouplist|{{{group}}} }}
  +
{{#vardefine:count|0}}
  +
{{#while:
  +
| {{#explode:{{#var:grouplist}}|,|{{#var:count}} }}
  +
| [[Category:{{#explode:{{#var:grouplist}}|,|{{#var:count}} }} ]]
  +
{{#vardefine:count|{{#expr:{{#var:count}} + 1 }} }}
  +
}}
  +
}}
  +
  +
<!-- Category -->
  +
  +
{{#if: {{{category|}}}|
  +
{{#vardefine:count|0}}
  +
{{#while:
  +
| {{#explode:{{{category}}}|,|{{#var:count}} }}
  +
| {{#switch: {{lc:{{#explode:{{{category}}}|,|{{#var:count}} }}}}
  +
|ammunition part = [[Category:Ammunition Part]][[Category:Weapons]]
  +
|ammunition = [[Category:Ammunition]][[Category:Weapons]]
  +
|building material = [[Category:Building Material]][[Category:Building]]
  +
|equipment = [[Category:Gear]]
  +
|firearms = [[Category:Firearms]][[Category:Weapons]]
  +
|food = [[Category:Food]]
  +
|gear = [[Category:Gear]]
  +
|gun part = [[Category:Gun Parts]]
  +
|lighting = [[Category:Lighting]]
  +
|medical supplies = [[Category:Medical Supplies]][[Category:Medicine_(Group)]]
  +
|plant = [[Category:Plants]]
  +
|resource = [[Category:Resources]]
  +
|terrain = [[Category:Terrain]]
  +
|rocket launcher = [[Category:Rocket launchers]][[Category:Weapons]]
  +
|sidearm = [[Category:Sidearms]][[Category:Weapons]]
  +
|tool = [[Category:Tools]]
  +
|trap = [[Category:Traps]]
  +
|weapon = [[Category:Weapons]]
  +
|scrap = [[Category:Scrap]]
  +
|recipe book = [[Category:Recipe Book]]
  +
|#default = [[Category:Items]]
  +
}}
  +
{{#vardefine:count|{{#expr:{{#var:count}} + 1 }} }}
  +
}}
  +
}}
  +
  +
<!-- End of check for no Auto-Categorization -->
  +
}}
  +
}}
  +
  +
<!-- Always categorized -->
  +
  +
{{#if: {{{added_version|}}}| [[Category:Version_{{{added_version}}}_Items]]
  +
}}
  +
{{#if: {{{updated_version|}}}|
  +
{{#if: {{#pos:{{{updated_version|}}}|,}} |
  +
{{#vardefine:versionstring|{{{updated_version|}}} }}
  +
{{#vardefine:count|0}}
  +
{{#while:
  +
| {{#explode:{{#var:versionstring}}|,|{{#var:count}} }}
  +
| [[Category:Version_{{#explode:{{#var:versionstring}}|,|{{#var:count}}}}_Items]]
  +
{{#vardefine:count|{{#expr:{{#var:count}} + 1 }} }}
  +
}} |
  +
[[Category:Version_{{{updated_version}}}_Items]]
  +
}}
  +
}}
  +
{{#if: {{{confirmed_version|}}}|
  +
{{#if: {{#pos:{{{confirmed_version|}}}|,}} |
  +
{{#vardefine:versionstring|{{{confirmed_version|}}} }}
  +
{{#vardefine:count|0}}
  +
{{#while:
  +
| {{#explode:{{#var:versionstring}}|,|{{#var:count}} }}
  +
| [[Category:Version_{{#explode:{{#var:versionstring}}|,|{{#var:count}}}}_Items]]
  +
{{#vardefine:count|{{#expr:{{#var:count}} + 1 }} }}
  +
}} |
  +
[[Category:Version_{{{confirmed_version}}}_Items]]
  +
}}
  +
}}
  +
  +
<!-- Auto Categorization End -->
  +
</includeonly><noinclude>
  +
{{clear}}
  +
{{Warning_Box|message=Changes to this template will affect several other pages. <p>Please be careful when modifying this template.</p>
  +
{{#dpl:
  +
|uses = Template:Infobox_item
  +
|format=,|resultsheader=<p>This template modifies <B><big>%TOTALPAGES%</big></b> pages.</p>
  +
}}
  +
}}
  +
  +
[[Category:Infobox templates]]
   
 
[[de:Vorlage:Infobox item]]
 
[[de:Vorlage:Infobox item]]
[[en:Template:Infobox item]]
 
 
[[es:Plantilla:Infobox item]]
 
[[es:Plantilla:Infobox item]]
  +
[[fr:Modèle:Infobox item]]
 
[[it:Template:Infobox item]]
 
[[it:Template:Infobox item]]
 
[[nl:Sjabloon:Infobox item]]
 
[[nl:Sjabloon:Infobox item]]
 
[[pl:Szablon:Infobox item]]
 
[[pl:Szablon:Infobox item]]
  +
[[ru:Шаблон:Infobox item]]
  +
{{doc}}
 
</noinclude>
 
</noinclude>

Версия 19:38, 6 декабря 2016

Quest icon.png   Changes to this template will affect several other pages.

Please be careful when modifying this template.

This template modifies 167 pages.

ru:Шаблон:Infobox item Шаблон:Infobox item/doc