Difference between revisions of "Module:Infobox/en"

From Luanti Wiki
Jump to navigation Jump to search
m
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
return {
 
return {
 
     block = {
 
     block = {
         type = "Type",
+
         {id = "type", name = "Node Type"},
         drops = "[[Mining#Drops|Drops]]",
+
         {id = "drops", name = "[[Mining#Drops|Drops]]"},
         physics = "[[:Category:Falling|Physics]]",
+
         {id = "physics", name = "[[:Category:Falling|Physics]]"},
         luminance = "[[:Category:Luminous|Luminance]]",
+
         {id = "luminance", name = "[[:Category:Luminous|Luminance]]"},
         flammable = "[[:Category:Flammable|Flammable]]",
+
         {id = "flammable", name = "[[:Category:Flammable|Flammable]]"},
         generated = "[[:Category:Generated blocks|Generated]]",
+
         {id = "generated", name = "[[:Category:Generated_blocks|Generated]]"},
         renewable = "Renewable",
+
         {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
         stackable = "Stackable",
+
         {id = "stackable", name = "[[Item stack|Stackable]]"},
         itemstring = "[[Itemstrings|Itemstring]]",
+
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
     },
 
     },
 
     item = {
 
     item = {
         type = "Type",
+
         {id = "type", name = "Item Type"},
         renewable = "Renewable",
+
         {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
         durability = "Durability",
+
         {id = "durability", name = "[[Tool#Wear|Durability]]"},
         stackable = "Stackable",
+
         {id = "stackable", name = "[[Item stack|Stackable]]"},
         itemstring = "[[Itemstrings|Itemstring]]",
+
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
     },
 
     },
 
     foodItem = {
 
     foodItem = {
         type = "Type",
+
         {id = "type", name = "Food Item Type"},
         restores = "Restores",
+
         {id = "restores", name = "Restores"},
         cookable = "Cookable",
+
         {id = "cookable", name = "[[Smelting|Cookable]]"},
         renewable = "Renewable",
+
         {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
         stackable = "Stackable",
+
         {id = "stackable", name = "[[Item stack|Stackable]]"},
         itemstring = "[[Itemstrings|Itemstring]]",
+
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
     },
 
     },
 
     mob = {
 
     mob = {
         health = "Health",
+
         {id = "health", name = "Health"},
         armor = "Armor",
+
         {id = "armor", name = "Armor"},
         damage = "Damage",
+
         {id = "damage", name = "Damage"},
         drops = "Drops",
+
         {id = "drops", name = "Drops"},
         entitystring = "Entitystring",
+
        {id = "entitystring", name = "[[List of entity names|Entitystring]]"},
 +
    },
 +
    object = {
 +
        {id = "health", name = "Health"},
 +
        {id = "collides_with_objects", name = "[[Objects|Object]] collision"},
 +
         {id = "collides_with_blocks", name = "[[Blocks|Block]] collision"},
 +
        {id = "entitystring", name = "[[List of entity names|Entitystring]]"},
 
     },
 
     },
 
     game = {
 
     game = {
         type = "Type",
+
         {id = "type", name = "Game Type"},
         author = "Author",
+
         {id = "author", name = "Author"},
         version = "Latest version",
+
         {id = "version", name = "Latest version"},
        forum = "Forum topic",
+
         {id = "forum", name = "Forum topic"},
         source = "Source code",
+
         {id = "contentdb", name = "ContentDB"},
    },
+
         {id = "source", name = "Source code"},
    mod = {
+
     }
        type = "Type",
 
         author = "Author",
 
        version = "Latest version",
 
         forum = "Forum topic",
 
        source = "Source code",
 
        luaname = "Technical name",
 
     },
 
 
}
 
}

Latest revision as of 16:29, 12 March 2024

Documentation for this module may be created at Module:Infobox/en/doc

return {
    block = {
        {id = "type", name = "Node Type"},
        {id = "drops", name = "[[Mining#Drops|Drops]]"},
        {id = "physics", name = "[[:Category:Falling|Physics]]"},
        {id = "luminance", name = "[[:Category:Luminous|Luminance]]"},
        {id = "flammable", name = "[[:Category:Flammable|Flammable]]"},
        {id = "generated", name = "[[:Category:Generated_blocks|Generated]]"},
        {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
        {id = "stackable", name = "[[Item stack|Stackable]]"},
        {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
    },
    item = {
        {id = "type", name = "Item Type"},
        {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
        {id = "durability", name = "[[Tool#Wear|Durability]]"},
        {id = "stackable", name = "[[Item stack|Stackable]]"},
        {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
    },
    foodItem = {
        {id = "type", name = "Food Item Type"},
        {id = "restores", name = "Restores"},
        {id = "cookable", name = "[[Smelting|Cookable]]"},
        {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
        {id = "stackable", name = "[[Item stack|Stackable]]"},
        {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
    },
    mob = {
        {id = "health", name = "Health"},
        {id = "armor", name = "Armor"},
        {id = "damage", name = "Damage"},
        {id = "drops", name = "Drops"},
        {id = "entitystring", name = "[[List of entity names|Entitystring]]"},
    },
    object = {
        {id = "health", name = "Health"},
        {id = "collides_with_objects", name = "[[Objects|Object]] collision"},
        {id = "collides_with_blocks", name = "[[Blocks|Block]] collision"},
        {id = "entitystring", name = "[[List of entity names|Entitystring]]"},
    },
    game = {
        {id = "type", name = "Game Type"},
        {id = "author", name = "Author"},
        {id = "version", name = "Latest version"},
        {id = "forum", name = "Forum topic"},
        {id = "contentdb", name = "ContentDB"},
        {id = "source", name = "Source code"},
    }
}