Module:Infobox/thing/ja

local p = {}

-- Units local units = { cf = [=[CF]=], cfPerTick = [=[CF/t]=], emc = [=[EMC]=], emcPerSec = [=[EMC/秒]=], eu = [=[EU]=], euAmps = [=[EU-Amps]=], euPerTick = [=[EU/t]=], euPerUse = [=[EU/使用]=], euVolts = [=[EU-ボルト]=], 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 = [=[毎tick]=], radPerSec = [=[rad/s]=], rf = [=[RF]=], rfPerTick = [=[RF/t]=], t = [=[T]=], tPerTick = [=[T/t]=], stacksPerSec = [=[スタック/s]=], su = [=[SU]=], suPerTick = [=[SU/t]=], suPerUse = [=[SU/使用]=], watts = [=[W]=], 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 = [=[Mechanic]=], dimension = [=[ディメンジョン]=], flower = [=[花]=], command = [=[コマンド]=], aspect = [=[アスペクト]=], bauble = [=[Bauble]=], book = [=[本]=], cover = [=[カバー]=], cable = [=[ケーブル]=], pipe = [=[パイプ]=] }

p.docLead = [=[これは、アイテム、ブロックなどのためのものです. ]=]

p.format = { {       name = [=[基本]=], title = {arg="name", desc=[=[情報欄の上部に表示されるタイトルです. ]=]},       {           ,        },        {               {[=[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)]=]}}, {[=[タイプ]=], {arg="type", type="switch", allowedValues=itemTypes, desc=[=[The item type.]=]}}, {[=[Tooltip text]=], {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.]=]}}, {[=[Required modules]=], {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 .]=]}}, { [=[Chemical composition]=], {arg="chemcomp", desc=[=[Chemical composition of the item.]=]}} }   },    {        name="Basic", title=[=[プロパティ]=], {           {[=[爆発耐性]=], {arg="blastresistance", desc=[=[The blast resistance of the block. Include only the number.]=]} }, {[=[Hardness]=], {arg="hardness", desc=[=[The hardness of a block.]=]}}, {[=[Luminance]=], {arg="luminance", desc=[=[The luminance value provided by the block or fluid. Include only the number.]=]}} },       {            {[=[Restores]=], {arg="foodpoints", desc=[=[The food points a food regenerates. Add this only to food.]=]}}, {[=[Saturation]=], {arg="saturation", desc=[=[The saturation the food regenerates. Add this only to food.]=]}}, ,           {[=[エフェクト]=], {arg="effects", desc=[=[List of effects the food/potion buffs you with. Use 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=[=[Whether the item is cookable (food).]=]}}, {[=[Health points]=], {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.]=]}} },       {            {[=[Armor rating]=],{arg="armorrating",type="templateCall",template="Armor",desc=[=[The armor rating of the armor. Add this only to armor. Include only the number, as it will interface automatically with Armor.]=]}}, {[=[Armor toughness]=], {arg="toughness", desc=[=[The toughness rating of the armor. Add this only to armor.]=]}}, {[=[Damage]=],{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]=]}}, {[=[Durability]=],{arg="durability",desc=[=[The durability of the tool or armor. Add this only to tools and armor. ]=]}},           {[=[Enchantability]=], {arg="enchantability", desc=[=[The enchantability, or how powerful enchantments will be, for this armor or tool.]=]}}, {[=[Mining level]=],{arg="mininglevel",desc=[=[The pick's mining level (wood, stone, iron etc...).]=]}}, {[=[採掘速度]=],{arg="miningspeed",desc=[=[The pick's mining speed.]=]}} },       {            {[=[スタック可能]=],{arg="stackable", desc = [=[Whether the block/item is stackable.]=]}}, {[=[可燃性]=],{arg="flammable", desc = [=[Whether the block/item is flammable (can be set on fire and burned).]=]}} },       {            {[=[容量]=],{arg={"storageslots","storage"}, desc = [=[The storage of the item - This parameter does NOT add "cells" or "stacks" after the parameter's text.]=]}}, {[=[液体容量]=],{arg="lstorage", units=units.mb, desc = [=[The maximum liquid storage of the item in mB. Include only the number.]=]}} },       {            {[=[Heat (C)]=],{arg="heatc", units=units.degc, desc = [=[The maximum heat capacity of the item in C (Celsius). Include only the number.]=]}}, {[=[Heat (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]=], {           {[=[粘土]=], {arg="decoclay", desc=[=[The cost of normal clay requiried to create the item. For use with DecoCraft.]=]}}, {[=[赤]=], {arg="decored", desc=[=[The cost of red color required to create the item. For use with DecoCraft.]=]}}, {[=[青]=], {arg="decoblue", desc=[=[The cost of blue color required to create the item. For use with DecoCraft.]=]}}, {[=[緑]=], {arg="decogreen", desc=[=[The cost of green color required to create the item. For use with DecoCraft.]=]}} }   },    {        name="Upgrades", title = [=[アップグレード]=], {       },        {            {[=[Previous tier]=],{arg="prevtier", desc = [=[Previous tier of the item, tool or machine.]=]}} },       {            {[=[Next tier]=],{arg="nexttier", desc = [=[Next tier of the item, tool or machine.]=]}} }   },    {        name="Energy", title = [=[エネルギー]=], {           {[=[最大EU入力]=], {arg="euinput", units=units.euPerTick, desc = [=[Maximum input of EU/t. Include only the number.]=]}}, {[=[EU use]=], {arg="euuse", units=units.euPerTick, desc = [=[EU consumption in EU/t. Include only the number.]=]}}, {[=[EU use]=], {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.]=]}}, {[=[EU容量]=], {arg="eustorage", units=units.eu, desc = [=[EUストレージ内のEU. 数字のみ. ]=]}},           {[=[最大EU出力]=], {arg="euoutput", units=units.euPerTick, desc = [=[最大出力EU/t. 数字のみ. ]=]}},           {[=[EU生成]=], {arg="euproduction", units=units.euPerTick, desc = [=[生成EU/t. 数字のみ. ]=]}},           {[=[EU通過量]=], {arg="eutraversing", units=units.euPerTick, desc = [=[最大のEUを通す量 - ケーブル用. 数字のみ. ]=]}}       },        {            {[=[熱入力]=], {arg="huinput", units=units.huPerTick, desc = [=[毎チックの最大熱入力. ]=]}},           {[=[熱使用]=], {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.]=]}}, {[=[熱通過量]=], {arg="hutraversing", units=units.huPerTick, desc = [=[ケーブルを通す最大熱エネルギー. ]=]}}       },        {            {[=[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.]=]}}, {[=[Steam usage]=], {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.]=]}}, {[=[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 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容量]=], {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容量]=], {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生成]=], {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