Module:Infobox/thing/cs

local p = {}

-- Units local units = { cf = [=[CF]=], cfPerTick = [=[CF/t]=], emc = [=[EMC]=], emcPerSec = [=[EMC/sekunda]=], eu = [=[EU]=], euAmps = [=[EU-Ampéry]=], euPerTick = [=[EU/t]=], euPerUse = [=[EU/spotřeba]=], euVolts = [=[EU-Volty]=], 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 = [=[za tick]=], radPerSec = [=[rad/s]=], rf = [=[RF]=], rfPerTick = [=[RF/t]=], t = [=[T]=], tPerTick = [=[T/t]=], stacksPerSec = [=[Stacků/s]=], su = [=[SU]=], suPerTick = [=[SU/t]=], suPerUse = [=[SU/spotřeba]=], watts = [=[W]=], aePerUse = [=[AE/spotřeba]=] }

-- This variable holds the list of item types. local itemTypes = { armor = [=[Brnění]=], block = [=[Pevný blok]=], sblock = [=[Pevný blok]=], oblock = [=[Pevný blok]=], tblock = [=[Transparentní blok]=], component = [=[Komponent]=], crop = [=[Plodina]=], entity = [=[Entita]=], tentity = [=[Tile entita]=], food = [=[Potravina]=], item = [=[Předmět]=], machine = [=[Stroj]=], mob = [=[Stvoření]=], hmob = [=[Nepřátelské stvoření]=], nmob = [=[Neutrální stvoření]=], fmob = [=[Přátelské stvoření]=], seed = [=[Seed]=], tool = [=[Nástroj]=], wand = [=[Hole]=], weap = [=[Zbraň]=], weapon = [=[Zbraň]=], hull = [=[ ]=], module = [=[ ]=], upgrade = [=[ ]=], landmark = [=[Mezník]=], ritual = [=[Rituál]=], liquid = [=[Kapalina]=], fluid = [=[Kapalina]=], ["multiblock structure"] = [=[Multibloková struktura]=], enchant = [=[Očarování]=], mechanic = [=[Mechanický]=], dimension = [=[Dimenze]=], flower = [=[Květina]=], command = [=[Příkaz]=], aspect = [=[Aspekt]=], bauble = [=[Cetka]=], book = [=[Kniha]=], cover = [=[Pokrývka]=], cable = [=[Kabel]=], pipe = [=[Trubka]=] }

p.docLead = [=[Toto je pro položky, bloky atd.]=]

p.format = { {       name = [=[Základní]=], title = {arg="name", desc=[=[Název, který se zobrazí v horní části informačního pole.]=]}, {          ,        },        {               {[=[Mód]=], {arg="mod", desc=[=[Vždy se podívejte na hlavní stránku módu. Prosíme, nepoužívejte čísla verzí jako „Flaxbeard's Steam Power 0.28.0“; místo toho použijte běžný název. (Kvůli jazykovým odkazům)]=]}}, {[=[Typ]=], {arg="type", type="switch", allowedValues=itemTypes, desc=[=[Typ položky]=]}}, {[=[Popis textu]=], {arg="lore", desc=[=[Další informace, které se zobrazují na popisech položky ve hře. Pokud má popis ve hře vlastní barvy, měly by být do tohoto parametru přidány pomocí šablony Color. Obvykle používané barvy najdete na Minecraft Wiki.]=]}}, {[=[Požadované moduly]=], {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 .]=]}}, { [=[Chemické složení]=], {arg="chemcomp", desc=[=[Chemické složení předmětu.]=]}} }   },    {        name="Basic", title=[=[Vlastnosti]=], {           {[=[Ohnivzdornost]=], {arg="blastresistance", desc=[=[Ohnivzdornost bloku. Pojme pouze číslo.]=]} }, {[=[Tvrdost]=], {arg="hardness", desc=[=[Tvrdost bloku.]=]}}, {[=[Jas]=], {arg="luminance", desc=[=[Jas, který vyzařuje blok/kapalina. Pojmepouze číslo.]=]}}, {[=[Čas hoření]=], {arg="burntime", desc=[=[Hodnota doby hoření předmětu. Pojme pouze číslo.]=]}} },       {            {[=[Obnoví]=], {arg="foodpoints", desc=[=[Kolik bodů hladu doplní. Přidávejte pouze k potravinám.]=]}}, {[=[Saturace]=], {arg="saturation", desc=[=[Kolik bodů saturace obnoví. Přidávejte pouze k potravinám.]=]}}, ,           {[=[Účinky]=], {arg="effects", desc=[=[Seznam účinků, které potravina/lektvar způsobí. Používejte Effect.]=]}}, {[=[]=], {arg="alcohol", desc=[=[Hodnota alkoholu (GregTech 6).]=]}}, {[=[]=], {arg="caffeine", desc=[=[Hodnota kofeinu (GregTech 6).]=]}}, {[=[]=], {arg="dehydration", desc=[=[Hodnota dehydratace (GregTech 6).]=]}}, {[=[]=], {arg="sugar", desc=[=[Hodnota cukru (GregTech 6).]=]}}, {[=[]=], {arg="fat", desc=[=[Hodnota tuku (GregTech 6).]=]}}, {[=[Vařitelné]=], {arg="cookable", desc=[=[Zda je potravina vařitelná.]=]}}, {[=[Body zdraví]=], {arg="hp", desc=[=[Hodnota zdraví (v hp), kterou entita má.]=]}}, {[=[Body brnění]=], {arg="ap", desc=[=[Hodnota brnění (v ap), kterou entita má.]=]}} },       {            {[=[Počet bodů brnění]=],{arg="armorrating",type="templateCall",template="Armor",desc=[=[Počet bodů brnění. Přidávejte pouze k brnění. Uveďte pouze číslo, protože bude automaticky propojeno s Armor.]=]}}, {[=[Odolnost brnění]=], {arg="toughness", desc=[=[Odolnost brnění. Přidávejte pouze k brnění.]=]}}, {[=[Poškození]=],{arg="damage",desc=[=[The weapon's damage (one heart is two damage, half a heart is one damage). Add this only to weapons]=]}}, {[=[Rychlost]=],{arg="aspeed",desc=[=[The weapon's attack speed (added in Minecraft 1.9). Add this only to weapons]=]}}, {[=[Trvanlivost]=],{arg="durability",desc=[=[The durability of the tool or armor. Add this only to tools and armor. ]=]}},           {[=[Očarovatelnost]=], {arg="enchantability", desc=[=[The enchantability, or how powerful enchantments will be, for this armor or tool.]=]}}, {[=[Úroveň těžby]=],{arg="mininglevel",desc=[=[The pick's mining level (wood, stone, iron etc...).]=]}}, {[=[Rychlost těžby]=],{arg="miningspeed",desc=[=[The pick's mining speed.]=]}} },       {            {[=[Stackovatelné]=],{arg="stackable", desc = [=[Whether the block/item is stackable.]=]}}, {[=[Hořlavé]=],{arg="flammable", desc = [=[Whether the block/item is flammable (can be set on fire and burned).]=]}} },       {            {[=[Úložný prostor]=],{arg={"storageslots","storage"}, desc = [=[The storage of the item - This parameter does NOT add "cells" or "stacks" after the parameter's text.]=]}}, {[=[Úložný prostor kapalin]=],{arg="lstorage", units=units.mb, desc = [=[The maximum liquid storage of the item in mB. Include only the number.]=]}} },       {            {[=[Žár (C)]=],{arg="heatc", units=units.degc, desc = [=[The maximum heat capacity of the item in C (Celsius). Include only the number.]=]}}, {[=[Žár (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.]=]}}, {[=[ ]=],{arg="tc6aspects", desc = [=[The added by  to this object.]=]}} },   },    {        name="DecoCraft costs", title = [=[DecoCraft costs]=], {           {[=[Jíl]=], {arg="decoclay", desc=[=[The cost of normal clay requiried to create the item. For use with DecoCraft.]=]}}, {[=[Červená]=], {arg="decored", desc=[=[The cost of red color required to create the item. For use with DecoCraft.]=]}}, {[=[Modrá]=], {arg="decoblue", desc=[=[The cost of blue color required to create the item. For use with DecoCraft.]=]}}, {[=[Zelená]=], {arg="decogreen", desc=[=[The cost of green color required to create the item. For use with DecoCraft.]=]}} }   },    {        name="Upgrades", title = [=[Vylepšení]=], {       },        {            {[=[Předchozí úroveň]=],{arg="prevtier", desc = [=[Previous tier of the item, tool or machine.]=]}} },       {            {[=[Nadcházející úroveň]=],{arg="nexttier", desc = [=[Next tier of the item, tool or machine.]=]}} }   },    {        name="Energy", title = [=[Energie]=], {           {[=[Maximální vstup EU]=], {arg="euinput", units=units.euPerTick, desc = [=[Maximum input of EU/t. Include only the number.]=]}}, {[=[Spotřeba EU]=], {arg="euuse", units=units.euPerTick, desc = [=[EU consumption in EU/t. Include only the number.]=]}}, {[=[Spotřeba 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.]=]}}, {[=[Kapacita EU]=], {arg="eustorage", units=units.eu, desc = [=[EU storage in EU. Include only the number.]=]}}, {[=[Maximální EU výstup]=], {arg="euoutput", units=units.euPerTick, desc = [=[Maximum output of EU/t. Include only the number.]=]}}, {[=[Produkce EU]=], {arg="euproduction", units=units.euPerTick, desc = [=[EU production in EU/t. Include only the number.]=]}}, {[=[Přenos EU]=], {arg="eutraversing", units=units.euPerTick, desc = [=[Maximum energy traversing - only for cables. Include only the number.]=]}} },       {            {[=[Tepelný výstup]=], {arg="huinput", units=units.huPerTick, desc = [=[Maximum  heat input per tick.]=]}}, {[=[Spotřeba tepla]=], {arg="huuse", units=units.huPerTick, desc = [=[hU consumption per tick.]=]}}, {[=[Maximální výstup tepla]=], {arg="huoutput", units=units.huPerTick, desc = [=[Maximum output of hU/t.]=]}}, {[=[Produkce tepla]=], {arg="huproduction", units=units.huPerTick, desc = [=[Heat production in hU/t.]=]}}, {[=[Přenos tepla]=], {arg="hutraversing", units=units.huPerTick, desc = [=[Maximum heat energy traversing the cable.]=]}} },       {            {[=[Kinetický vstup]=], {arg="kuinput", units=units.kuPerTick, desc = [=[Maximum  rotation energy per tick.]=]}}, {[=[Použití kinetické energie]=], {arg="kuuse", units=units.kuPerTick, desc = [=[Kinetic energy consumption per tick.]=]}}, {[=[Maximální výstup kinetické energie]=], {arg="kuoutput", units=units.kuPerTick, desc = [=[Maximum output of kU/t]=]}}, {[=[Produkce kinetické energie]=], {arg="kuproduction", units=units, desc = [=[Kinetic energy production in kU/t.]=]}}, {[=[Přenos kinetické energie]=], {arg="kutraversing", units=units.kuPerTick, desc = [=[Maximum kinetic energy traversing the cable.]=]}} },       {            {[=[Úložný prostor páry]=], {arg="gtsteamstorage", units=units.litres, desc = [=[Maximum liters of steam that it can hold - for  and its addons. Include only the number.]=]}}, {[=[Spotřeba páry]=], {arg="gtsteamusage", desc = [=[Liters of steam that is used by it per tick - for and its addons. Include only the number.]=]}}, {[=[Produkce páry]=], {arg="gtsteamproduction", units=units.litresPerTick, desc = [=[How many liters of steam it makes per tick - for and its addons. Include only the number.]=]}}, {[=[Úložný prostor energie]=], {arg="gteustorage", units=units.eu, desc = [=[How much EU it can hold - for and its addons. Include only the number.]=]}}, {[=[Spotřeba energie]=], {arg="gteuusage", units=units.euPerTick, desc = [=[How much EU is used by it per tick - for and its addons. Include only the number.]=]}}, {[=[Produkce energie]=], {arg="gteuproduction", units=units.euPerTick, desc = [=[How much EU is produced by it per tick - for and its addons. Include only the number.]=]}}, {[=[Vstupní napětí]=], {arg="gtvoltagein", units=units.euVolts, desc = [=[Maximum EU voltage that can be put into it - for and its addons. Include only the number.]=]}}, {[=[Výstupní napětí]=], {arg="gtvoltageout", units=units.euVolts, desc = [=[Maximum EU voltage that can be output - for and its addons. Include only the number.]=]}}, {[=[Maximální amperáž]=], {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.]=]}}, {[=[Teplotní limit]=], {arg="gtheatlimit", units=units.k, desc = [=[Maximum heat that it can take in Kelvin - for and its addons. Include only the number.]=]}}, {[=[Kapacita kapalin]=], {arg="gtfluidcapacity", units=units.litresPerSec, desc = [=[Maximum liters that it can hold - for and its addons. Include only the number.]=]}}, {[=[Kapacita předmětů]=], {arg="gtitemcapacity", units=units.stacksPerSec, desc = [=[Maximum stacks of items it can hold - for and its addons. Include only the number.]=]}}, {[=[Směrovací hodnota]=], {arg="gtrouting", desc = [=[Routing value - for and its addons.]=]}}, {[=[Účinnost paliva]=], {arg="gtefficiency", desc = [=[Fuel efficiency - for and its addons.]=]}} },       {            {[=[Úložiště nabíjení]=], {arg="rccharge", desc = [=[ energy storage. Include only the number.]=]}}, {[=[Energetické ztráty]=], {arg="rcloss", units=units.perTick, desc = [=[How much energy is lost per tick - for and its addons. Include only the number.]=]}} },       {            {[=[Požadovaný výkon]=], {arg="rocpower", units=units.watts, desc = [=[Required amount of power - for  and its addons. Include only the number.]=]}}, {[=[Požadovaný točivý moment]=], {arg="roctorque", units=units.nm, desc = [=[Required torque - for and its addons. Include only the number.]=]}}, {[=[Požadovaná rychlost]=], {arg="rocspeed", units=units.radPerSec, desc = [=[Required speed - for and its addons. Include only the number.]=]}} },       {            {[=[Maximální MJ vstup]=], {arg="mjinput", units=units.mjPerTick, desc = [=[Maximum input of MJ/t. Include only the number.]=]}}, {[=[Spotřeba MJ]=], {arg="mjuse", units=units.mjPerTick, desc = [=[MJ consumption in MJ/t. Include only the number.]=]}}, {[=[Kapacita MJ]=], {arg="mjstorage", units=units.mj, desc = [=[MJ storage in MJ. Include only the number.]=]}}, {[=[Maximální MJ výstup]=], {arg="mjoutput", units=units.mjPerTick, desc = [=[Maximum output of MJ/t. Include only the number.]=]}}, {[=[Produkce MJ]=], {arg="mjproduction", units=units.mjPerTick, desc = [=[MJ production in MJ/t. Include only the number.]=]}}, {[=[Přenos MJ]=], {arg="mjtraversing", units=units.mjPerTick, desc = [=[Maximum energy traversing - only for pipes. Include only the number.]=]}} },       {            {[=[Maximální CF vstup]=], {arg="cfinput", units=units.cfPerTick, desc = [=[Maximum input of CF/t. Include only the number.]=]}}, {[=[Spotřeba CF]=], {arg="cfuse", units=units.cfPerTick, desc = [=[CF consumption in CF/t. Include only the number.]=]}}, {[=[Kapacita CF]=], {arg="cfstorage", units=units.cf, desc = [=[CF storage in CF. Include only the number.]=]}}, {[=[Maximální CF výstup]=], {arg="cfoutput", units=units.cfPerTick, desc = [=[Maximum output of CF/t. Include only the number.]=]}}, {[=[Produkce CF]=], {arg="cfproduction", units=units.cfPerTick, desc = [=[CF production in RF/t. Include only the number.]=]}}, {[=[Přenos CF]=], {arg="cftraversing", units=units.cfPerTick, desc = [=[Maximum energy traversing in CF/t - only for conduits. Include only the number.]=]}} },       {            {[=[Maximální RF vstup]=], {arg="rfinput", units=units.rfPerTick, desc = [=[Maximum input of RF/t. Include only the number.]=]}}, {[=[Spotřeba RF]=], {arg="rfuse", units=units.rfPerTick, desc = [=[RF consumption in RF/t. Include only the number.]=]}}, {[=[Kapacita RF]=], {arg="rfstorage", units=units.rf, desc = [=[RF storage in RF. Include only the number.]=]}}, {[=[Maximální RF výstup]=], {arg="rfoutput", units=units.rfPerTick, desc = [=[Maximum output of RF/t. Include only the number.]=]}}, {[=[Produkce RF]=], {arg="rfproduction", units=units.rfPerTick, desc = [=[RF production in RF/t. Include only the number.]=]}}, {[=[Ztráty RF]=], {arg="rfloss", units=units.rfPerTick, desc = [=[RF loss in RF/t. Include only the number.]=]}}, {[=[Přenos RF]=], {arg="rftraversing", units=units.rfPerTick, desc = [=[Maximum energy traversing in RF/t - only for conduits. Include only the number.]=]}} },       {            {[=[Maximální vstup Tesla]=], {arg="tinput", units=units.tPerTick, desc = [=[Maximum input of T/t. Include only the number.]=]}}, {[=[Spotřeba Tesla]=], {arg="tuse", units=units.tPerTick, desc = [=[Tesla consumption in T/t. Include only the number.]=]}}, {[=[Kapacita Tesla]=], {arg="tstorage", units=units.t, desc = [=[Tesla storage. Include only the number.]=]}}, {[=[Maximální výstup Tesla]=], {arg="toutput", units=units.tPerTick, desc = [=[Maximum output of T/t. Include only the number.]=]}}, {[=[Produkce Tesla]=], {arg="tproduction", units=units.tPerTick, desc = [=[Tesla production in T/t. Include only the number.]=]}}, {[=[Přenos Tesla]=], {arg="ttraversing", units=units.tPerTick, desc = [=[Maximum energy traversing in T/t - only for conduits/wires/whatnot. Include only the number.]=]}} },       {            {[=[Defaultní spotřeba páry]=], {arg="fspsuuse", units=units.suPerUse, desc = [=[Steam unit consumption in SU/use. Include only the number.]=]}}, {[=[Defaultní spotřeba páry]=], {arg="fspsutick", units=units.suPerTick, desc = [=[Steam unit consumption in SU/tick. Include only the number.]=]}}, {[=[Defaultní kapacita páry]=], {arg="fspsteamstorage", units=units.su, desc = [=[Steam storage in SU. Include only the number.]=]}} },       {            {[=[Hodnota EMC]=], {arg="emc", units=units.emc, desc = [=[EMC value of the item. Include only the number.]=]}}, {[=[Kapacita 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.]=]}}, {[=[Výroba EMC]=], {arg="emcproduction", units=units.emcPerSec, desc = [=[How much EMC the item or block will create per second. Include only the number.]=]}} },       {            {[=[Náklady Arcane Energy]=], {arg="aeuse", units=units.aePerUse, desc=[=[Arcane Energy cost per use. Include only the number.]=]}}, }   },    {        name="Technical", title = [=[Technické podrobnosti]=], {           {[=[Výrobní název]=], {arg="registryname", desc = [=[This thing's registry name. This is not necessarily identical to its unlocalized name.]=]}}, {[=[Nelokalizovaný název]=], {arg="unlocalizedname", desc = [=[This thing's unlocalized name. This is not necessarily identical to its registry name.]=]}}, {[=[Slovníkový název rudy]=], {arg="oredictname", desc = [=[The oredictionary name for this item.]=]}} },       {            {[=[Přidání]=], {arg="firstappearance", desc = [=[The version string that the item first appeared in.]=]}}, {[=[Odebrání]=], {arg="lastappearance", desc = [=[The version string that the item last appeared in.]=]}} },       {            {[=[Zkušenost]=], {arg="exp", desc = [=[Exp you gain from mining or smelting it.]=]}}, {[=[Rychlost průtoku]=], {arg="flowspeed", units=units.metersPerSec, desc = [=[The flow speed of liquids in m/s.]=]}} },       {            {[=[Rychlost hráče]=], {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