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 = { cf = [=[CF]=], cfPerTick = [=[CF/t]=], 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]=], t = [=[T]=], tPerTick = [=[T/t]=], stacksPerSec = [=[Mga buton/s]=], su = [=[SU]=], suPerTick = [=[SU/t]=], suPerUse = [=[SU/paggamit]=], watts = [=[W]=], aePerUse = [=[AE/use]=] }

-- 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 o 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 "Flaxbeard's Steam Power 0.28.0"; 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.]=] }}, {[=[Luminance]=], {arg="luminance", desc=[=[The luminance value provided by the block or fluid. Include only the number.]=]} } },       {            {[=[Yung Balik]=], {arg="foodpoints", desc=[=[Ang mga puntos ng pagkain na balik yung pagkain. Magsamuma ito sa tangi pagkain.]=]}}, {[=[Saturation]=], {arg="saturation", desc=[=[The saturation the food regenerates. Add this only to food.]=]}}, ,           {[=[Mga Effect]=], {arg="effects", desc=[=[Listahan ng mga epekto ng pagkain/inumin iyong magbigay. Gamitin ang Effect.]=]}}, {[=[Alcohol]=], {arg="alcohol", desc=[=[GregTech 6 alcohol value.]=]}}, {[=[Caffeine]=], {arg="caffeine", desc=[=[GregTech 6 caffeine value.]=]}}, {[=[Dehydration]=], {arg="dehydration", desc=[=[GregTech 6 dehydration value.]=]}}, {[=[Sugar]=], {arg="sugar", desc=[=[GregTech 6 sugar value.]=]}}, {[=[Fat]=], {arg="fat", desc=[=[GregTech 6 fatvalue.]=]}}, {[=[Cookable]=], {arg="cookable", desc=[=[Kung ang bagay pwede luluto (pagkain).]=]}}, {[=[Mga puntos ng kalusugan]=], {arg="hp", desc=[=[Ang halaga ng puntos ng buhay (hp) na mayroon ang isang entity.]=]}}, {[=[Armor points]=], {arg="ap", desc=[=[The amount of armor points (ap) that the entity has.]=]}} },       {            {[=[Rating ng pansangga]=],{arg="armorrating",type="templateCall",template="Armor",desc=[=[Ang marka ng baluti. Dagdagan lamang ito sa baluti. Isama lamang ang numero, dahil ito ay makakaapekto sa Armor.]=]}}, {[=[Armor toughness]=], {arg="toughness", desc=[=[The toughness rating of the armor. Add this only to armor.]=]}}, {[=[Pinsala]=],{arg="damage",desc=[=[Ang pinsala ng armas (isang puso ay dalawang pinsala, kalahating puso ay isang pinsala). Dagdagan lamang ito sa mga armas.]=]}}, {[=[Speed]=],{arg="aspeed",desc=[=[The weapon's attack speed (added in Minecraft 1.9). Add this only to weapons]=]}}, {[=[Durability]=],{arg="durability",desc=[=[Ang durability ng yung tool o pansangga. Magsumuma ito tangi sa mga tool at pansangga. ]=]}},           {[=[Enchantability]=], {arg="enchantability", desc=[=[The enchantability, or how powerful enchantments will be, for this armor or tool.]=]}}, {[=[Kapantayang mag-mining]=],{arg="mininglevel",desc=[=[Yung kapantayang mag-mining ng piko (kahoy, bato, bakal, etc...).]=]}}, {[=[Mining speed]=],{arg="miningspeed",desc=[=[The pick's mining speed.]=]}} },       {            {[=[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 dî 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.]=]}} },       {            {[=[ ]=],{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 = [=[Halagang DecoCraft]=], {           {[=[Luad]=], {arg="decoclay", desc=[=[Ang halagang luad para ang bagay. Gumamit ng DecoCraft.]=]}}, {[=[Pula]=], {arg="decored", desc=[=[Ang halagang pula para ang bagay. Gumamit ng DecoCraft.]=]}}, {[=[Asul]=], {arg="decoblue", desc=[=[Ang halagang asul para ang bagay. Gumamit ng DecoCraft.]=]}}, {[=[Berde]=], {arg="decogreen", desc=[=[Ang halagang berde para ang bagay. Gumamit ng DecoCraft.]=]}} }   },    {        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", title = [=[Enerhiya]=], {           {[=[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]=]}}, {[=[Producsyong kinetic kapangyarihin]=], {arg="kuproduction", units=units, desc = [=[Producsyong kinetic kapangyarihin sa kU/t.]=]}}, {[=[Kinetic kapangyarihin na ilipat]=], {arg="kutraversing", units=units.kuPerTick, desc = [=[Kinetic kapangyarihin na ilipat maximum sa ng kable.]=]}} },       {            {[=[Storage ng singaw]=], {arg="gtsteamstorage", units=units.litres, desc = [=[Magkano mga litrong singaw na puwede maglaman - para  at nila mga addons. Sumumaklaw tangi ang bilang.]=]}}, {[=[Paggamit ng singaw]=], {arg="gtsteamusage", desc = [=[Magkano mga litrong singaw na paggamit para tick - para at nila mga addons. Sumumaklaw tangi ang bilang.]=]}}, {[=[Producsyong singaw]=], {arg="gtsteamproduction", units=units.litresPerTick, desc = [=[Magkano mga litrong singaw na gawa para tick - para at nila mga addons. Sumumaklaw tangi ang bilang.]=]}}, {[=[Storage ng kapangyarihin]=], {arg="gteustorage", units=units.eu, desc = [=[Magkano ang EU na puwede maglaman - para at nila mga addons. Sumumaklaw tangi ang bilang.]=]}}, {[=[Paggamit ng kapangyarihin]=], {arg="gteuusage", units=units.euPerTick, desc = [=[Magkano ang EU na paggamit para tick - for at nila mga addons. Sumumaklaw tangi ang bilang.]=]}}, {[=[Producsyong kapangyarihin]=], {arg="gteuproduction", units=units.euPerTick, desc = [=[Magkano ang EU na gawa para tick - for at nila mga addons. Sumumaklaw tangi ang bilang.]=]}}, {[=[Mag-ulok ng voltage]=], {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 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]=], {           {[=[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"} 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 --