Module:Infobox/thing/tl

-- -- 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/paggamit]=], euVolts = [=[EU-Volts]=], huPerTick = [=[hU/t]=], k = [=[K]=], kuPerTick = [=[kU/t]=], litres = [=[L]=], litresPerSec = [=[L/s]=], litresPerTick = [=[L/t]=], mb = [=[mB]=], mj = [=[MJ]=], mjPerTick = [=[MJ/t]=], metersPerSec = [=[m/s]=], nm = [=[Nm]=], degc = [=[ºC]=], degf = [=[ºF]=], perTick = [=[para tick]=], radPerSec = [=[rad/s]=], rf = [=[RF]=], rfPerTick = [=[RF/t]=], stacksPerSec = [=[Mga buton/s]=], su = [=[SU]=], suPerTick = [=[SU/t]=], suPerUse = [=[SU/paggamit]=], watts = [=[W]=] }

-- This variable holds the list of item types. local itemTypes = { armor = [=[Pansangga]=], block = [=[Bloke]=], sblock = [=[Bloke]=], oblock = [=[Bloke]=], tblock = [=[Malinaw Bloke]=], component = [=[Bahagi]=], crop = [=[Halaman]=], entity = [=[Entity]=], tentity = [=[Tile Entity]=], food = [=[Pagkain]=], item = [=[Bagay]=], machine = [=[Makina]=], mob = [=[Higante]=], hmob = [=[Galit Higante]=], nmob = [=[Dati Higante]=], fmob = [=[Magkasundo Higante]=], seed = [=[Buto]=], tool = [=[Tool]=], wand = [=[Baton]=], weap = [=[Armas]=], weapon = [=[Armas]=], hull = [=[ ng ]=], module = [=[ ng ]=], upgrade = [=[ ng ]=], landmark = [=[Tanda]=], ritual = [=[Pagdiriwang Magic]=], liquid = [=[Likido]=], fluid = [=[Likido]=], ["multiblock structure"] = [=[Gusaling Mga Marami Bloke]=], enchant = [=[Enchantment]=], mechanic = [=[Mekaniko]=], dimension = [=[Mundo]=], flower = [=[Bulaklak]=], command = [=[Command]=], aspect = [=[Aspect]=], bauble = [=[Bauble]=], book = [=[Libro]=], cover = [=[Takip]=], cable = [=[Kable]=], pipe = [=[Tubo]=] }

p.docLead = [=[Ito para mga bagay, mga bloke, at katulad bagay.]=]

p.format = { {       name = [=[Basic]=], title = {arg="name", desc=[=[Magropakita ang titulo sa ang tuktok ng infobox.]=]}, {           { {arg={"blockimage","image"}, type="image", desc=[=[Ang miraki marawan.]=] } }, { {arg={"iconimage","imageicon"}, desc=[=[Ang marawang icon. Gumamamit Gc, G, O.]=]} } },       {               { [=[Mod]=], {arg="mod", desc=[=[Ang mod na ng bagay ay na. Lagi mag-refer sang pangunahin pahinang mod. Di pakigamit mga bilang version para "Industrial Craft 2" o "RedPower 2"; gumamamit lang yung normal pangalang. (Magro-detect pahina at wika, at magro-link sa yung wika)]=]} }, { [=[Type]=], {arg="type", type="switch", allowedValues=itemTypes, desc=[=[Ang type ng bagay.]=]} }, { [=[Salitang tooltip]=], {arg="lore", desc=[=[Magpakita mas kaalamang tooltip ng bagay sa huwego. Kung may kolor sa-huwegong tooltip, kung gayon dapat magsama sa ito parameter sang Kolor padron. Sa ang Minecraft Wiki pwede tumuklas mga kolor kadalasan na gumamit.]=] }}, { [=[Mga Kailangan Module]=], {arg="module", desc=[=[Kailangan mga module para yun bagay ay lagap sa yon mod. Mga alinman halimbawang mga mod sa mga module ay, , at .]=]}}, { [=[Kimiko Composisyon]=], {arg="chemcomp", desc=[=[Ang Kimiko Composisyong yung bagay.]=]} } }   },    {        name="Basic", title=[=[Mga Bisa]=], {           {[=[Resistance sa Putok]=], {arg="blastresistance", desc=[=[Ang resistance sa mga putok na yung bloke may. Sumumaklaw ang tangi bilang.]=]} }, {[=[Timpla]=], {arg="hardness", desc=[=[Ang timplang yung bloke.]=] }} },       {            {[=[Yung Balik]=], {arg="foodpoints", desc=[=[Ang mga puntos ng pagkain na balik yung pagkain. Magsamuma ito sa tangi pagkain.]=]}}, {[=[Mga Effect]=], {arg="effects", desc=[=[Listang mga effect na pagkain/inumin iyong magbigay.]=]}}, {[=[Cookable]=], {arg="cookable", desc=[=[Kung ang bagay pwede luluto (pagkain).]=]}} },       {            {[=[Rating ng Pansangga]=],{arg="armorrating",desc=[=[Ang rating ng pansanggang yung pansangga. Magsumuma ito tangi sa pansangga.]=]}}, {[=[Pinsala]=],{arg="damage",desc=[=[Ang pinsalang armas (uno puso ay dos pinsala, kalahati ng puso ay uno pinsala). Magsumuma ito tangi sa armas]=]}}, {[=[Durability]=],{arg="durability",desc=[=[Ang durability ng yung tool o pansangga. Magsumuma ito tangi sa mga tool at pansangga. ]=]}},           {[=[Kapantayang mag-mining]=],{arg="mininglevel",desc=[=[Yung kapantayang mag-mining ng piko (kahoy, bato, bakal, etc...).]=]}} },       {            {[=[Stackable]=],{arg="stackable", desc = [=[Kung yung bloke/bagay ay stackable.]=]}}, {[=[Flammable]=],{arg="flammable", desc = [=[Kung yung bloke/bagay ay flammable (pwede masunog).]=]}} },       {            {[=[Storage]=],{arg={"storageslots","storage"}, desc = [=[Ang storage ng yung bagay - Ito parameter di magsuma "mga cell" o "mga stack" pagkatapos ng text sa parameter.]=]}}, {[=[Storage ng Likido]=],{arg="lstorage", units=units.mb, desc = [=[Ang maximum storage ng mga likidong yung bagay sa mB. Sumumaklaw tangi ang bilang.]=]}} },       {            {[=[Init (C)]=],{arg="heatc", units=units.degc, desc = [=[Ang maximum capacity ng init ng yung bagay sa C (Celsius). Sumumaklaw tangi ang bilang.]=]}}, {[=[Init (F)]=],{arg="heatf", units=units.degf, desc = [=[Ang maximum capacity ng init ng yung bagay sa F (Fahrenheit). Sumumaklaw tangi ang bilang.]=]}} }   },    {        name="Upgrades", title = [=[Mga Upgrade]=], {       },        {            {[=[Bago Tier]=],{arg="prevtier", desc = [=[Bago tier ng yung bagay, tool o makina.]=]}} },       {            {[=[Sumusunod Tier]=],{arg="nexttier", desc = [=[Sumusunod tier ng yung bagay, tool o makina.]=]}} }   },    {        name="Energy Consumption", title = [=[Kunsumong Kapangyarihan]=], {           {[=[Mag-ukol max EU]=], {arg="euinput", units=units.euPerTick, desc = [=[Mag-ukol maximum sa EU/t. Sumumuklaw tangi ang bilang.]=]}}, {[=[EU paggamit]=], {arg="euuse", units=units.euPerTick, desc = [=[EU na kunsumo sa EU/t. Sumumaklaw tangi ang bilang.]=]}}, {[=[EU paggamit]=], {arg="euusetool", units="EU/use", desc = [=[Kunsumong EU sa EU para paggamit (tangi paggamit para mga tool na paggamit EU para paggamit). Sumumaklaw tangi ang bilang.]=]}}, {[=[Storage ng EU]=], {arg="eustorage", units=units.eu, desc = [=[Storage ng EU sa EU. Sumumaklaw tangi ang bilang.]=]}}, {[=[Mag-alis max EU]=], {arg="euoutput", units=units.euPerTick, desc = [=[Mag-alis maximum sa EU/t. Sumumaklaw tangi ang bilang.]=]}}, {[=[Producsyong EU]=], {arg="euproduction", units=units.euPerTick, desc = [=[Producsyiong EU sa EU/t. Sumumaklaw tangi ang bilang.]=]}}, {[=[EU na ilipat]=], {arg="eutraversing", units=units.euPerTick, desc = [=[Maximum kapangyarihan na ilipat - tangi para mga kable. Sumumaklaw tangi ang bilang.]=]}} },       {            {[=[Mag-ukot init]=], {arg="huinput", units=units.huPerTick, desc = [=[Maximum init ng  na ay mag-ukot para tick.]=]}}, {[=[Paggamit init]=], {arg="huuse", units=units.huPerTick, desc = [=[Kunsumong hU para tick.]=]}}, {[=[Mag-alis max init]=], {arg="huoutput", units=units.huPerTick, desc = [=[Mag-alis ng maximum hU/t.]=]}}, {[=[Producsyong init]=], {arg="huproduction", units=units.huPerTick, desc = [=[Producsyong init sa hU/t.]=]}}, {[=[Init na ilipat]=], {arg="hutraversing", units=units.huPerTick, desc = [=[Maximum kapangyarihang init na ilipat sang kable.]=]}} },       {            {[=[Mag-ulok ng kinetic]=], {arg="kuinput", units=units.kuPerTick, desc = [=[Maximum kapangyarihing rotation ng  para tick.]=]}}, {[=[Paggamit kinetic kapangyarihin]=], {arg="kuuse", units=units.kuPerTick, desc = [=[Kinetic kapangyarihin na paggamit para tick.]=]}}, {[=[Mag-alis ng kinetic max]=], {arg="kuoutput", units=units.kuPerTick, desc = [=[Mag-alis maximum ng 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.]=]}} },       {            {[=[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 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.]=]}} }   },    {        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 --