Difference between revisions of "Module:Infobox/en"

From Luanti Wiki
Jump to navigation Jump to search
(do to restructuring there are no longer subcategories for types of games or mods, doesn't make sense, cause they covering always multiple types. type should only be a textstring)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
return {
 
return {
 
     block = {
 
     block = {
         {id = "type", name = "Type"},
+
         {id = "type", name = "Node Type"},
 
         {id = "drops", name = "[[Mining#Drops|Drops]]"},
 
         {id = "drops", name = "[[Mining#Drops|Drops]]"},
 
         {id = "physics", name = "[[:Category:Falling|Physics]]"},
 
         {id = "physics", name = "[[:Category:Falling|Physics]]"},
Line 12: Line 12:
 
     },
 
     },
 
     item = {
 
     item = {
         {id = "type", name = "Type"},
+
         {id = "type", name = "Item Type"},
 
         {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
 
         {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
 
         {id = "durability", name = "[[Tool#Wear|Durability]]"},
 
         {id = "durability", name = "[[Tool#Wear|Durability]]"},
Line 19: Line 19:
 
     },
 
     },
 
     foodItem = {
 
     foodItem = {
         {id = "type", name = "Type"},
+
         {id = "type", name = "Food Item Type"},
 
         {id = "restores", name = "Restores"},
 
         {id = "restores", name = "Restores"},
 
         {id = "cookable", name = "[[Smelting|Cookable]]"},
 
         {id = "cookable", name = "[[Smelting|Cookable]]"},
Line 44: Line 44:
 
         {id = "version", name = "Latest version"},
 
         {id = "version", name = "Latest version"},
 
         {id = "forum", name = "Forum topic"},
 
         {id = "forum", name = "Forum topic"},
 +
        {id = "contentdb", name = "ContentDB"},
 
         {id = "source", name = "Source code"},
 
         {id = "source", name = "Source code"},
     },
+
     }
    mod = {
 
        {id = "type", name = "Mod Type"},
 
        {id = "author", name = "Author"},
 
        {id = "version", name = "Latest version"},
 
        {id = "forum", name = "Forum topic"},
 
        {id = "source", name = "Source code"},
 
        {id = "bower", name = "[[Minetest Bower|Bower]] name"},
 
        {id = "luaname", name = "Technical name"},
 
    },
 
    server = {
 
        {id = "owner", name = "Owner"},
 
        {id = "address", name = "Address"},
 
        {id = "port", name = "Port"},
 
        {id = "flags", name = "Flags"},
 
        {id = "forum", name = "Forum topic"},
 
        {id = "website", name = "Website"},
 
    },
 
 
}
 
}

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"},
    }
}