Template:Subsystem infobox: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(Created page with "{{Infobox | title = {{{name}}} | label1 = Official name | data1 = {{{is_name_official}}} | label2 = Description | data2 = {{{description|}}} | label3 = Address of init functio...")
 
imported>Leoetlino
No edit summary
 
(9 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
| data1 = {{{is_name_official}}}
| data1 = {{#ifexpr: {{{is_name_official|1}}}|Yes|No}}
| label2 = Description
| label2 = Description
| data2 = {{{description|}}}
| data2 = {{{description|}}}
| label3 = Address of init function (Switch 1.5.0)
| label3 = Init function
| data3 = {{{init_address}}}
| data3 = Switch 1.5.0: {{{init_addr_switch150|???}}}<br>Wii U 1.5.0: {{{init_addr_wiiu150|???}}}
| label4 = Debug only
| label4 = Instance
| data4 = {{{debug_only|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 27: Line 30:
"suggested": true
"suggested": true
},
},
"init_address": {
"init_addr_switch150": {
"label": "Address of the init function (Switch 1.5.0)",
"label": "Address of the init function (Switch 1.5.0)",
"type": "string",
"type": "string",
Line 35: Line 38:
"label": "Debug only subsystem",
"label": "Debug only subsystem",
"type": "boolean",
"type": "boolean",
"default": "No"
"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