6,906
edits
Release 2407 and 2409
Continuous releases have started! Read more on our blog: Dolphin Progress Report: Release 2407 and 2409. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
No edit summary |
m (add one example, remove a part that read weird) |
||
Line 34: | Line 34: | ||
=== #var_final === | === #var_final === | ||
This function will output the final, last value a variable has at the end of the page rendering. Naturally, the value will be inserted after the parser went over the entire wiki markup, so this function can't be used in other functions | This function will output the final, last value a variable has at the end of the page rendering. Naturally, the value will be inserted after the parser went over the entire wiki markup, so this function can't be used in other functions. Example: | ||
* <code><nowiki>{{#var_final:variablename|default}}</nowiki></code> | * <code><nowiki>{{#var_final:variablename|default}}</nowiki></code> | ||
Line 45: | Line 45: | ||
Add one to ''n'': | Add one to ''n'': | ||
* <code><nowiki>{{#vardefine:n|{{#expr:{{#var:n}}+1}}}}</nowiki></code> | * <code><nowiki>{{#vardefine:n|{{#expr:{{#var:n}}+1}}}}</nowiki></code> | ||
Swap the value of two variables ''c'' and ''q'': | |||
* <code><nowiki>{{#vardefine:c|{{#var:q}}{{#vardefine:q|{{#var:c}}}}}} | |||
[[Category:Extension Docs]] | [[Category:Extension Docs]] |
edits