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

Template:Data tables: Difference between revisions

Template page
(Started page for data table templating)
Tag: 2017 source edit
 
(change to buildPartsTable)
Tag: 2017 source edit
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly></includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>
<noinclude>
[[Category:Templates]]
{{Documentation}}
<templatedata>
<templatedata>
{
{
Line 31: Line 29:
]
]
}
}
</templatedata></noinclude>
</templatedata>
{{#invoke:Data tables|getTable|{{{Data source}}}|{{{Table name}}}}}
[[Category:Templates]]
</noinclude>
<includeonly>{{#invoke:Data tables|buildPartsTable|{{{Data source}}}|{{{Table name}}}}}</includeonly>

Latest revision as of 17: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 142: attempt to index a nil value.


MediaWiki Appliance - Powered by TurnKey Linux