Template:AampIndexedParam: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
m (fix variable name)
imported>Leoetlino
(add templatedata + category)
Line 1: Line 1:
{{{key}}} {{#tip-info: {{#invoke:AampIndexedParam|get_description|key={{{key}}}|start_idx={{{start_idx|}}}}} }}
{{{key}}} {{#tip-info: {{#invoke:AampIndexedParam|get_description|key={{{key}}}|start_idx={{{start_idx|}}}}} }}
<noinclude>
<templatedata>
{
"params": {
"key": {
"label": "Name",
"example": "ItemNum%02d",
"type": "string",
"required": true
},
"start_idx": {
"label": "Start index",
"description": "Number at which indexes start",
"type": "number",
"autovalue": "0"
}
},
"description": "Shows an AAMP indexed/numbered parameter structure name, with an explanation tooltip"
}
</templatedata>
[[Category:ZeldaMods templates]]
</noinclude>

Revision as of 14:15, 15 September 2018

{{{key}}}

Shows an AAMP indexed/numbered parameter structure name, with an explanation tooltip

Template parameters

ParameterDescriptionTypeStatus
Namekey

no description

Example
ItemNum%02d
Stringrequired
Start indexstart_idx

Number at which indexes start

Auto value
0
Numberoptional