Module:Infobox/thing/ru

-- local p = {}

-- Translation note: Translatable strings MUST be enclosed in [=[ this sort ]=] of delimiter (as opposed to "this sort" or 'this sort').

-- Units local units = { emc = [=[EMC]=], emcPerSec = [=[EMC/second]=], eu = [=[еЭ]=], euAmps = [=[EU-Amps]=], euPerTick = [=[еЭ/т]=], euPerUse = [=[еЭ/использование]=], euVolts = [=[EU-Volts]=], k = [=[K]=], litres = [=[L]=], litresPerSec = [=[L/s]=], litresPerTick = [=[L/t]=], mb = [=[мВ]=], mj = [=[МДж]=], mjPerTick = [=[МДж/т]=], metersPerSec = [=[м/с]=], nm = [=[Nm]=], degc = [=[ºC]=], degf = [=[ºF]=], perTick = [=[на такт]=], radPerSec = [=[rad/s]=], rf = [=[RF]=], rfPerTick = [=[RF/t]=], stacksPerSec = [=[стопки/с]=], su = [=[SU]=], suPerTick = [=[SU/t]=], suPerUse = [=[SU/use]=], watts = [=[W]=] }

-- This variable holds the list of item types. local itemTypes = { armor = [=[Броня]=], block = [=[Твёрдый блок]=], sblock = [=[Твёрдый блок]=], oblock = [=[Твёрдый блок]=], tblock = [=[Прозрачный блок]=], component = [=[Компонент]=], crop = [=[Зерно]=], entity = [=[Сущность]=], tentity = [=[Блоковая сущность]=], food = [=[Еда]=], item = [=[Предмет]=], machine = [=[Машина]=], mob = [=[Моб]=], hmob = [=[Враждебный моб]=], nmob = [=[Нейтральный моб]=], fmob = [=[Дружелюбный моб]=], seed = [=[Зерно]=], tool = [=[Инструмент]=], wand = [=[Посох]=], weap = [=[Оружие]=], weapon = [=[Оружие]=], hull = [=[ из ]=], module = [=[ из ]=], upgrade = [=[ из ]=], landmark = [=[Landmark]=], ritual = [=[Ритуал]=], liquid = [=[Жидкость]=], fluid = [=[Жидкость]=], ["multiblock structure"] = [=[Многоблоковая структура]=], enchant = [=[Заклинание]=], mechanic = [=[Механика]=], dimension = [=[Измерение]=], flower = [=[Цветок]=], command = [=[Команда]=], aspect = [=[Aspect]=], bauble = [=[Bauble]=], book = [=[Книга]=], cover = [=[Покрытие]=], cable = [=[Провод]=], pipe = [=[Труба]=] }

p.docLead = [=[Это — для предметов, блоков и тому подобного.]=]

p.format = { {       name = [=[Базовый]=], title = {arg="name", desc=[=[Заголовок, который будет отображён над карточкой.]=]}, {           { {arg={"blockimage","image"}, type="image", desc=[=[Большое изображение.]=] } }, { {arg={"iconimage","imageicon"}, desc=[=[Иконка. Используйте Gc, G, или O.]=]} } },       {               { [=[Модификация]=], {arg="mod", desc=[=[The mod the item belongs to. Always refer to the main page of the mod. Please do not use version numbers like "Industrial Craft 2" or "RedPower 2"; just use the regular name instead. (Will detect page language and link to respective languages)]=]} }, { [=[Тип]=], {arg="type", type="switch", allowedValues=itemTypes, desc=[=[Тип предмета.]=]} }, { [=[Всплывающий текст]=], {arg="lore", desc=[=[Additional information that is displayed on the tooltip of the item in game. If the in-game tooltip has custom colors, they should be added to this parameter using the Color template. Colors that are typically used can be found on the Minecraft Wiki.]=] }}, { [=[Требуемые модули]=], {arg="module", desc=[=[The module or modules that are required to be installed/enabled for the item to be present in the mod. Some examples of mods that add modules include, , and .]=]}}, { [=[Химический состав]=], {arg="chemcomp", desc=[=[Химический состав предмета.]=]} } }   },    {        name="Basic", title=[=[Свойства]=], {           {[=[Взрывоустойчивость]=], {arg="blastresistance", desc=[=[Взрывоустойчивость блока. Указывайте только число.]=]} }, {[=[Твёрдость]=], {arg="hardness", desc=[=[Твёрдость блока.]=] }} },       {            {[=[Восстанавливает]=], {arg="foodpoints", desc=[=[The food points a food regenerates. Add this only to food.]=]}}, {[=[Effects]=], {arg="effects", desc=[=[List of effects the food/potion buffs you with.]=]}}, {[=[Cookable]=], {arg="cookable", desc=[=[Whether the item is cookable (food).]=]}} },       {            {[=[Armour Rating]=],{arg="armorrating",desc=[=[The armor rating of the armor. Add this only to armor.]=]}}, {[=[Damage]=],{arg="damage",desc=[=[The weapon's damage (one heart is two damage, half a heart is one damage). Add this only to weapons]=]}}, {[=[Durability]=],{arg="durability",desc=[=[The durability of the tool or armor. Add this only to tools and armor. ]=]}},           {[=[Mining level]=],{arg="mininglevel",desc=[=[The pick's mining level (wood, stone, iron etc...).]=]}} },       {            {[=[Stackable]=],{arg="stackable", desc = [=[Whether the block/item is stackable.]=]}}, {[=[Flammable]=],{arg="flammable", desc = [=[Whether the block/item is flammable (can be set on fire and burned).]=]}} },       {            {[=[Storage]=],{arg={"storageslots","storage"}, desc = [=[The storage of the item - This parameter does NOT add "cells" or "stacks" after the parameter's text.]=]}}, {[=[Liquid Storage]=],{arg="lstorage", units=units.mb, desc = [=[The maximum liquid storage of the item in mB. Include only the number.]=]}} },       {            {[=[Heat (C)]=],{arg="heatc", units=units.degc, desc = [=[The maximum heat capacity of the item in C (Celsius). Include only the number.]=]}}, {[=[Heat (F)]=],{arg="heatf", units=units.degf, desc = [=[The maximum heat capacity of the item in F (Fahrenheit). Include only the number.]=]}} }   },    {        name="Upgrades", title = [=[Upgrades]=], {       },        {            {[=[Previous Tier]=],{arg="prevtier", desc = [=[Previous tier of the item, tool or machine.]=]}} },       {            {[=[Next Tier]=],{arg="nexttier", desc = [=[Next tier of the item, tool or machine.]=]}} }   },    {        name="Energy Consumption", title = [=[Energy Consumption]=], {           {[=[Max EU input]=], {arg="euinput", units=units.euPerTick, desc = [=[Maximum input of EU/t. Include only the number.]=]}}, {[=[EU use]=], {arg="euuse", units=units.euPerTick, desc = [=[EU consumption in EU/t. Include only the number.]=]}}, {[=[EU use]=], {arg="euusetool", units="EU/use", desc = [=[EU consumption in EU per use (only used on tools that use EU per use. Include only the number.]=]}},           {[=[EU storage]=], {arg="eustorage", units=units.eu, desc = [=[EU storage in EU. Include only the number.]=]}},            {[=[Max EU output]=], {arg="euoutput", units=units.euPerTick, desc = [=[Maximum output of EU/t. Include only the number.]=]}},            {[=[EU production]=], {arg="euproduction", units=units.euPerTick, desc = [=[EU production in EU/t. Include only the number.]=]}},            {[=[EU traversing]=], {arg="eutraversing", units=units.euPerTick, desc = [=[Maximum energy traversing - only for cables. Include only the number.]=]}}        },        {            {[=[Steam storage]=], {arg="gtsteamstorage", units=units.litres, desc = [=[Maximum liters of steam that it can hold - for  and its addons. Include only the number.]=]}}, {[=[Steam usage]=], {arg="gtsteamusage", desc = [=[Liters of steam that is used by it per tick - for and its addons. Include only the number.]=]}}, {[=[Steam production]=], {arg="gtsteamproduction", units=units.litresPerTick, desc = [=[How many liters of steam it makes per tick - for and its addons. Include only the number.]=]}}, {[=[Energy storage]=], {arg="gteustorage", units=units.eu, desc = [=[How much EU it can hold - for and its addons. Include only the number.]=]}}, {[=[Energy usage]=], {arg="gteuusage", units=units.euPerTick, desc = [=[How much EU is used by it per tick - for and its addons. Include only the number.]=]}}, {[=[Energy production]=], {arg="gteuproduction", units=units.euPerTick, desc = [=[How much EU is produced by it per tick - for and its addons. Include only the number.]=]}}, {[=[Voltage in]=], {arg="gtvoltagein", units=units.euVolts, desc = [=[Maximum EU voltage that can be put into it - for and its addons. Include only the number.]=]}}, {[=[Voltage out]=], {arg="gtvoltageout", units=units.euVolts, desc = [=[Maximum EU voltage that can be output - for and its addons. Include only the number.]=]}}, {[=[Max amperage]=], {arg="gtamperage", units=units.euAmps, desc = [=[Maximum EU amperage - for and its addons. Include only the number.]=]}}, {[=[Loss/meter/amp]=], {arg="gtloss", units=units.euVolts, desc = [=[Loss/meter/amperage - for and its addons. Include only the number.]=]}}, {[=[Heat limit]=], {arg="gtheatlimit", units=units.k, desc = [=[Maximum heat that it can take in Kelvin - for and its addons. Include only the number.]=]}}, {[=[Fluid capacity]=], {arg="gtfluidcapacity", units=units.litresPerSec, desc = [=[Maximum liters that it can hold - for and its addons. Include only the number.]=]}}, {[=[Item capacity]=], {arg="gtitemcapacity", units=units.stacksPerSec, desc = [=[Maximum stacks of items it can hold - for and its addons. Include only the number.]=]}}, {[=[Routing value]=], {arg="gtrouting", desc = [=[Routing value - for and its addons.]=]}}, {[=[Fuel efficiency]=], {arg="gtefficiency", desc = [=[Fuel efficiency - for and its addons.]=]}} },       {            {[=[Charge storage]=], {arg="rccharge", desc = [=[ energy storage. Include only the number.]=]}}, {[=[Energy loss]=], {arg="rcloss", units=units.perTick, desc = [=[How much energy is lost per tick - for and its addons. Include only the number.]=]}} },       {            {[=[Required Power]=], {arg="rocpower", units=units.watts, desc = [=[Required amount of power - for  and its addons. Include only the number.]=]}}, {[=[Required Torque]=], {arg="roctorque", units=units.nm, desc = [=[Required torque - for and its addons. Include only the number.]=]}}, {[=[Required Speed]=], {arg="rocspeed", units=units.radPerSec, desc = [=[Required speed - for and its addons. Include only the number.]=]}} },       {            {[=[Max MJ input]=], {arg="mjinput", units=units.mjPerTick, desc = [=[Maximum input of MJ/t. Include only the number.]=]}}, {[=[MJ use]=], {arg="mjuse", units=units.mjPerTick, desc = [=[MJ consumption in MJ/t. Include only the number.]=]}}, {[=[MJ storage]=], {arg="mjstorage", units=units.mj, desc = [=[MJ storage in MJ. Include only the number.]=]}}, {[=[Max MJ output]=], {arg="mjoutput", units=units.mjPerTick, desc = [=[Maximum output of MJ/t. Include only the number.]=]}}, {[=[MJ production]=], {arg="mjproduction", units=units.mjPerTick, desc = [=[MJ production in MJ/t. Include only the number.]=]}}, {[=[MJ traversing]=], {arg="mjtraversing", units=units.mjPerTick, desc = [=[Maximum energy traversing - only for pipes. Include only the number.]=]}} },       {            {[=[Max RF input]=], {arg="rfinput", units=units.rfPerTick, desc = [=[Maximum input of RF/t. Include only the number.]=]}}, {[=[RF use]=], {arg="rfuse", units=units.rfPerTick, desc = [=[RF consumption in RF/t. Include only the number.]=]}}, {[=[RF storage]=], {arg="rfstorage", units=units.rf, desc = [=[RF storage in RF. Include only the number.]=]}}, {[=[Max RF output]=], {arg="rfoutput", units=units.rfPerTick, desc = [=[Maximum output of RF/t. Include only the number.]=]}}, {[=[RF production]=], {arg="rfproduction", units=units.rfPerTick, desc = [=[RF production in RF/t. Include only the number.]=]}}, {[=[RF traversing]=], {arg="rftraversing", units=units.rfPerTick, desc = [=[Maximum energy traversing in RF/t - only for conduits. Include only the number.]=]}} },       {            {[=[Steam usage]=], {arg="fspsuuse", units=units.suPerUse, desc = [=[Steam unit consumption in SU/use. Include only the number.]=]}}, {[=[Steam usage]=], {arg="fspsutick", units=units.suPerTick, desc = [=[Steam unit consumption in SU/tick. Include only the number.]=]}}, {[=[Steam storage]=], {arg="fspsteamstorage", units=units.su, desc = [=[Steam storage in SU. Include only the number.]=]}} },       {            {[=[EMC value]=], {arg="emc", units=units.emc, desc = [=[EMC value of the item. Include only the number.]=]}}, {[=[EMC storage]=], {arg="emcstorage", units=units.emc, desc = [=[How much EMC the item can hold. This is mostly relevant for Equivalent Exchange Klein Stars. Include only the number.]=]}}, {[=[EMC creation]=], {arg="emcproduction", units=units.emcPerSec, desc = [=[How much EMC the item or block will create per second. Include only the number.]=]}} }   },    {        name="Technical", title = [=[Technical Details]=], {           {[=[Default data value]=], {arg="datavalue", desc = [=[Block ID. Do not use.]=]}}, {[=[Ore dictionary name]=], {arg="oredictname", desc = [=[The oredictionary name for this item.]=]}} },       {            {[=[First appearance]=], {arg="firstappearance", desc = [=[The version string that the item first appeared in.]=]}}, {[=[Last appearance]=], {arg="lastappearance", desc = [=[The version string that the item last appeared in.]=]}} },       {            {[=[Experience]=], {arg="exp", desc = [=[Exp you gain from mining or smelting it.]=]}}, {[=[Flow speed]=], {arg="flowspeed", units=units.metersPerSec, desc = [=[The flow speed of liquids in m/s.]=]}} },       {            {[=[Player speed]=], {arg="speed", desc = [=[The walk speed of the player character when on or in it.]=]}} }   } }

-- This next bit adds the PWhatever lines. -- 4 is the Energy Use section. local energyUseSection = p.format[4] local pwhateverfields = {"input", "use", "storage", "output", "production"} for i=1,5 do   local subsection = {} for j,name in ipairs(pwhateverfields) do        subsection[#subsection+1] = { { arg=i..name.."title" }, {arg=i..name} } end energyUseSection[#energyUseSection + 1] = subsection end

energyUseSection[#energyUseSection + 1] = { docOnly = true, desc = [=[You can also add more input/use/output/storage sections with Ptype and Ptypetitle, where P can be a number between 1 and 5.]=], ,  ,    ,    ,    ,    ,    ,    ,    , }

p.examples = { { [=[]=]} }

return p --