Module:Infobox/thing/ru

local p = {}

-- Units local units = { cf = [=[CF]=], cfPerTick = [=[CF/такт]=], emc = [=[EMC]=], emcPerSec = [=[EMC/с]=], eu = [=[еЭ]=], euAmps = [=[EU-амперы]=], euPerTick = [=[еЭ/т]=], euPerUse = [=[еЭ/использование]=], euVolts = [=[EU-вольты]=], huPerTick = [=[hU/такт]=], k = [=[K]=], kuPerTick = [=[kU/такт]=], litres = [=[л]=], litresPerSec = [=[л/с]=], litresPerTick = [=[л/такт]=], mb = [=[мВ]=], mj = [=[МДж]=], mjPerTick = [=[МДж/т]=], metersPerSec = [=[м/с]=], nm = [=[Nm]=], degc = [=[ºC]=], degf = [=[ºF]=], perTick = [=[на такт]=], radPerSec = [=[рад/с]=], rf = [=[RF]=], rfPerTick = [=[RF/такт]=], t = [=[T]=], tPerTick = [=[T/такт]=], stacksPerSec = [=[стопки/с]=], su = [=[SU]=], suPerTick = [=[SU/такт]=], suPerUse = [=[SU/использование]=], watts = [=[Вт]=], aePerUse = [=[AE/использование]=] }

-- 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 = [=[Объект генерации мира]=], ritual = [=[Ритуал]=], liquid = [=[Жидкость]=], fluid = [=[Жидкость]=], ["multiblock structure"] = [=[Многоблоковая структура]=], enchant = [=[Заклинание]=], mechanic = [=[Механика]=], dimension = [=[Измерение]=], flower = [=[Цветок]=], command = [=[Команда]=], aspect = [=[Аспект]=], bauble = [=[Прочий предмет снаряжения]=], book = [=[Книга]=], cover = [=[Покрытие]=], cable = [=[Провод]=], pipe = [=[Труба]=] }

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

p.format = { {       name = [=[Базовый]=], title = {arg="name", desc=[=[Заголовок, который будет отображён над карточкой.]=]}, {          ,        },        {               {[=[Модификация]=], {arg="mod", desc=[=[Модификация, из которой этот предмет. Укажите основную страницу модификации. Не используйте номера версий, например «Flaxbeard's Steam Power 0.28.0»; используйте только само имя. (Шаблон обнаружит язык страницы и создаст ссылку на статью на этом же языке)]=]}}, {[=[Тип]=], {arg="type", type="switch", allowedValues=itemTypes, desc=[=[Тип предмета.]=]}}, {[=[Всплывающий текст]=], {arg="lore", desc=[=[Дополнительная информация, отображаемая на внутриигровой всплывающей подсказке у предмета. Если у всплывающей подсказки есть цветовое оформление, цвета следует добавить в значение этого параметра, используя шаблон Color. Стандартные цвета могут быть найдены на Minecraft Wiki.]=]}}, {[=[Требуемые модули]=], {arg="module", desc=[=[Модуль или модули, которые должны быть установлены/включены, чтобы предмет присутствовал в модификации. Примеры модульных модификаций:, и .]=]}}, { [=[Химический состав]=], {arg="chemcomp", desc=[=[Химический состав предмета.]=]}} }   },    {        name="Basic", title=[=[Свойства]=], {           {[=[Взрывоустойчивость]=], {arg="blastresistance", desc=[=[Взрывоустойчивость блока. Указывайте только число.]=]} }, {[=[Твёрдость]=], {arg="hardness", desc=[=[Твёрдость блока.]=]}}, {[=[Светимость]=], {arg="luminance", desc=[=[Значение светимости блока или жидкости. Указывайте только число.]=]}} },       {            {[=[Восстанавливает]=], {arg="foodpoints", desc=[=[Количество очков сытости, восстанавливаемых едой. Добавляйте этот параметр только в карточку еды.]=]}}, {[=[Насыщение]=], {arg="saturation", desc=[=[Количество очков насыщения, восстанавливаемых едой. Добавляйте этот параметр только в карточку еды.]=]}}, ,           {[=[Эффекты]=], {arg="effects", desc=[=[Список эффектов, которыми еда или зелье наделяет игрока. Используйте Effect.]=]}}, {[=[]=], {arg="alcohol", desc=[=[Значение алкоголя из модификации GregTech 6.]=]}}, {[=[]=], {arg="caffeine", desc=[=[Значение кофеина из модификации GregTech 6.]=]}}, {[=[]=], {arg="dehydration", desc=[=[Значение дегидратации из модификации GregTech 6.]=]}}, {[=[]=], {arg="sugar", desc=[=[Значение углеводов из модификации GregTech 6.]=]}}, {[=[]=], {arg="fat", desc=[=[Значение жиров из модификации GregTech 6.]=]}}, {[=[Приготавливаемое]=], {arg="cookable", desc=[=[Возможно ли предмет (еду) подвергнуть дальнейшей кулинарной обработке в печи.]=]}}, {[=[Очки здоровья]=], {arg="hp", desc=[=[Количество очков здоровья (ОЗ) у сущности.]=]}}, {[=[Очки брони]=], {arg="ap", desc=[=[Количество очков брони (ОБ) у сущности.]=]}} },       {            {[=[Уровень защиты]=],{arg="armorrating",type="templateCall",template="Armor",desc=[=[Уровень защиты предмета брони. Добавляйте этот параметр только в карточки брони. Указывайте только число, так как взаимодействие с Armor автоматическое.]=]}}, {[=[Стойкость брони]=], {arg="toughness", desc=[=[Количество очков стойкости у предмета брони. Добавляйте этот параметр только в карточки брони.]=]}}, {[=[Повреждение]=],{arg="damage",desc=[=[Урон оружия (одно сердце — две единицы урона, полсердца — одна единица). Добавляйте этот параметр только в карточки оружия]=]}}, {[=[Скорость]=],{arg="aspeed",desc=[=[Скорость атаки оружия (добавлено в Minecraft 1.9). Добавляйте этот параметр только в карточки оружия]=]}}, {[=[Прочность]=],{arg="durability",desc=[=[Прочность инструмента или брони. Добавляйте этот параметр только в карточки инструментов или брони. ]=]}},           {[=[Зачаровываемость]=], {arg="enchantability", desc=[=[Зачаровываемость этого инструмента или предмета брони, показывающая, насколько сильными будут наложенные на него чары.]=]}}, {[=[Уровень добычи]=],{arg="mininglevel",desc=[=[Уровень добычи кирки (дерево, камень, железо, и так далее).]=]}}, {[=[Скорость добычи]=],{arg="miningspeed",desc=[=[Скорость добычи кирки.]=]}} },       {            {[=[Складываемый]=],{arg="stackable", desc = [=[Может ли этот блок или предмет быть сложен в стопки.]=]}}, {[=[Огнеопасный]=],{arg="flammable", desc = [=[Является ли этот блок или предмет горючим (может сгореть, если подожжён).]=]}} },       {            {[=[Хранит]=],{arg={"storageslots","storage"}, desc = [=[Вместимость предмета — Этот параметр не добавляет в конец текста слово «ячеек» или «стопок».]=]}}, {[=[Хранит жидкости]=],{arg="lstorage", units=units.mb, desc = [=[Максимальная ёмкость предмета в милливёдрах. Указывайте только число.]=]}} },       {            {[=[Нагревание (C)]=],{arg="heatc", units=units.degc, desc = [=[Максимальная теплоёмкость предмета в градусах Цельсия. Указывайте только число.]=]}}, {[=[Нагревание (F)]=],{arg="heatf", units=units.degf, desc = [=[The maximum heat capacity of the item in F (Fahrenheit). Include only the number.]=]}} },       {            {[=[ ]=],{arg="tc3aspects", desc = [=[The  added by  to this object.]=]}}, {[=[ ]=],{arg="tc4aspects", desc = [=[The added by  to this object.]=]}}, {[=[ ]=],{arg="tc5aspects", desc = [=[The added by  to this object.]=]}}, },   },    {        name="DecoCraft costs", title = [=[DecoCraft costs]=], {           {[=[Clay]=], {arg="decoclay", desc=[=[The cost of normal clay requiried to create the item. For use with DecoCraft.]=]}}, {[=[Red]=], {arg="decored", desc=[=[The cost of red color required to create the item. For use with DecoCraft.]=]}}, {[=[Blue]=], {arg="decoblue", desc=[=[The cost of blue color required to create the item. For use with DecoCraft.]=]}}, {[=[Green]=], {arg="decogreen", desc=[=[The cost of green color required to create the item. For use with DecoCraft.]=]}} }   },    {        name="Upgrades", title = [=[Улучшения]=], {       },        {            {[=[Прошлый уровень]=],{arg="prevtier", desc = [=[Previous tier of the item, tool or machine.]=]}} },       {            {[=[Следующий уровень]=],{arg="nexttier", desc = [=[Next tier of the item, tool or machine.]=]}} }   },    {        name="Energy", title = [=[Энергия]=], {           {[=[Максимальный входной ток  (в eЭ)]=], {arg="euinput", units=units.euPerTick, desc = [=[Maximum input of EU/t. Include only the number.]=]}}, {[=[Использование eЭ]=], {arg="euuse", units=units.euPerTick, desc = [=[EU consumption in EU/t. Include only the number.]=]}}, {[=[Использование eЭ]=], {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.]=]}}, {[=[Хранит еЭ]=], {arg="eustorage", units=units.eu, desc = [=[EU storage in EU. Include only the number.]=]}}, {[=[Максимальный выходной ток (в eЭ)]=], {arg="euoutput", units=units.euPerTick, desc = [=[Maximum output of EU/t. Include only the number.]=]}}, {[=[Производит еЭ]=], {arg="euproduction", units=units.euPerTick, desc = [=[EU production in EU/t. Include only the number.]=]}}, {[=[Проходящий ток (в eЭ)]=], {arg="eutraversing", units=units.euPerTick, desc = [=[Maximum energy traversing - only for cables. Include only the number.]=]}} },       {            {[=[Heat input]=], {arg="huinput", units=units.huPerTick, desc = [=[Maximum  heat input per tick.]=]}}, {[=[Heat use]=], {arg="huuse", units=units.huPerTick, desc = [=[hU consumption per tick.]=]}}, {[=[Max heat output]=], {arg="huoutput", units=units.huPerTick, desc = [=[Maximum output of hU/t.]=]}}, {[=[Heat production]=], {arg="huproduction", units=units.huPerTick, desc = [=[Heat production in hU/t.]=]}}, {[=[Heat traversing]=], {arg="hutraversing", units=units.huPerTick, desc = [=[Maximum heat energy traversing the cable.]=]}} },       {            {[=[Kinetic input]=], {arg="kuinput", units=units.kuPerTick, desc = [=[Maximum  rotation energy per tick.]=]}}, {[=[Kinetic energy use]=], {arg="kuuse", units=units.kuPerTick, desc = [=[Kinetic energy consumption per tick.]=]}}, {[=[Max kinetic output]=], {arg="kuoutput", units=units.kuPerTick, desc = [=[Maximum output of kU/t]=]}}, {[=[Kinetic energy production]=], {arg="kuproduction", units=units, desc = [=[Kinetic energy production in kU/t.]=]}}, {[=[Kinetic energy traversing]=], {arg="kutraversing", units=units.kuPerTick, desc = [=[Maximum kinetic energy traversing the cable.]=]}} },       {            {[=[Хранит пар]=], {arg="gtsteamstorage", units=units.litres, desc = [=[Maximum liters of steam that it can hold - for  and its addons. Include only the number.]=]}}, {[=[Использование пара]=], {arg="gtsteamusage", desc = [=[Liters of steam that is used by it per tick - for and its addons. Include only the number.]=]}}, {[=[Производство пара]=], {arg="gtsteamproduction", units=units.litresPerTick, desc = [=[How many liters of steam it makes per tick - for and its addons. Include only the number.]=]}}, {[=[Хранилище энергии]=], {arg="gteustorage", units=units.eu, desc = [=[How much EU it can hold - for and its addons. Include only the number.]=]}}, {[=[Использование энергии]=], {arg="gteuusage", units=units.euPerTick, desc = [=[How much EU is used by it per tick - for and its addons. Include only the number.]=]}}, {[=[Производство энергии]=], {arg="gteuproduction", units=units.euPerTick, desc = [=[How much EU is produced by it per tick - for and its addons. Include only the number.]=]}}, {[=[Входное напряжение]=], {arg="gtvoltagein", units=units.euVolts, desc = [=[Maximum EU voltage that can be put into it - for and its addons. Include only the number.]=]}}, {[=[Выходное напряжение]=], {arg="gtvoltageout", units=units.euVolts, desc = [=[Maximum EU voltage that can be output - for and its addons. Include only the number.]=]}}, {[=[Максимальный ток]=], {arg="gtamperage", units=units.euAmps, desc = [=[Maximum EU amperage - for and its addons. Include only the number.]=]}}, {[=[Потеря на метр на ампер]=], {arg="gtloss", units=units.euVolts, desc = [=[Loss/meter/amperage - for and its addons. Include only the number.]=]}}, {[=[Ограничение по теплу]=], {arg="gtheatlimit", units=units.k, desc = [=[Maximum heat that it can take in Kelvin - for and its addons. Include only the number.]=]}}, {[=[Ёмкость хранилища жидкости]=], {arg="gtfluidcapacity", units=units.litresPerSec, desc = [=[Maximum liters that it can hold - for and its addons. Include only the number.]=]}}, {[=[Ёмкость хранилища предметов]=], {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.]=]}}, {[=[Топливная эффективность]=], {arg="gtefficiency", desc = [=[Fuel efficiency - for and its addons.]=]}} },       {            {[=[Хранилище заряда]=], {arg="rccharge", desc = [=[ energy storage. Include only the number.]=]}}, {[=[Потеря энергии]=], {arg="rcloss", units=units.perTick, desc = [=[How much energy is lost per tick - for and its addons. Include only the number.]=]}} },       {            {[=[Требуемая мощность]=], {arg="rocpower", units=units.watts, desc = [=[Required amount of power - for  and its addons. Include only the number.]=]}}, {[=[Требуемый крутящий момент]=], {arg="roctorque", units=units.nm, desc = [=[Required torque - for and its addons. Include only the number.]=]}}, {[=[Требуемая скорость]=], {arg="rocspeed", units=units.radPerSec, desc = [=[Required speed - for and its addons. Include only the number.]=]}} },       {            {[=[Максимальный вход энергии (в МДж)]=], {arg="mjinput", units=units.mjPerTick, desc = [=[Maximum input of MJ/t. Include only the number.]=]}}, {[=[Использование энергии в МДж]=], {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 CF input]=], {arg="cfinput", units=units.cfPerTick, desc = [=[Maximum input of CF/t. Include only the number.]=]}}, {[=[CF use]=], {arg="cfuse", units=units.cfPerTick, desc = [=[CF consumption in CF/t. Include only the number.]=]}}, {[=[CF storage]=], {arg="cfstorage", units=units.cf, desc = [=[CF storage in CF. Include only the number.]=]}}, {[=[Max CF output]=], {arg="cfoutput", units=units.cfPerTick, desc = [=[Maximum output of CF/t. Include only the number.]=]}}, {[=[CF production]=], {arg="cfproduction", units=units.cfPerTick, desc = [=[CF production in RF/t. Include only the number.]=]}}, {[=[CF traversing]=], {arg="cftraversing", units=units.cfPerTick, desc = [=[Maximum energy traversing in CF/t - only for conduits. 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.]=]}} },       {            {[=[Max Tesla input]=], {arg="tinput", units=units.tPerTick, desc = [=[Maximum input of T/t. Include only the number.]=]}}, {[=[Tesla use]=], {arg="tuse", units=units.tPerTick, desc = [=[Tesla consumption in T/t. Include only the number.]=]}}, {[=[Tesla storage]=], {arg="tstorage", units=units.t, desc = [=[Tesla storage. Include only the number.]=]}}, {[=[Max Tesla output]=], {arg="toutput", units=units.tPerTick, desc = [=[Maximum output of T/t. Include only the number.]=]}}, {[=[Tesla production]=], {arg="tproduction", units=units.tPerTick, desc = [=[Tesla production in T/t. Include only the number.]=]}}, {[=[Tesla traversing]=], {arg="ttraversing", units=units.tPerTick, desc = [=[Maximum energy traversing in T/t - only for conduits/wires/whatnot. Include only the number.]=]}} },       {            {[=[Steam usage default]=], {arg="fspsuuse", units=units.suPerUse, desc = [=[Steam unit consumption in SU/use. Include only the number.]=]}}, {[=[Steam usage default]=], {arg="fspsutick", units=units.suPerTick, desc = [=[Steam unit consumption in SU/tick. Include only the number.]=]}}, {[=[Steam storage default]=], {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.]=]}} },       {            {[=[Arcane Energy cost]=], {arg="aeuse", units=units.aePerUse, desc=[=[Arcane Energy cost per use. Include only the number.]=]}}, }   },    {        name="Technical", title = [=[Technical details]=], {           {[=[Registry name]=], {arg="registryname", desc = [=[This thing's registry name. This is not necessarily identical to its unlocalized name.]=]}}, {[=[Unlocalized name]=], {arg="unlocalizedname", desc = [=[This thing's unlocalized name. This is not necessarily identical to its registry name.]=]}}, {[=[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"} local usageCat = "" for i=1,5 do   local subsection = {} for j,name in ipairs(pwhateverfields) do        subsection[#subsection+1] = { { arg=i..name.."title", units=usageCat }, {arg=i..name, units=usageCat} } 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