Module:Infobox/thing

From Feed The Beast Wiki
Jump to: navigation, search
This page is a translated version of the page Module:Infobox/thing and the translation is 98% complete.

Outdated translations are marked like this.

Documentation for this module may be created at Module:Infobox/thing/zh-cn/doc

local p = {}

-- Units
local units = {
    cf = [=[CF]=],
    cfPerTick = [=[CF/刻]=],
    emc = [=[EMC]=],
    emcPerSec = [=[EMC/秒]=],
    eu = [=[EU]=],
    euAmps = [=[EU-安培(A)]=],
    euPerTick = [=[EU/刻]=],
    euPerUse = [=[EU/次]=],
    euVolts = [=[EU-伏特(V)]=],
    huPerTick = [=[hU/刻]=],
    k = [=[开]=],
    kuPerTick = [=[kU/刻]=],
    litres = [=[升]=],
    litresPerSec = [=[升/秒]=],
    litresPerTick = [=[升/刻]=],
    mb = [=[mB]=],
    mj = [=[MJ]=],
    mjPerTick = [=[MJ/刻]=],
    metersPerSec = [=[米/秒]=],
    nm = [=[牛米]=],
    degc = [=[摄氏度]=],
    degf = [=[华氏度]=],
    perTick = [=[每游戏刻]=],
    radPerSec = [=[弧度/秒]=],
    rf = [=[RF]=],
    rfPerTick = [=[RF/刻]=],
    t = [=[T]=],
    tPerTick = [=[T/刻]=],
    stacksPerSec = [=[组/秒]=],
    su = [=[SU]=],
    suPerTick = [=[SU/刻]=],
    suPerUse = [=[SU/次]=],
    watts = [=[瓦]=],
    aePerUse = [=[AE/次]=]
}

-- This variable holds the list of item types.
local itemTypes = {
    armor = [=[护甲]=],
    block = [=[固体方块]=],
    sblock = [=[固体方块]=],
    oblock = [=[不透明方块]=],
    tblock = [=[透明方块]=],
    component = [=[组件]=],
    crop = [=[作物]=],
    entity = [=[实体]=],
    tentity = [=[实体附加值(TileEntity)]=],
    food = [=[食物]=],
    item = [=[物品]=],
    machine = [=[机器]=],
    mob = [=[生物]=],
    hmob = [=[敌对怪物]=],
    nmob = [=[中立生物]=],
    fmob = [=[友好生物]=],
    seed = [=[种子]=],
    tool = [=[工具]=],
    wand = [=[法杖]=],
    weap = [=[武器]=],
    weapon = [=[武器]=],
    hull = [=[{{L|Steve's Carts|史蒂夫矿车}}{{L|Hull|机箱}}]=],
    module = [=[{{L|Steve's Carts|史蒂夫矿车}}{{L|Module (Steve's Carts)|模块}}]=],
    upgrade = [=[{{L|Steve's Carts|史蒂夫矿车}}{{L|Upgrades (Steve's Carts)|升级}}]=],
    landmark = [=[地标]=],
    ritual = [=[仪式]=],
    liquid = [=[流体]=],
    fluid = [=[流体]=],
    ["multiblock structure"] = [=[多方块结构]=],
    enchant = [=[附魔]=],
    mechanic = [=[机械]=],
    dimension = [=[维度]=],
    flower = [=[花]=],
    command = [=[指令]=],
    aspect = [=[要素]=],
    bauble = [=[首饰]=],
    book = [=[书]=],
    cover = [=[覆盖板]=],
    cable = [=[线缆]=],
    pipe = [=[管道]=]
}

p.docLead = [=[该属性用于物品、方块及类似对象。]=]

p.format = {
    {
        name = [=[基础]=],
        title = {arg="name", desc=[=[标题会显示于信息盒之顶部。]=]},
        {
            {{arg={"blockimage","image"}, type="image", desc=[=[大图。]=]}},
            
            {{arg={"iconimage","imageicon"}, desc=[=[图标。使用{{Tl|Gc}}或{{Tl|O}}模板。]=]}}
        },
        {   
            {[=[模组]=], {arg="mod", desc=[=[该物品所属模组。永远引用至该模组对应的主页面。请''不要''使用版本号(例:<strike>''Flaxbeard's Steam Power 0.28.0''</strike>,只写明模组名即可。'''(会自动检测语言并重定向至对应语言的页面。)]=]}},
            
            {[=[类型]=], {arg="type", type="switch", allowedValues=itemTypes, desc=[=[物品类型。]=]}},
            
            {[=[工具提示]=], {arg="lore", desc=[=[实际游戏时,于工具提示中显示的额外信息。若实际显示效果中带有颜色,应使用{{Tl|Color}}模板。常用颜色代码可在此找到:[[mcw:Formatting codes#Color codes|Minecraft Wiki]].]=]}},
            
            {[=[需求模块]=], {arg="module", desc=[=[启用该物品所必需安装(或启用)的模块。带有模块概念的模组包括但不限于{{L|RedPower 2|红石力量2}}、{{L|Project Red|红石工程}}和{{L|Railcraft|铁路}}。]=]}},
            
            { [=[化学组成]=], {arg="chemcomp", desc=[=[该物质的化学组成。]=]}}
        }
    },
    {
        name="Basic",
        title=[=[属性]=],
        {
            {[=[爆炸抗性]=], {arg="blastresistance", desc=[=[该方块的爆炸抗性。'''仅'''包含具体数值。]=]} },
            
            {[=[硬度]=], {arg="hardness", desc=[=[方块的硬度。]=]}},
            {[=[亮度]=], {arg="luminance", desc=[=[方块或流体本身具有的亮度。'''仅'''包括数字。]=]}},
            {[=[Burn time]=], {arg="burntime", desc=[=[The burn time value provided by the item. Include '''only''' the number.]=]}}
        },
        {
            {[=[饥饿值恢复]=], {arg="foodpoints", desc=[=[该食物可恢复的饥饿值。''仅''用于食物类物品。]=]}},
            {[=[食物饱和度]=], {arg="saturation", desc=[=[食物所能回复的饱和度数值。'''仅'''为食物添加。]=]}},
            {{arg="hunger", desc=[=[食物可恢复的食物水平和饱和度。务必使用{{Tl|Shanks}}。'''仅'''用于食物。]=], prefix=[=['''恢复饥饿点数'''<br style="margin-bottom: 8px;" />]=]}},
            {[=[效果]=], {arg="effects", desc=[=[该食物/药水的附加效果一览。请使用{{Tl|Effect}}模板。]=]}},
            {[=[{{L|Food stats#Alcohol|酒精}}]=], {arg="alcohol", desc=[=[格雷科技6酒精值。]=]}},
            {[=[{{L|Food stats#Caffeine|咖啡因}}]=], {arg="caffeine", desc=[=[格雷科技6咖啡因值。]=]}},
            {[=[{{L|Food stats#Dehydration|脱水}}]=], {arg="dehydration", desc=[=[格雷科技6脱水值。]=]}},
            {[=[{{L|Food stats#Sugar|糖}}]=], {arg="sugar", desc=[=[格雷科技6糖分值。]=]}},
            {[=[{{L|Food stats#Fat|脂肪}}]=], {arg="fat", desc=[=[格雷科技6脂肪值。]=]}},
            {[=[可烹饪]=], {arg="cookable", desc=[=[该物品(食物)是否可烹饪。]=]}},
            {[=[生命值]=], {arg="hp", desc=[=[该实体所拥有的生命值(HP)。]=]}},
            {[=[盔甲]=], {arg="ap", desc=[=[该实体所拥有的防御点数。]=]}}
        },
        {
            {[=[盔甲评级]=],{arg="armorrating",type="templateCall",template="Armor",desc=[=[该盔甲等级。''仅''用于盔甲。仅包含数字;其显示效果将由 {{Tl|Armor}} 处理。]=]}},
            {[=[盔甲防御力]=], {arg="toughness", desc=[=[盔甲的防御力评级。'''仅'''用于盔甲。]=]}},
            {[=[伤害]=],{arg="damage",desc=[=[该武器的伤害(1颗心为2伤害,半颗心为1伤害)。'''仅'''用于武器。]=]}},
            {[=[速度]=],{arg="aspeed",desc=[=[武器攻击速度(于Minecraft 1.9中首次出现)。'''仅用于武器。''']=]}},
            {[=[耐久]=],{arg="durability",desc=[=[该工具或护甲之耐久。''仅''用于工具或护甲。 ]=]}},
            {[=[附魔品质]=], {arg="enchantability", desc=[=[在附魔该工具或护甲时,最高可获得的附魔的品质。]=]}},
            {[=[采掘等级]=],{arg="mininglevel",desc=[=[镐的采掘等级(木、石、铁、等等...)。]=]}},
            {[=[挖掘速度]=],{arg="miningspeed",desc=[=[镐子的挖掘速度。]=]}}
        },
        {
            {[=[可堆叠?]=],{arg="stackable", desc = [=[该方块/物品是否可以堆叠。]=]}},
            {[=[是否可燃]=],{arg="flammable", desc = [=[该方块/物品是否可燃(是否可引发火焰并燃烧)。]=]}}
        },
        {
            {[=[存储空间]=],{arg={"storageslots","storage"}, desc = [=[该物品的存储形态-该参数不附加于''cells''和''stacks''之后。]=]}},
            {[=[流体存储空间]=],{arg="lstorage", units=units.mb, desc = [=[该物品可存储液体体积的最大值,以mB为单位。仅包括数值。]=]}}
        },
        {
            {[=[热度(摄氏度)]=],{arg="heatc", units=units.degc, desc = [=[该物品的最大热容,以摄氏度(˚C)为单位。仅包括数值。]=]}},
            {[=[热度(华氏度)]=],{arg="heatf", units=units.degf, desc = [=[该物品的最大热容,以华氏度(˚F)为单位。仅包括数值。]=]}}
        },
        {
            {[=[{{L|Thaumcraft 3|神秘时代3}}{{L|Aspects (Thaumcraft 3)|要素}}]=],{arg="tc3aspects", desc = [=[目标身上所含有的{{L|Thaumcraft 3|神秘时代3}}的{{L|Aspects (Thaumcraft 3)|要素}}。]=]}},
            {[=[{{L|Thaumcraft 4|神秘时代4}}{{L|Aspects (Thaumcraft 4)|要素}}]=],{arg="tc4aspects", desc = [=[目标身上所含有的{{L|Thaumcraft 4|神秘时代4}}的{{L|Aspects (Thaumcraft 4)|要素}}。]=]}},
            {[=[{{L|Thaumcraft 5|神秘时代5}}{{L|Aspects (Thaumcraft 5)|要素}}]=],{arg="tc5aspects", desc = [=[目标身上所含有的{{L|Thaumcraft 5|神秘时代5}}的{{L|Aspects (Thaumcraft 5)|要素}}。]=]}},
            {[=[{{L|Thaumcraft 6|TC6}} {{L|Aspects (Thaumcraft 6)|Aspects}}]=],{arg="tc6aspects", desc = [=[The {{L|Aspects (Thaumcraft 6)|Aspects}} added by {{L|Thaumcraft 6}} to this object.]=]}}
        },
    },
    {
        name="DecoCraft costs",
        title = [=[DecoCraft消耗]=],
        {
            {[=[粘土]=], {arg="decoclay", desc=[=[制作该物品时的普通粘土消耗。仅用于DecoCraft。]=]}},
            {[=[红]=], {arg="decored", desc=[=[制造该物品所需红颜料数量,仅用于DecoCraft。]=]}},
            {[=[蓝]=], {arg="decoblue", desc=[=[制造该物品所需蓝颜料数量,仅用于DecoCraft。]=]}},
            {[=[绿]=], {arg="decogreen", desc=[=[制造该物品所需绿颜料数量,仅用于DecoCraft。]=]}}
        }
    },
    {
        name="Upgrades",
        title = [=[升级]=],
        {
            {{arg="upgrades", desc = [=[可以附加或安装于机器之上的的升级组件。]=]}}
        },
        {
            {[=[上一等级]=],{arg="prevtier", desc = [=[该物品/工具/机械的上一等级。]=]}}
        },
        {
            {[=[下一等级]=],{arg="nexttier", desc = [=[该物品/工具/机械的下一等级。]=]}}
        }
    },
    {
        name="Energy",
        title = [=[能量]=],
        {
            {[=[最大EU输入]=], {arg="euinput", units=units.euPerTick, desc = [=[最大EU/t输入。仅包含数值。]=]}},
            {[=[EU用量]=], {arg="euuse", units=units.euPerTick, desc = [=[EU消耗,以EU/t为单位。仅包含数值。]=]}},
            {[=[单次EU用量]=], {arg="euusetool", units="EU/use", desc = [=[每次使用时的EU消耗(仅用于以EU为能源的工具),以EU为单位。仅包含数值。]=]}},
            {[=[EU储存]=], {arg="eustorage", units=units.eu, desc = [=[EU存储空间大小,以EU为单位。仅包含数值。]=]}},
            {[=[最大EU输出]=], {arg="euoutput", units=units.euPerTick, desc = [=[最大EU输出,以EU/t为单位。仅包含数值。]=]}},
            {[=[EU产出]=], {arg="euproduction", units=units.euPerTick, desc = [=[EU产出,以EU/t为单位。仅包含数值。]=]}},
            {[=[EU能量流]=], {arg="eutraversing", units=units.euPerTick, desc = [=[最大通过能量,仅适用于电线。仅包含数值。]=]}}
        },
        {
            {[=[热量输入]=], {arg="huinput", units=units.huPerTick, desc = [=[{{L|IndustrialCraft 2|工业2}}每t最大热量输出。]=]}},
            {[=[热量使用]=], {arg="huuse", units=units.huPerTick, desc = [=[每tick的hU消耗。]=]}},
            {[=[最大热量输出]=], {arg="huoutput", units=units.huPerTick, desc = [=[最大热能输出,以hU/t为单位。]=]}},
            {[=[热量产出]=], {arg="huproduction", units=units.huPerTick, desc = [=[热能产出数量,以hU/t为单位。]=]}},
            {[=[热量传输]=], {arg="hutraversing", units=units.huPerTick, desc = [=[该线缆可允许的热能通过量之最大值。]=]}}
        },
        {
            {[=[动能输入]=], {arg="kuinput", units=units.kuPerTick, desc = [=[每刻(可输入的)最大{{L|IndustrialCraft 2|工业2}}旋转能。]=]}},
            {[=[动能消耗]=], {arg="kuuse", units=units.kuPerTick, desc = [=[每刻的动能消耗。]=]}},
            {[=[最大动能输出]=], {arg="kuoutput", units=units.kuPerTick, desc = [=[最大动能输出,以kU/t为单位。]=]}},
            {[=[动能产出]=], {arg="kuproduction", units=units, desc = [=[动能产出量,以kU/t为单位。]=]}},
            {[=[动能传输]=], {arg="kutraversing", units=units.kuPerTick, desc = [=[该线缆可允许的动能通过量之最大值。]=]}}
        },
        {
            {[=[蒸汽储存]=], {arg="gtsteamstorage", units=units.litres, desc = [=[最大蒸汽储存数量,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[蒸汽消耗]=], {arg="gtsteamusage", desc = [=[蒸汽消耗量,以升为单位,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[蒸汽产出]=], {arg="gtsteamproduction", units=units.litresPerTick, desc = [=[每tick蒸汽产出,以升为单位,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[能量储存]=], {arg="gteustorage", units=units.eu, desc = [=[可存储EU数量,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[能量消耗]=], {arg="gteuusage", units=units.euPerTick, desc = [=[每tick的EU消耗量,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[能量产出]=], {arg="gteuproduction", units=units.euPerTick, desc = [=[每tick的EU产出量,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[输入电压]=], {arg="gtvoltagein", units=units.euVolts, desc = [=[最高EU电压输入,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[输出电压]=], {arg="gtvoltageout", units=units.euVolts, desc = [=[最高EU输出电压,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[最大电流]=], {arg="gtamperage", units=units.euAmps, desc = [=[最高耐受EU电流大小,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[损耗/米/安培]=], {arg="gtloss", units=units.euVolts, desc = [=[每米每安培的电力损耗,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[温度上限]=], {arg="gtheatlimit", units=units.k, desc = [=[最高耐受温度,以开尔文为单位,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[流体容积]=], {arg="gtfluidcapacity", units=units.litresPerSec, desc = [=[最多可存储液体数量,以升为单位,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[物品容积]=], {arg="gtitemcapacity", units=units.stacksPerSec, desc = [=[最多可存储物品数量,以组为单位,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[Routing value]=], {arg="gtrouting", desc = [=[Routing value,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}},
            {[=[燃料效率]=], {arg="gtefficiency", desc = [=[燃料燃烧时效率,仅限{{L|GregTech|格雷科技}}及其拓展。仅包括数值。]=]}}
        },
        {
            {[=[电力存储]=], {arg="rccharge", desc = [=[{{L|Railcraft|铁路}}的电力存储,仅包括数值。]=]}},
            {[=[能量损耗]=], {arg="rcloss", units=units.perTick, desc = [=[每tick能量损耗,仅限{{L|Railcraft|铁路}}及其拓展。仅包括数值。]=]}}
        },
        {
            {[=[需求能量]=], {arg="rocpower", units=units.watts, desc = [=[能量需求数量,仅限{{L|RotaryCraft|旋转工艺}}及其拓展。仅包括数值。]=]}},
            {[=[需求扭矩]=], {arg="roctorque", units=units.nm, desc = [=[扭矩需求量,仅限{{L|RotaryCraft|旋转工艺}}及其拓展。仅包括数值。]=]}},
            {[=[速度需求]=], {arg="rocspeed", units=units.radPerSec, desc = [=[速度(角速度)需求量,仅限{{L|RotaryCraft|旋转工艺}}及其拓展。仅包括数值。]=]}}
        },
        {
            {[=[最大MJ输入]=], {arg="mjinput", units=units.mjPerTick, desc = [=[最大MJ输入数量,以MJ/t为单位,仅包括数值。]=]}},
            {[=[MJ消耗]=], {arg="mjuse", units=units.mjPerTick, desc = [=[MJ消耗量,以MJ/t为单位,仅包括数值。]=]}},
            {[=[MJ储存]=], {arg="mjstorage", units=units.mj, desc = [=[MJ储存量,以MJ为单位,仅包括数值。]=]}},
            {[=[最大MJ输出]=], {arg="mjoutput", units=units.mjPerTick, desc = [=[最大MJ输出数量,以MJ/t为单位,仅包括数值。]=]}},
            {[=[MJ产出]=], {arg="mjproduction", units=units.mjPerTick, desc = [=[MJ产出数量,以MJ/t为单位,仅包括数值。]=]}},
            {[=[MJ传输]=], {arg="mjtraversing", units=units.mjPerTick, desc = [=[最大MJ传输数量,以MJ/t为单位,仅针对管道,仅包括数值。]=]}}
        },
        {
            {[=[最大CF输入]=], {arg="cfinput", units=units.cfPerTick, desc = [=[最大CF输入数量,以CF/t为单位,仅包括数值。]=]}},
            {[=[CF消耗]=], {arg="cfuse", units=units.cfPerTick, desc = [=[CF消耗量,以CF/t为单位,仅包括数值。]=]}},
            {[=[CF储存]=], {arg="cfstorage", units=units.cf, desc = [=[CF储存量,以CF为单位,仅包括数值。]=]}},
            {[=[最大CF输出]=], {arg="cfoutput", units=units.cfPerTick, desc = [=[最大CF输出数量,以CF/t为单位,仅包括数值。]=]}},
            {[=[CF产出]=], {arg="cfproduction", units=units.cfPerTick, desc = [=[CF产出数量,以CF/t为单位,仅包括数值。]=]}},
            {[=[CF传输]=], {arg="cftraversing", units=units.cfPerTick, desc = [=[最大CF传输数量,以CF/t为单位,仅针对导管,仅包括数值。]=]}}
        },
        {
            {[=[最大RF输入]=], {arg="rfinput", units=units.rfPerTick, desc = [=[最大RF输入数量,以RF/t为单位,仅包括数值。]=]}},
            {[=[RF消耗]=], {arg="rfuse", units=units.rfPerTick, desc = [=[RF消耗量,以RF/t为单位,仅包括数值。]=]}},
            {[=[RF储存]=], {arg="rfstorage", units=units.rf, desc = [=[RF存储数量,以RF为单位,仅包括数值。]=]}},
            {[=[最大RF输出]=], {arg="rfoutput", units=units.rfPerTick, desc = [=[最大RF输出数量,以RF/t为单位,仅包括数值。]=]}},
            {[=[RF产出]=], {arg="rfproduction", units=units.rfPerTick, desc = [=[RF产出量,以RF/t为单位,仅包括数值。]=]}},
            {[=[RF loss]=], {arg="rfloss", units=units.rfPerTick, desc = [=[RF loss in RF/t. Include only the number.]=]}},
            {[=[RF传输]=], {arg="rftraversing", units=units.rfPerTick, desc = [=[最大RF传输数量,以RF/t为单位,仅针对导管,仅包括数值。]=]}}
        },
        {
            {[=[最大Tesla输入]=], {arg="tinput", units=units.tPerTick, desc = [=[最大Tesla输入数量,以T/t为单位,仅包括数值。]=]}},
            {[=[Tesla消耗]=], {arg="tuse", units=units.tPerTick, desc = [=[Tesla消耗量,以T/t为单位,仅包括数值。]=]}},
            {[=[Tesla储存]=], {arg="tstorage", units=units.t, desc = [=[Tesla存储数量,以Tesla为单位,仅包括数值。]=]}},
            {[=[最大Tesla输出]=], {arg="toutput", units=units.tPerTick, desc = [=[最大Tesla输出数量,以T/t为单位,仅包括数值。]=]}},
            {[=[Tesla产出]=], {arg="tproduction", units=units.tPerTick, desc = [=[Tesla产出量,以T/t为单位,仅包括数值。]=]}},
            {[=[Tesla传输]=], {arg="ttraversing", units=units.tPerTick, desc = [=[最大Tesla传输数量,以T/t为单位,仅针对导管、线缆等,仅包括数值。]=]}}
        },
        {
            {[=[默认蒸汽消耗]=], {arg="fspsuuse", units=units.suPerUse, desc = [=[蒸汽消耗数量,以SU/次为单位,仅包括数值。]=]}},
            {[=[默认蒸汽消耗]=], {arg="fspsutick", units=units.suPerTick, desc = [=[蒸汽消耗数量,以SU/tick为单位,仅包括数值。]=]}},
            {[=[默认蒸汽存储]=], {arg="fspsteamstorage", units=units.su, desc = [=[蒸汽存储数量,以SU为单位,仅包括数值。]=]}}
        },
        {
            {[=[EMC值]=], {arg="emc", units=units.emc, desc = [=[该物品的EMC值,仅包括数字。]=]}},
            {[=[EMC储存]=], {arg="emcstorage", units=units.emc, desc = [=[该物品可存储EMC数量,仅包含数字。该属性与等价交换的Klein Stars关系密切。]=]}},
            {[=[EMC产出]=], {arg="emcproduction", units=units.emcPerSec, desc = [=[该物品或方块每秒的EMC产出值。仅包含数字。]=]}}
        },
        {
            {[=[Arcane Energy消耗]=], {arg="aeuse", units=units.aePerUse, desc=[=[每次使用时的Arcane Energy消耗。仅包含数值。]=]}},
        }
    },
    {
        name="Technical",
        title = [=[技术性信息]=],
        {
            {[=[注册名]=], {arg="registryname", desc = [=[该项目的注册名。'''注意:可能不和未本地化名一致。''']=]}},
            {[=[未本地化名]=], {arg="unlocalizedname", desc = [=[该项目的未本地化名。'''注意:可能不和注册名一致。''']=]}},
            {[=[矿物字典名]=], {arg="oredictname", desc = [=[该物品的矿物字典名。]=]}}
        },
        {
            {[=[首次出现]=], {arg="firstappearance", desc = [=[该物品首次出现时的版本号。]=]}},
            {[=[最后出现]=], {arg="lastappearance", desc = [=[该物品最后出现时的版本号。]=]}}
        },
        {
            {[=[经验值]=], {arg="exp", desc = [=[采集或烧炼时可获之经验值。]=]}},
            {[=[流速]=], {arg="flowspeed", units=units.metersPerSec, desc = [=[液体流动速度,以m/s计算。]=]}}
        },
        {
            {[=[玩家速度]=], {arg="speed", desc = [=[玩家在其上方的行走速度。]=]}}
        }
    }
}

-- 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 = "[[Category:Pages that use PWhatever in Infobox thing]]"
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 = [=[你还可以用Ptype和Ptypetitle添加更多的input/use/output/storage信息,其中P可以是1到5的任意整数(含)。]=],
    
    {{arg="Pinputtitle", desc = [=[输入信息框之标题]=]}},
    {{arg="Pinput", desc = [=[输入]=]}},
    {{arg="Pusetitle", desc = [=[能量消耗信息框之标题]=]}},
    {{arg="Puse", desc = [=[能量消耗]=]}},
    {{arg="Pstoragetitle", desc = [=[能量储存信息框之标题]=]}},
    {{arg="Pstorage", desc = [=[能量储存]=]}},
    {{arg="Poutputtitle", desc = [=[输出信息框之标题]=]}},
    {{arg="Poutput", desc = [=[输出]=]}},
    {{arg="Pproductiontitle", desc = [=[能量产出信息框之标题]=]}},
    {{arg="Pproduction", desc = [=[能量产出]=]}}
}

p.examples = {{[=[<div class="mw-translate-fuzzy">
{{Infobox
|name=Sand
|image=Block Sand.png
|imageicon={{Gc|mod=V|dis=false|Oak Wood Planks}}{{Gc|mod=OB|dis=false|Elevator}}{{O|blockCopper}}
|mod=Industrial Craft
|type=block
|lore=A block of sand.
|blastresistance=2.5
|hardness=0.5
|hunger={{Shanks|2|0.5}}
|effects={{Effect|Hunger|200|0|75}}
|cookable=Yes
|armorrating=5.5
|damage=9.5
|durability=350
|mininglevel=1
|flammable=No
|storage=1000
|lstorage=1000
|heatf=32
|heatc=0
|upgrades={{Gc|mod=V|dis=false|Sandstone}}
|prevtier={{Gc|mod=V|dis=false|Cobblestone}}
|nexttier={{Gc|mod=V|dis=false|Chiseled Sandstone}}
|euinput=32
|euuse=32
|euusetool=50
|euoutput=8
|eustorage=40,000
|euproduction=128
|eutraversing=16
|mjinput=32
|mjuse=32
|mjoutput=8
|mjstorage=60,000
|mjproduction=1~6
|mjtraversing=48
|rfinput=32
|rfuse=32
|rfoutput=8
|rfstorage=60,000
|rfproduction=16
|rftraversing=48
|fspsuuse=6
|fspsutick=50000000
|fspsteamstorage=14
|datavalue=0 Sand
|oredictname=sand
|firstappearance=Classic 0.0.14a
|lastappearance=x.y.z
|exp=Smelted: 0.1
|flowspeed=2
|speed=3
}}
</div>]=]}}

return p