Extension Wiki Intepreter

From Portal
Jump to: navigation, search


<!-- has no effect -->
{{#var | fu | = | The value of foo is this string}}  <!-- returns fu value-->
{{#var | fu2 | @= | test test}}                      <!-- returns nothing -->
{{#var | fu3 | [ xy-index ]= | value1 }}
<!-- {{#var | foo | [ x-index ][ y-index ]= | value }}                    -->
<!-- shortcuts -->
{{#foo}}               <!-- converted to -> {{#var | foo }}               -->
{{#foo | @= | value }} <!-- converted to -> {{#var | foo | @= | value }}  -->
{{#foo @= value }}     <!-- converted to -> {{#var | foo | @= | value }}  -->
----
{{#if | 0 || evaluate & return if true || evaluate & return if false }}
{{#if | 1 || evaluate & return if true || evaluate & return if false }}