Template:Data tables: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
reorganizing
Tag: 2017 source edit
change to buildPartsTable
Tag: 2017 source edit
 
Line 30: Line 30:
}
}
</templatedata>
</templatedata>
{{#invoke:Data tables|getTable|{{{Data source}}}|{{{Table name}}}}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
<includeonly>{{#invoke:Data tables|getTable|{{{Data source}}}|{{{Table name}}}}}</includeonly>
<includeonly>{{#invoke:Data tables|buildPartsTable|{{{Data source}}}|{{{Table name}}}}}</includeonly>

Latest revision as of 19:17, 25 November 2024

Include a table from the [[PartTables/Tables]] page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Data sourceData source

Data table source to pull from.

Suggested values
parts techtree
Example
parts
Stringrequired
Table nameTable name

The table from the data source to pull.

Example
engines-xenon
Stringrequired

Lua error in Module:Data_tables at line 75: attempt to index a nil value.