Template:Isdef and Nxargs: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
193 bytes added ,  5 years ago
no edit summary
imported>Leoetlino
mNo edit summary
 
imported>Leoetlino
No edit summary
 
Line 1: Line 1:
{{#ifeq:{{{var|+}}}|{{{var|-}}}|{{{0|}}}|{{{1|}}}}}<noinclude>
{{Subsystem infobox|name=nxargs|is_name_official=1|description=[Switch] Holds launch parameters (retrieved with nn::oe::TryPopLaunchParameter)|init_addr_switch150=0000007100901BA4}}
<templatedata>
 
{
Collects launch parameters (retrieved with nn::oe::TryPopLaunchParameter which is called each time with a 0x1000 byte buffer) and processes them as soon as the game has finished loading and if the current map isn't TitleMenu and isn't STAGESELECT, and if there is no active event.
"params": {
 
"0": {
A [https://gist.github.com/leoetlino/da5eeea19ad628642240bf8d2701dc51 010 template for the launch parameter data format is available here].
"label": "Value if true",
 
"type": "string",
[[Category: Internals]]
"suggested": true
[[Category: Subsystems (BotW)]]
},
"1": {
"label": "Value if false",
"type": "string",
"suggested": true
},
"var": {
"label": "Variable to test",
"type": "string",
"required": true
}
},
"description": "Tests if a variable is defined"
}
</templatedata>
[[Category:ZeldaMods templates]]
</noinclude>
Anonymous user

Navigation menu