Template:Subsystem infobox: Difference between revisions
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 = {{#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
Subsystem | |
---|---|
Official name | Yes |
Init function |
Switch 1.5.0: ??? Wii U 1.5.0: ??? |
Debug only | No |
Infobox for articles on BotW subsystems
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name of the subsystem | name | no description | String | required |
Is the name official? | is_name_official | no description | Boolean | required |
Description | description | no description | String | suggested |
Address of the init function (Switch 1.5.0) | init_addr_switch150 | no description | String | required |
Address of the global instance (Switch 1.5.0) | inst_addr_switch150 | no description | String | optional |
Address of the init function (Wii U 1.5.0) | init_addr_wiiu150 | no description | String | optional |
Address of the global instance (Wii U 1.5.0) | inst_addr_wiiu150 | no description | String | optional |
Debug only subsystem | debug_only | no description
| Boolean | optional |