Template:Infobox drainable/ru

From PZwiki
Imbox deletion.png
This page is a candidate for deletion.
Reason: Translations copied to Template:Infobox item/ru
This page (and any subpages) will be deleted after being reviewed by an admin, and no one has objected to its deletion. Users may discuss this request for deletion on the page's talk page. Once added, this should only be removed by an admin, or the user that added it.
[view] [edit] [history] [purge] Template documentation
Imbox deletion.png
This page is a candidate for deletion.
Reason: Unused
This page (and any subpages) will be deleted after being reviewed by an admin, and no one has objected to its deletion. Users may discuss this request for deletion on the page's talk page. Once added, this should only be removed by an admin, or the user that added it.
Translation icon.png
Этот template нуждается в переводе.
Редакторам рекомендуется перевести эту страницу как можно лучше.
This template is used to create an infobox in an article about any drainable item, such as light sources, water containers, medicals or other tools.

Usage

To use this template in an article, copy the template below, then paste the template into an article.

All parameters are optional – those you do not populate with data will not show up in the infobox when the article is saved.

It is strongly advised to only include variables that are relevant to the specific item in question, i.e. parameters that do not display as false or 0.

{{{display_name}}}
alternate_name alternate_name2 alternate_name3 alternate_name3 alternate_name3
Общее
Категория 아이템
Encumbrance
Сильная нагрузка
weight
Назначение
secondary_use
Вместимость max_units units
Содержимое contents
Can boil water can_boil_water
Фактор дождя rain_factor
Влияние effect
Алкоголь
Опьянение
alcohol_power
Усталость
Выносливость
fatigue_change
Light distance light_distance плитки
Light strength light_strength
Torch cone torch_cone
Технические подробности
item ID Item IDs
{{Infobox drainable/ru
|name =
|image=
|image_width=
|alternate_image=
|alternate_name=
|alternate_link=
|alternate_image2=
|alternate_name2=
|alternate_link2=
|alternate_image3=
|alternate_name3=
|alternate_link3=
|alternate_image4=
|alternate_name4=
|alternate_link4=
|alternate_image5=
|alternate_name5=
|alternate_link5=
|weight=
|primary_use=
|secondary_use=
|max_units=
|contents=
|can_boil_water=
|rain_factor=
|effect=
|alcohol_power=
|fatigue_change=
|light_distance=
|light_strength=
|torch_cone=
|item_id =
}}


Parameters

General

display_name
The display name of the item as it appears in-game. Leaving blank will display the pagename.
name_colour
The background color for the display name. Codes can be found at Template:Infobox nc.
name_text_colour
The text color for the display name. Codes can be found at Template:Infobox nc.
image
An image of the icon displayed at 128px.
alternate_image
An alternate image displayed at 32px. Can be an empty, packaged, open or any other variant.
alternate_name
The name of the alternate item image. Leaving blank will display no name when the image is hovered over.
alternate_link
An optional link to the alternate image page. Leaving blank will have no link.
weight
The base weight of the item.
primary_use
The item's primary use. Can usually be removed if the item isn't considered a tool by the wiki. (remove if value is empty)
secondary_use
The item's secondary use if it has one. Can usually be removed if the item isn't considered a tool by the wiki. (remove if value is empty)
max_units
The maximum units in a full item. Calculated using the "UseDelta" value: 1 / UseDelta.
class_name
The item's class name.

Container

contents
The contents of the item, e.g. water, electricity, etc. (remove if value is not considered to have any contents)
can_boil_water
Whether this item can be used to boil/cook water. Displayed by the variable "iscookable". (remove if value is not considered a water container)
rain_factor
The item's rain factor when it's left on the ground while it's raining. (remove if value is empty)

Medical

effect
The alcohol power of this item when used on wounds. (remove if value is not considered a medical item)
alcohol_power
The alcohol power of this item when used on wounds. (remove if value is empty)
fatigue_change
The value of fatigue that is changed from using/consuming this item. (remove if value is empty)

Light Source

light_distance
The distance the light from the source will travel. (remove if value is not considered a light source)
light_strength
The intensity/brightness of light the source provides. (remove if value is not considered a light source)
torch_cone
Whether the light from this item travels in a single direction, a.k.a torch cone. (remove if value is not considered a light source)


Examples

General items, displaying the Thread infobox

{{{display_name}}}
Общее
Категория 아이템
Encumbrance
Сильная нагрузка
0.1
Назначение
Stitch deep wounds
Вместимость 10 units
Технические подробности
item ID Item IDs
{{Infobox drainable/ru
|name =Thread
|image=thread.png
|weight=0.1
|primary_use=Craft [[mattress]]
|secondary_use=Stitch [[Health#Types of Injuries|deep wounds]]
|max_units=10
|item_id =Base.Thread
}}

Power sources, displaying the Battery infobox

{{{display_name}}}
Общее
Категория 아이템
Encumbrance
Сильная нагрузка
0.6
Вместимость 100,000 units
Содержимое Electricity
Технические подробности
item ID Item IDs
{{Infobox drainable/ru
|name =Battery
|image=Battery.png
|weight=0.6
|primary_use=Power small items
|max_units=100,000
|contents=[[Electricity]]
|item_id =Base.Battery
}}

Medical items, displaying the Vitamins infobox

{{{display_name}}}
Общее
Категория 아이템
Encumbrance
Сильная нагрузка
0.2
Вместимость 10 units
Усталость
Выносливость
-2
Технические подробности
item ID Item IDs
{{Infobox drainable
|name =Vitamins
|image=Vitamins.png
|weight=0.2
|primary_use=Reduce [[Moodles#Tired|fatigue]]
|max_units=10
|fatigue_change=-2
|item_id =Base.PillsVitamins
}}

Water containers, displaying the Bucket infobox

Bucket of Water
{{{display_name}}}
Bucket
Общее
Категория Item
Encumbrance
Сильная нагрузка
4
Содержимое Water
Can boil water False
Фактор дождя 1
Технические подробности
item ID Item IDs
{{Infobox drainable/ru
|name =Bucket of Water
|image=Bucket_Water.png
|alternate_image=Bucket_Empty.png
|alternate_name=Bucket
|alternate_link=Bucket
|weight=4
|contents=[[Water]]
|can_boil_water=False
|rain_factor=1
|item_id ='Base.BucketWaterFull
}}
Documentation transcluded from Template:Infobox drainable/ru/doc.
Editors can experiment in this template's sandbox (create)