Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Resources: Difference between revisions

Template page
No edit summary
Tag: 2017 source edit
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 8: Line 8:
| Value=Integer
| Value=Integer
| MaxStack=Integer
| MaxStack=Integer
}}</noinclude><includeonly>{{#cargo_store:_table=Resources}}== Information ==
}}</noinclude><includeonly>{{#cargo_store:_table=Resources}}{{InfoBox
| name            = {{{Name|}}}
| bodystyle        = width:25em
| title            = Resource Information
| image            = {{{Sprite|}}}
| label1          = Codename
| data1            = {{{Codename|}}}
| label2          = Sprite
| data2            = {{{Sprite|}}}
| label3          = Weight
| data3            = {{{Weight|}}}
| label4          = Slots
| data4            = {{{Slots|}}}
| label5          = Block Width
| data5            = {{{BlockWidth|}}}
| label6          = Block Height
| data6            = {{{BlockHeight|}}}
| label7          = Value
| data7            = {{{Value|}}}
| label8          = Max Stack
| data8            = {{{MaxStack|}}}
}}
== Information ==
{{{Desc}}}
{{{Desc}}}


== Recipes requiring this item ==  
== Recipes requiring this item ==  
{{#cargo_compound_query:
{{#cargo_compound_query:
tables=ItemRecipes, Swords;fields=CONCAT('[[File:', Swords.Sprite, '.png]]')=Image,Swords._pageName=Name;where=ItemRecipes.ItemCodename='{{{Codename}}}';join on=Swords.Codename=ItemRecipes.ItemCodename
tables=ItemRecipes, Swords;fields=CONCAT('[[File:', Swords.Sprite, '.png]]')=Image,Swords._pageName=Name;where=ItemRecipes.ResourceLongname ='{{{Codename}}}';join on=Swords.Codename=ItemRecipes.ItemCodename
|tables=ItemRecipes, Ranged;fields=CONCAT('[[File:', Ranged.Sprite, '.png]]')=Image,Ranged._pageName=Name;where=ItemRecipes.ItemCodename='{{{Codename}}}';join on=Ranged.Codename=ItemRecipes.ItemCodename
|tables=ItemRecipes, Ranged;fields=CONCAT('[[File:', Ranged.Sprite, '.png]]')=Image,Ranged._pageName=Name;where=ItemRecipes.ResourceLongname ='{{{Codename}}}';join on=Ranged.Codename=ItemRecipes.ItemCodename
|format=table
|headers=yes
}}
 
 
== Unique Characters with this item ==
{{#cargo_query:
table=Spawners, InventorySlot
|fields=Spawners._pageName = Name
|where=InventorySlot.ItemCodename = '{{{Codename}}}' AND Spawners.IsUnique = true
|join on = Spawners.Codename = InventorySlot.OwnerCodename
|format=table
|format=table
|headers=yes
|headers=yes

Latest revision as of 06:19, 9 November 2024

This template defines the table "Resources". View table.