Module:Infobox/thing/es

-- -- 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/segundo]=], eu = [=[EU]=], euAmps = [=[EU-Amps]=], euPerTick = [=[EU/t]=], euPerUse = [=[EU/uso]=], euVolts = [=[EU-Voltios]=], huPerTick = [=[hU/t]=], k = [=[K]=], kuPerTick = [=[kU/t]=], litres = [=[L]=], litresPerSec = [=[L/seg]=], litresPerTick = [=[L/t]=], mb = [=[mB]=], mj = [=[MJ]=], mjPerTick = [=[MJ/t]=], metersPerSec = [=[m/s]=], nm = [=[Nm]=], degc = [=[ºC]=], degf = [=[ºF]=], perTick = [=[por tick]=], radPerSec = [=[rad/seg]=], rf = [=[RF]=], rfPerTick = [=[RF/t]=], stacksPerSec = [=[Stacks/seg]=], su = [=[SU]=], suPerTick = [=[SU/t]=], suPerUse = [=[Su/uso]=], watts = [=[W]=], aePerUse = [=[AE/uso]=] }

-- This variable holds the list of item types. local itemTypes = { armor = [=[Armadura]=], block = [=[Bloque Sólido]=], sblock = [=[Bloque Sólido]=], oblock = [=[Bloque Sólido]=], tblock = [=[Bloque Transparente]=], component = [=[Componente]=], crop = [=[Cosecha]=], entity = [=[Entidad]=], tentity = [=[Azulejo Entidad]=], food = [=[Comida]=], item = [=[Artículo]=], machine = [=[Máquina]=], mob = [=[Mostruo]=], hmob = [=[Monstruo Hostil]=], nmob = [=[Monstruo Neutro]=], fmob = [=[Monstruo Agradable]=], seed = [=[Semilla]=], tool = [=[Herramienta]=], wand = [=[Varita Mágica]=], weap = [=[Arma]=], weapon = [=[Arma]=], hull = [=[ ]=], module = [=[ ]=], upgrade = [=[ ]=], landmark = [=[Hito]=], ritual = [=[Ritual]=], liquid = [=[Fluido]=], fluid = [=[Fluido]=], ["multiblock structure"] = [=[Estructura Multibloque]=], enchant = [=[Encantamiento]=], mechanic = [=[Mecánico]=], dimension = [=[Dimensión]=], flower = [=[Flor]=], command = [=[Comando]=], aspect = [=[Aspecto]=], bauble = [=[Bauble]=], book = [=[Libro]=], cover = [=[Tapa]=], cable = [=[Cable]=], pipe = [=[Tubo]=] }

p.docLead = [=[Este es para items, bloques, etc.]=]

p.format = { {       name = [=[Básico]=], title = {arg="name", desc=[=[El título que se mostrará en la parte de arriba de la caja de información.]=]}, {           { {arg={"blockimage","image"}, type="image", desc=[=[La fotografía grande.]=] } }, { {arg={"iconimage","imageicon"}, desc=[=[The icon image. Use Gc or O.]=]} } },       {               { [=[Mod]=], {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 "Flaxbeard's Steam Power 0.28.0"; just use the regular name instead. (Will detect page language and link to respective languages)]=]} }, { [=[Tipo]=], {arg="type", type="switch", allowedValues=itemTypes, desc=[=[El tipo de item.]=]} }, { [=[Texto de Información de Herramienta]=], {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.]=] }}, { [=[Módulos Requeridos]=], {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 .]=]}}, { [=[Composición química]=], {arg="chemcomp", desc=[=[Composicion química del item.]=]} } }   },    {        name="Basic", title=[=[Propiedades]=], {           {[=[Resistencia de explosión]=], {arg="blastresistance", desc=[=[La resistencia a explosiones del bloque. Incluye sólo el número.]=]} }, {[=[Dureza]=], {arg="hardness", desc=[=[La dureza del bloque.]=] }} },       {            {[=[Restaura]=], {arg="foodpoints", desc=[=[Los puntos de hambre que regenera una comida. Añade esto solo a comida.]=]}}, {[=[Saturation]=], {arg="saturation", desc=[=[The saturation the food regenerates. Add this only to food.]=]}}, ,           {[=[Efectos]=], {arg="effects", desc=[=[List of effects the food/potion buffs you with.]=]}}, {[=[Capaz de ser cocinados]=], {arg="cookable", desc=[=[Si este item es cocinable (comida).]=]}}, {[=[Puntos de Vida]=], {arg="hp", desc=[=[The amount of health points (hp) that the entity has.]=]}}, {[=[Armor Points]=], {arg="ap", desc=[=[The amount of armor points (ap) that the entity has.]=]}} },       {            {[=[Clasificación de armadura]=],{arg="armorrating",desc=[=[The armor rating of the armor. Add this only to armor.]=]}}, {[=[Armor Toughness]=], {arg="toughness", desc=[=[The toughness rating of the armor. Add this only to armor.]=]}}, {[=[Daño]=],{arg="damage",desc=[=[The weapon's damage (one heart is two damage, half a heart is one damage). Add this only to weapons]=]}}, {[=[Speed]=],{arg="aspeed",desc=[=[The weapon's attack speed (added in Minecraft 1.9). Add this only to weapons]=]}}, {[=[Durabilidad]=],{arg="durability",desc=[=[The durability of the tool or armor. Add this only to tools and armor. ]=]}},           {[=[Nivel minería]=],{arg="mininglevel",desc=[=[The pick's mining level (wood, stone, iron etc...).]=]}}, {[=[Mining speed]=],{arg="miningspeed",desc=[=[The pick's mining speed.]=]}} },       {            {[=[Capaz de ser apilados]=],{arg="stackable", desc = [=[Whether the block/item is stackable.]=]}}, {[=[Inflamable]=],{arg="flammable", desc = [=[Whether the block/item is flammable (can be set on fire and burned).]=]}} },       {            {[=[Almacenamiento]=],{arg={"storageslots","storage"}, desc = [=[The storage of the item - This parameter does NOT add "cells" or "stacks" after the parameter's text.]=]}}, {[=[Almacenamiento de Líquidos]=],{arg="lstorage", units=units.mb, desc = [=[The maximum liquid storage of the item in mB. Include only the number.]=]}} },       {            {[=[Calor (C)]=],{arg="heatc", units=units.degc, desc = [=[The maximum heat capacity of the item in C (Celsius). Include only the number.]=]}}, {[=[Calor (F)]=],{arg="heatf", units=units.degf, desc = [=[The maximum heat capacity of the item in F (Fahrenheit). Include only the number.]=]}} }   },    {    	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.]=]}}, {[=[Azul]=], {arg="decoblue", desc=[=[The cost of blue color required to create the item. For use with DecoCraft.]=]}}, {[=[Verde]=], {arg="decogreen", desc=[=[The cost of green color required to create the item. For use with DecoCraft.]=]}} }   },    {        name="Upgrades", title = [=[Actualizaciones]=], {       },        {            {[=[Nivel anterior]=],{arg="prevtier", desc = [=[Previous tier of the item, tool or machine.]=]}} },       {            {[=[Nivel próximo]=],{arg="nexttier", desc = [=[Next tier of the item, tool or machine.]=]}} }   },    {        name="Energy Consumption", title = [=[Consumo de Energía]=], {           {[=[Entrada máxima de EU]=], {arg="euinput", units=units.euPerTick, desc = [=[Maximum input of EU/t. Include only the number.]=]}}, {[=[Uso de EU]=], {arg="euuse", units=units.euPerTick, desc = [=[EU consumption in EU/t. Include only the number.]=]}}, {[=[Uso de EU]=], {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.]=]}}, {[=[Almacenamiento de EU]=], {arg="eustorage", units=units.eu, desc = [=[EU storage in EU. Include only the number.]=]}}, {[=[Salida máxima de EU]=], {arg="euoutput", units=units.euPerTick, desc = [=[Maximum output of EU/t. Include only the number.]=]}}, {[=[Producción de EU]=], {arg="euproduction", units=units.euPerTick, desc = [=[EU production in EU/t. Include only the number.]=]}}, {[=[Viajes de EU]=], {arg="eutraversing", units=units.euPerTick, desc = [=[Maximum energy traversing - only for cables. Include only the number.]=]}} },       {            {[=[Entrada de Calor]=], {arg="huinput", units=units.huPerTick, desc = [=[Maximum  heat input per tick.]=]}}, {[=[Uso de Calor]=], {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.]=]}} },       {            {[=[Almacenamiento de vapor]=], {arg="gtsteamstorage", units=units.litres, desc = [=[Maximum liters of steam that it can hold - for  and its addons. Include only the number.]=]}}, {[=[Uso de vapor]=], {arg="gtsteamusage", desc = [=[Liters of steam that is used by it per tick - for and its addons. Include only the number.]=]}}, {[=[Producción de vapor]=], {arg="gtsteamproduction", units=units.litresPerTick, desc = [=[How many liters of steam it makes per tick - for and its addons. Include only the number.]=]}}, {[=[Almacenamiento de energía]=], {arg="gteustorage", units=units.eu, desc = [=[How much EU it can hold - for and its addons. Include only the number.]=]}}, {[=[Uso de energía]=], {arg="gteuusage", units=units.euPerTick, desc = [=[How much EU is used by it per tick - for and its addons. Include only the number.]=]}}, {[=[Producción de energía]=], {arg="gteuproduction", units=units.euPerTick, desc = [=[How much EU is produced by it per tick - for and its addons. Include only the number.]=]}}, {[=[Tensión en]=], {arg="gtvoltagein", units=units.euVolts, desc = [=[Maximum EU voltage that can be put into it - for and its addons. Include only the number.]=]}}, {[=[Tensión afuera]=], {arg="gtvoltageout", units=units.euVolts, desc = [=[Maximum EU voltage that can be output - for and its addons. Include only the number.]=]}}, {[=[Amperaje máximo]=], {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.]=]}}, {[=[Límite de calor]=], {arg="gtheatlimit", units=units.k, desc = [=[Maximum heat that it can take in Kelvin - for and its addons. Include only the number.]=]}}, {[=[Capacidad de fluido]=], {arg="gtfluidcapacity", units=units.litresPerSec, desc = [=[Maximum liters that it can hold - for and its addons. Include only the number.]=]}}, {[=[Capacidad de artículo]=], {arg="gtitemcapacity", units=units.stacksPerSec, desc = [=[Maximum stacks of items it can hold - for and its addons. Include only the number.]=]}}, {[=[Valor de entrutamiento]=], {arg="gtrouting", desc = [=[Routing value - for and its addons.]=]}}, {[=[Eficiencia combustible]=], {arg="gtefficiency", desc = [=[Fuel efficiency - for and its addons.]=]}} },       {            {[=[Almacenamiento de Charge]=], {arg="rccharge", desc = [=[ energy storage. Include only the number.]=]}}, {[=[Pérdida de energía]=], {arg="rcloss", units=units.perTick, desc = [=[How much energy is lost per tick - for and its addons. Include only the number.]=]}} },       {            {[=[Energía Requerida]=], {arg="rocpower", units=units.watts, desc = [=[Required amount of power - for  and its addons. Include only the number.]=]}}, {[=[Par de Torsión Requerida]=], {arg="roctorque", units=units.nm, desc = [=[Required torque - for and its addons. Include only the number.]=]}}, {[=[Velocidad Requerida]=], {arg="rocspeed", units=units.radPerSec, desc = [=[Required speed - for and its addons. Include only the number.]=]}} },       {            {[=[Entrada máximo de MJ]=], {arg="mjinput", units=units.mjPerTick, desc = [=[Maximum input of MJ/t. Include only the number.]=]}}, {[=[Uso de MJ]=], {arg="mjuse", units=units.mjPerTick, desc = [=[MJ consumption in MJ/t. Include only the number.]=]}}, {[=[Almacenamiento de MJ]=], {arg="mjstorage", units=units.mj, desc = [=[MJ storage in MJ. Include only the number.]=]}}, {[=[Salido máximo de MJ]=], {arg="mjoutput", units=units.mjPerTick, desc = [=[Maximum output of MJ/t. Include only the number.]=]}}, {[=[Producción de MJ]=], {arg="mjproduction", units=units.mjPerTick, desc = [=[MJ production in MJ/t. Include only the number.]=]}}, {[=[Viajes de MJ]=], {arg="mjtraversing", units=units.mjPerTick, desc = [=[Maximum energy traversing - only for pipes. Include only the number.]=]}} },       {            {[=[Entrada máximo de RF]=], {arg="rfinput", units=units.rfPerTick, desc = [=[Maximum input of RF/t. Include only the number.]=]}}, {[=[Uso de RF]=], {arg="rfuse", units=units.rfPerTick, desc = [=[RF consumption in RF/t. Include only the number.]=]}}, {[=[Almacenamiento de RF]=], {arg="rfstorage", units=units.rf, desc = [=[RF storage in RF. Include only the number.]=]}}, {[=[Salida máximo de RF]=], {arg="rfoutput", units=units.rfPerTick, desc = [=[Maximum output of RF/t. Include only the number.]=]}}, {[=[Producción de RF]=], {arg="rfproduction", units=units.rfPerTick, desc = [=[RF production in RF/t. Include only the number.]=]}}, {[=[Viajes de RF]=], {arg="rftraversing", units=units.rfPerTick, desc = [=[Maximum energy traversing in RF/t - only for conduits. 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.]=]}} },       {            {[=[Valor de EMC]=], {arg="emc", units=units.emc, desc = [=[EMC value of the item. Include only the number.]=]}}, {[=[Almacenamiento de EMC]=], {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.]=]}}, {[=[Creación de EMC]=], {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 = [=[Detalles técnicos]=], {           {[=[Valor por defecto de los datos]=], {arg="datavalue", desc = [=[Block ID. Do not use.]=]}}, {[=[Nombre en Ore Dictionary]=], {arg="oredictname", desc = [=[The oredictionary name for this item.]=]}} },       {            {[=[Primera aparición]=], {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.]=]}} },       {            {[=[Experiencia]=], {arg="exp", desc = [=[Exp you gain from mining or smelting it.]=]}}, {[=[Velocidad de flujo]=], {arg="flowspeed", units=units.metersPerSec, desc = [=[The flow speed of liquids in m/s.]=]}} },       {            {[=[Velocidad de jugador]=], {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 --