Module:Infobox/thing/fr

-- -- 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/second]=], eu = [=[EU]=], euAmps = [=[EU-Amps]=], euPerTick = [=[EU/t]=], euPerUse = [=[EU/utilisation]=], 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 = [=[par tick]=], radPerSec = [=[rad/s]=], rf = [=[RF]=], rfPerTick = [=[RF/t]=], t = [=[T]=], tPerTick = [=[T/t]=], stacksPerSec = [=[Stacks/s]=], su = [=[SU]=], suPerTick = [=[SU/t]=], suPerUse = [=[SU/utilisation]=], watts = [=[W]=], aePerUse = [=[AE/utilisation]=] }

-- This variable holds the list of item types. local itemTypes = { armor = [=[Armure]=], block = [=[Bloc Solide]=], sblock = [=[Bloc Solide]=], oblock = [=[Bloc Solide]=], tblock = [=[Bloc Transparent]=], component = [=[Composant]=], crop = [=[Plantation]=], entity = [=[Entité]=], tentity = [=[Type d'Entité]=], food = [=[Nourriture]=], item = [=[Objet]=], machine = [=[Machine]=], mob = [=[Monstre]=], hmob = [=[Monstre hostile]=], nmob = [=[Mob Neutre]=], fmob = [=[Mob Pacifique]=], seed = [=[Graine]=], tool = [=[Outil]=], wand = [=[Baguette]=], weap = [=[Arme]=], weapon = [=[Arme]=], hull = [=[ ]=], module = [=[ ]=], upgrade = [=[ ]=], landmark = [=[Landmark]=], ritual = [=[Rituel]=], liquid = [=[Liquide]=], fluid = [=[Liquide]=], ["multiblock structure"] = [=[Structure Multiblocks]=], enchant = [=[Enchantement]=], mechanic = [=[Mécanique]=], dimension = [=[Dimension]=], flower = [=[Fleur]=], command = [=[Commande]=], aspect = [=[Aspect]=], bauble = [=[Bauble]=], book = [=[Livre]=], cover = [=[Couverture]=], cable = [=[Cable]=], pipe = [=[Tuyau]=] }

p.docLead = [=[Cela est pour les objets, blocs et comme cela]=]

p.format = { {       name = [=[Basique]=], title = {arg="name", desc=[=[Le titre qui va être affiché au sommet de la boîte d'info]=]}, {           { {arg={"blockimage","image"}, type="image", desc=[=[La grande image]=] } }, { {arg={"iconimage","imageicon"}, desc=[=[L’icône de l'image. Utiliser Gc ou O.]=]} } },       {               { [=[Mod]=], {arg="mod", desc=[=[Il faut toujours se référé à la page principale du mod. Merci de "ne" pas utiliser les numéros de version comme "Flaxbeard's Steam Power 0.28.0"; merci d'utiliser le nom commun du mod.]=]} }, { [=[Type]=], {arg="type", type="switch", allowedValues=itemTypes, desc=[=[Type de l'item]=]} }, { [=[Texte de l'infobulle]=], {arg="lore", desc=[=[Des informations supplémentaires peuvent être mise dans l'infobulle de l'item. Si l'infobulle de l'item à des couleurs spécifiques, elles peuvent être ajoutées grâce au modèle Color. Les couleurs peuvent être trouvés sur le Minecraft Wiki.]=] }}, { [=[Mods réquis]=], {arg="module", desc=[=[Des mods peuvent être réquis pour en installer/utilisées des items présent dans le mod. Par exemple,, et , sont des mods qui peuvent être requis pour pouvoir en utiliser d'autre.]=]}}, { [=[Composition chimique]=], {arg="chemcomp", desc=[=[Composition chimique de l'item]=]} } }   },    {        name="Basic", title=[=[Propriétés]=], {           {[=[Résistance aux explosions]=], {arg="blastresistance", desc=[=[La résistance aux explosions du block. Ne mettre "que" la valeur.]=]} }, {[=[Dureté]=], {arg="hardness", desc=[=[La dureté du block.]=] }} },       {            {[=[Restauration]=], {arg="foodpoints", desc=[=[Le nombre de points de nourriture que l'aliment régénéré. "Uniquement" à utilisé pour les aliments.]=]}}, {[=[Saturation]=], {arg="saturation", desc=[=[La saturation que l'aliment donne. "Uniquement" à mettre pour les aliments.]=]}}, ,           {[=[Effets]=], {arg="effects", desc=[=[Liste des effets produit par la potion ou l'aliment. Utilisé Effect.]=]}}, {[=[Pouvant être cuit]=], {arg="cookable", desc=[=[Si l'item peut être cuit. (Nourriture)]=]}}, {[=[Points de Vies]=], {arg="hp", desc=[=[Le nombre de point de vie de l'entité.]=]}}, {[=[Points d'Armure]=], {arg="ap", desc=[=[Le nombre de point d'armure de l'entité]=]}} },       {            {[=[Valeur d'armure]=],{arg="armorrating",desc=[=[La valeur de l'armure. Utilisés "uniquement" pour les armures.]=]}}, {[=[Résistance de l'armure]=], {arg="toughness", desc=[=[La résistance de l'armure. A n'utilisé "que" pour les armures.]=]}}, {[=[Dommage]=],{arg="damage",desc=[=[Les dégâts de l'arme (un cœur est égal à deux dommages, un demi-cœur est égal à un dommage). A n'utilisé "que" pour les armes.]=]}}, {[=[Vitesse]=],{arg="aspeed",desc=[=[La vitesse d'attaque de l'arme (ajouté dans Minecraft 1.9). A n'utilisé que "pour" les armes.]=]}}, {[=[Durabilité]=],{arg="durability",desc=[=[La durabilité de l'outil ou de l'armure. Ajouter cela "uniquement" aux armures et aux outils ]=]}}, {[=[Niveau de Minage]=],{arg="mininglevel",desc=[=[Le niveau de minage de la pioche (bois, pierre, fer, ...).]=]}}, {[=[Vitesse de minage]=],{arg="miningspeed",desc=[=[La vitesse de minage de la pioche]=]}} },       {            {[=[Stackable]=],{arg="stackable", desc = [=[Si le bloc ou l'item est stackable]=]}}, {[=[Inflammable]=],{arg="flammable", desc = [=[Si le block ou l'item est inflammable (s'il peut être en feu et brûlée).]=]}} },       {            {[=[Stockage]=],{arg={"storageslots","storage"}, desc = [=[La capacité de stockage de l'item - Ce paramètre n'ajoute PAS "cellules" ou "stacks" après le texte du paramètre.]=]}}, {[=[Stockage de liquides]=],{arg="lstorage", units=units.mb, desc = [=[La capacité maximum de stockage de liquide de l'item en mB. Uniquement le nombre]=]}} },       {            {[=[Chaleur (C)]=],{arg="heatc", units=units.degc, desc = [=[La capacité thermique maximun de l'item en C (Celsius). Uniquement le nombre.]=]}}, {[=[Chaleur (F)]=],{arg="heatf", units=units.degf, desc = [=[The maximum heat capacity of the item in F (Fahrenheit). Include only the number.]=]}} }   },    {    	name="DecoCraft Costs", title = [=[DecoCraft Costs]=], {   		{[=[Clay]=], {arg="decoclay", desc=[=[The cost of normal clay requiried to create the item. For use with DecoCraft.]=]}}, {[=[Red]=], {arg="decored", desc=[=[The cost of red color required to create the item. For use with DecoCraft.]=]}}, {[=[Blue]=], {arg="decoblue", desc=[=[The cost of blue color required to create the item. For use with DecoCraft.]=]}}, {[=[Green]=], {arg="decogreen", desc=[=[The cost of green color required to create the item. For use with DecoCraft.]=]}} }   },    {        name="Upgrades", title = [=[Améliorations]=], {       },        {            {[=[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 = [=[Energy]=], {           {[=[Entrée d'EU max]=], {arg="euinput", units=units.euPerTick, desc = [=[Maximum input of EU/t. Include only the number.]=]}}, {[=[Consommation d'EU]=], {arg="euuse", units=units.euPerTick, desc = [=[EU consumption in EU/t. Include only the number.]=]}}, {[=[Consommation d'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.]=]}}, {[=[Stockage d'EU]=], {arg="eustorage", units=units.eu, desc = [=[EU storage in EU. Include only the number.]=]}}, {[=[Sortie d'EU max]=], {arg="euoutput", units=units.euPerTick, desc = [=[Maximum output of EU/t. Include only the number.]=]}}, {[=[Production d'EU]=], {arg="euproduction", units=units.euPerTick, desc = [=[EU production in EU/t. Include only the number.]=]}}, {[=[Conducteur d'EU]=], {arg="eutraversing", units=units.euPerTick, desc = [=[Maximum energy traversing - only for cables. Include only the number.]=]}} },       {            {[=[Heat input]=], {arg="huinput", units=units.huPerTick, desc = [=[Maximum  heat input per tick.]=]}}, {[=[Heat use]=], {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.]=]}}, {[=[Heat traversing]=], {arg="hutraversing", units=units.huPerTick, desc = [=[Maximum heat energy traversing the cable.]=]}} },       {            {[=[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.]=]}} },       {            {[=[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.]=]}} },       {            {[=[Entrée de MJ max]=], {arg="mjinput", units=units.mjPerTick, desc = [=[Maximum input of MJ/t. Include only the number.]=]}}, {[=[Consommation de MJ]=], {arg="mjuse", units=units.mjPerTick, desc = [=[MJ consumption in MJ/t. Include only the number.]=]}}, {[=[Stockage de MJ]=], {arg="mjstorage", units=units.mj, desc = [=[MJ storage in MJ. Include only the number.]=]}}, {[=[Production de MJ max]=], {arg="mjoutput", units=units.mjPerTick, desc = [=[Maximum output of MJ/t. Include only the number.]=]}}, {[=[Production de MJ]=], {arg="mjproduction", units=units.mjPerTick, desc = [=[MJ production in MJ/t. Include only the number.]=]}}, {[=[Conducteur de MJ]=], {arg="mjtraversing", units=units.mjPerTick, desc = [=[Maximum energy traversing - only for pipes. Include only the number.]=]}} },       {            {[=[Entrée de RF max]=], {arg="rfinput", units=units.rfPerTick, desc = [=[Maximum input of RF/t. Include only the number.]=]}}, {[=[Consommation de RF]=], {arg="rfuse", units=units.rfPerTick, desc = [=[RF consumption in RF/t. Include only the number.]=]}}, {[=[Stockage de RF]=], {arg="rfstorage", units=units.rf, desc = [=[RF storage in RF. Include only the number.]=]}}, {[=[Production de RF max]=], {arg="rfoutput", units=units.rfPerTick, desc = [=[Maximum output of RF/t. Include only the number.]=]}}, {[=[Production de RF]=], {arg="rfproduction", units=units.rfPerTick, desc = [=[RF production in RF/t. Include only the number.]=]}}, {[=[Conducteur de RF]=], {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 = [=[Détails techniques]=], {           {[=[Data value par défaut]=], {arg="datavalue", desc = [=[Block ID. Do not use.]=]}}, {[=[Ore dictionary name]=], {arg="oredictname", desc = [=[The oredictionary name for this item.]=]}} },       {            {[=[Première apparition]=], {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.]=]}} },       {            {[=[Expérience]=], {arg="exp", desc = [=[Exp you gain from mining or smelting it.]=]}}, {[=[Vitesse d'écoulement]=], {arg="flowspeed", units=units.metersPerSec, desc = [=[The flow speed of liquids in m/s.]=]}} },       {            {[=[Vitesse du joueur]=], {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 --