Difference between revisions of "Module:Infobox/en"

From Luanti Wiki
Jump to navigation Jump to search
(Add bower id on mod (with this id on mod template, users can install mods without leaving the wiki and searching on Minetest Bower or similar))
 
(13 intermediate revisions by 6 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 7: Line 7:
 
         {id = "flammable", name = "[[:Category:Flammable|Flammable]]"},
 
         {id = "flammable", name = "[[:Category:Flammable|Flammable]]"},
 
         {id = "generated", name = "[[:Category:Generated_blocks|Generated]]"},
 
         {id = "generated", name = "[[:Category:Generated_blocks|Generated]]"},
         {id = "renewable", name = "Renewable"},
+
         {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
         {id = "stackable", name = "Stackable"},
+
         {id = "stackable", name = "[[Item stack|Stackable]]"},
 
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
     },
 
     },
 
     item = {
 
     item = {
         {id = "type", name = "Type"},
+
         {id = "type", name = "Item Type"},
         {id = "renewable", name = "Renewable"},
+
         {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
         {id = "durability", name = "Durability"},
+
         {id = "durability", name = "[[Tool#Wear|Durability]]"},
         {id = "stackable", name = "Stackable"},
+
         {id = "stackable", name = "[[Item stack|Stackable]]"},
 
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
     },
 
     },
 
     foodItem = {
 
     foodItem = {
         {id = "type", name = "Type"},
+
         {id = "type", name = "Food Item Type"},
 
         {id = "restores", name = "Restores"},
 
         {id = "restores", name = "Restores"},
         {id = "cookable", name = "Cookable"},
+
         {id = "cookable", name = "[[Smelting|Cookable]]"},
         {id = "renewable", name = "Renewable"},
+
         {id = "renewable", name = "[[:Category:Renewable|Renewable]]"},
         {id = "stackable", name = "Stackable"},
+
         {id = "stackable", name = "[[Item stack|Stackable]]"},
 
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
         {id = "itemstring", name = "[[Itemstrings|Itemstring]]"},
 
     },
 
     },
Line 31: Line 31:
 
         {id = "damage", name = "Damage"},
 
         {id = "damage", name = "Damage"},
 
         {id = "drops", name = "Drops"},
 
         {id = "drops", name = "Drops"},
         {id = "entitystring", name = "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 = {
         {id = "type", name = "Type"},
+
         {id = "type", name = "Game Type"},
        {id = "author", name = "Author"},
 
        {id = "version", name = "Latest version"},
 
        {id = "forum", name = "Forum topic"},
 
        {id = "source", name = "Source code"},
 
    },
 
    mod = {
 
        {id = "type", name = "Type"},
 
 
         {id = "author", name = "Author"},
 
         {id = "author", name = "Author"},
 
         {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"},
        {id = "bower", name = "Bower name"},
+
     }
        {id = "luaname", name = "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"},
    }
}