Template:Subsystem infobox: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| above = Subsystem
| title = {{{name}}}
| title = {{{name}}}
| label1 = Official name
| label1 = Official name
Line 6: Line 7:
| data2 = {{{description|}}}
| data2 = {{{description|}}}
| label3 = Init function
| label3 = Init function
| data3 = Switch 1.5.0: {{{init_addr_switch150}}}
| data3 = Switch 1.5.0: {{{init_addr_switch150|???}}}<br>Wii U 1.5.0: {{{init_addr_wiiu150|???}}}
| label4 = Debug only
| label4 = Instance
| data4 = {{#ifexpr: {{{debug_only|}}}|Yes|No}}
| data4 = {{#if: {{{inst_addr_switch150|}}}|Switch 1.5.0: {{{inst_addr_switch150|}}}|}}{{#if: {{{inst_addr_wiiu150|}}}|<br>Wii U 1.5.0: {{{inst_addr_wiiu150|}}}|}}
| label5 = Debug only
| data5 = {{#ifexpr: {{{debug_only|}}}|Yes|No}}
}}<noinclude>[[Category: ZeldaMods templates]]<templatedata>
}}<noinclude>[[Category: ZeldaMods templates]]<templatedata>
{
{
Line 36: Line 39:
"type": "boolean",
"type": "boolean",
"default": "0"
"default": "0"
},
"inst_addr_switch150": {
"label": "Address of the global instance (Switch 1.5.0)",
"type": "string"
},
"init_addr_wiiu150": {
"label": "Address of the init function (Wii U 1.5.0)",
"type": "string"
},
"inst_addr_wiiu150": {
"label": "Address of the global instance (Wii U 1.5.0)",
"type": "string"
}
}
},
},
"description": "Infobox for articles on BotW subsystems"
"description": "Infobox for articles on BotW subsystems",
"paramOrder": [
"name",
"is_name_official",
"description",
"init_addr_switch150",
"inst_addr_switch150",
"init_addr_wiiu150",
"inst_addr_wiiu150",
"debug_only"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 20:59, 11 February 2019

{{{name}}}
Subsystem
Official name Yes
Init function Switch 1.5.0: ???
Wii U 1.5.0: ???
Debug only No

Infobox for articles on BotW subsystems

Template parameters

ParameterDescriptionTypeStatus
Name of the subsystemname

no description

Stringrequired
Is the name official?is_name_official

no description

Booleanrequired
Descriptiondescription

no description

Stringsuggested
Address of the init function (Switch 1.5.0)init_addr_switch150

no description

Stringrequired
Address of the global instance (Switch 1.5.0)inst_addr_switch150

no description

Stringoptional
Address of the init function (Wii U 1.5.0)init_addr_wiiu150

no description

Stringoptional
Address of the global instance (Wii U 1.5.0)inst_addr_wiiu150

no description

Stringoptional
Debug only subsystemdebug_only

no description

Default
0
Booleanoptional