Template:General data table: Difference between revisions

no edit summary
(more hierarchy stuff)
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=GeneralData|Image=File|ObjectID=String|DisplayName=Wikitext|PlainName=String|DisplayChar=Wikitext|Commerce=Float|Weight=Integer|Tier=Integer|ParentObject=String (hierarchy;allowed values=*InorganicObject
<noinclude>{{#cargo_declare:_table=GeneralData
|Image=File
|ObjectID=String
|DisplayName=Wikitext
|PlainName=String
|DisplayChar=Wikitext
|TileColors=String
|Commerce=Float
|Weight=Float
|Tier=Integer
|Aliases=List (,) of String
|IDAliases=List (,) of String
|Categories=String
|JoinKey=String
|Description=Wikitext
|ParentObject=String (hierarchy;allowed values=*InorganicObject
**Item
**Item
***NotakeItem
***NotakeItem
Line 5: Line 20:
****Snack
****Snack
*****Preservable
*****Preservable
******BaseBreatherGlandPaste
****Organ
****Organ
*****BaseBreatherGland
*****BaseBreatherGland
Line 32: Line 48:
********Carbine
********Carbine
******BaseHeavyWeapon
******BaseHeavyWeapon
*******BaseMagazineHeavyWeapon
*****BaseBow
*****BaseBow
****NaturalMissileWeapon
****NaturalMissileWeapon
***Armor
***Armor
****BaseBracelet
****BaseBracelet
*****BaseBeadBracelet
****BaseHelmet
****BaseHelmet
****BaseHat
****BaseHat
Line 174: Line 192:
****Glittermensch
****Glittermensch
****BaseIssachari
****BaseIssachari
****Mysterious Gunslinger
****Mechanimist
****Mechanimist
*****Mechanimist Zealot
*****Mechanimist Zealot
Line 212: Line 231:
***SapientMutatedFungus
***SapientMutatedFungus
*Liquid)}} [[Category:Cargo Store Templates]]
*Liquid)}} [[Category:Cargo Store Templates]]
 
{{doc}}
Please don't actually call this. This is a helper template.
</noinclude>
 
This declares the GeneralData cargo table, which stores the generic data that all items have( page name, ID, and Image). This makes querying for these common things easier instead of manually determining which table to query from.</noinclude>