Template:Synthesis/Recipes/Cargo: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{{{FULLPAGENAME}}/doc}} | <noinclude>{{{{FULLPAGENAME}}/doc}} | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table = | _table = SynthesisMaterials | ||
|_parentTables = Synthesis(_localField=board_id, _remoteField=board_id); | |_parentTables = Synthesis(_localField=board_id, _remoteField=board_id); | ||
|board_id = String (mandatory;regex=[A-F0-9]{8};size=8) | |board_id = String (mandatory;regex=[A-F0-9]{8};size=8) | ||
|item_id = String (mandatory;regex=[A-F0-9]{8};size=8) | |item_id = String (mandatory;regex=[A-F0-9]{8};size=8) | ||
|recipe_id = Integer | |recipe_id = Integer (mandatory) <!-- compound primary keys aren't great but i don't have any better option for serverside atm --> | ||
|element = Integer | |element = Integer | ||
|element_percent = Integer | |element_percent = Integer | ||
}}</noinclude> | }}</noinclude> |
Revision as of 17:44, 21 January 2025
Template:Synthesis/Recipes/Cargo/doc This template defines the table "SynthesisMaterials". This table has not been created yet.