Template:DataItem: Difference between revisions

Template page
(Created page with "<noinclude> Category:Data:TableDefinition {{#cargo_declare: _table=item |name = String |description = String |type = String (allowed values=Package,Research,Resource,Simple,Advanced,Hi-Tech) |slot_type = String (allowed values=Storage,Alien Storage,Gas) |ingredient1 = String |amount1 = Integer |ingredient2 = String |amount2 = Integer |ingredient3 = String |amount3 = Integer |ingredient4 = String |amount4 = Integer |producer1 = String |time1 = Integer |producer2 = Str...")
 
m (Pywikibot 10.3.1)
 
(16 intermediate revisions by 3 users not shown)
Line 4: Line 4:
_table=item
_table=item
|name = String
|name = String
|luaId = String
|description = String
|description = String
|type = String (allowed values=Package,Research,Resource,Simple,Advanced,Hi-Tech)
|type = String (allowed values=Package,Research,Resource,Simple,Advanced,Hi-Tech)
|slot_type = String (allowed values=Storage,Alien Storage,Gas)
|slotType = String (allowed values=Storage,Alien Storage,Gas,Anomaly,Virus,Alien)
|recipeType = String (allowed values=,construction,production,uplink)
|numProduced = Integer
|ingredient1 = String
|ingredient1 = String
|amount1 = Integer
|amount1 = Integer
Line 16: Line 19:
|amount4 = Integer
|amount4 = Integer
|producer1 = String
|producer1 = String
|time1 = Integer
|time1 = Float
|producer2 = String
|producer2 = String
|time2 = Integer
|time2 = Float
|recipe_type = String (allowed values=Construction,Production)
|producer3 = String
|num_produced = Integer
|time3 = Float
|miner_component1 = String
|producer4 = String
|mining_seconds1 = Float
|time4 = Float
|miner_component2 = String
|tag = String
|mining_seconds2 = Float
|race = String
|miner_component3 = String
|minerComponent1 = String
|mining_seconds3 = Float
|miningSeconds1 = Float
|stack_size = Integer
|minerComponent2 = String
|miningSeconds2 = Float
|minerComponent3 = String
|miningSeconds3 = Float
|minerComponent4 = String
|miningSeconds4 = Float
|stackSize = Integer
|unlockable = Boolean
}}</noinclude>
}}</noinclude>
<includeonly>
<includeonly>
{{#cargo_store:
{{#cargo_store:
_table=item
_table=item
|name = {{{name}}}
|name = {{{name|}}}
|description = {{{description}}}
|luaId = {{{luaId|}}}
|type = {{{type}}}
|description = {{{description|}}}
|slot_type = {{{slot_type}}}
|type = {{{type|}}}
|ingredient1 = {{{ingredient1}}}
|slotType = {{{slotType|}}}
|amount1 = {{{amount1}}}
|recipeType = {{{recipeType|}}}
|ingredient2 = {{{ingredient2}}}
|numProduced = {{{numProduced|}}}
|amount2 = {{{amount2}}}
|ingredient1 = {{{ingredient1|}}}
|ingredient3 = {{{ingredient3}}}
|amount1 = {{{amount1|}}}
|amount3 = {{{amount3}}}
|ingredient2 = {{{ingredient2|}}}
|ingredient4 = {{{ingredient4}}}
|amount2 = {{{amount2|}}}
|amount4 = {{{amount4}}}
|ingredient3 = {{{ingredient3|}}}
|producer1 = {{{producer1}}}
|amount3 = {{{amount3|}}}
|time1 = {{{time1}}}
|ingredient4 = {{{ingredient4|}}}
|producer2 = {{{producer2}}}
|amount4 = {{{amount4|}}}
|time2 = {{{time2}}}
|producer1 = {{{producer1|}}}
|recipe_type = {{{recipe_type}}}
|time1 = {{{time1|}}}
|num_produced = {{{num_produced}}}
|producer2 = {{{producer2|}}}
|miner_component1 = {{{miner_component1}}}
|time2 = {{{time2|}}}
|mining_seconds1 = {{{mining_seconds1}}}
|producer3 = {{{producer3|}}}
|miner_component2 = {{{miner_component2}}}
|time3 = {{{time3|}}}
|mining_seconds2 = {{{mining_seconds2}}}
|producer4 = {{{producer4|}}}
|miner_component3 = {{{miner_component3}}}
|time4 = {{{time4|}}}
|mining_seconds3 = {{{mining_seconds3}}}
|tag = {{{tag|}}}
|stack_size = {{{stack_size}}}
|race = {{{race|}}}
|minerComponent1 = {{{minerComponent1|}}}
|miningSeconds1 = {{{miningSeconds1|}}}
|minerComponent2 = {{{minerComponent2|}}}
|miningSeconds2 = {{{miningSeconds2|}}}
|minerComponent3 = {{{minerComponent3|}}}
|miningSeconds3 = {{{miningSeconds3|}}}
|minerComponent4 = {{{minerComponent4|}}}
|miningSeconds4 = {{{miningSeconds4|}}}
|stackSize = {{{stackSize|}}}
|unlockable = {{{unlockable|}}}
}}</includeonly>
}}</includeonly>

Latest revision as of 06:34, 13 August 2025

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