Template:Callback
From GRFSpecs
Jump to navigationJump to search
Usage
Example 1: Additional lines
{{Callback |features=houses (1B), industy tiles (25) |result= SSAA *SS: sound effect *AA: animation stage |failure=stay in current frame |other= {{!}}- {{!}}'''Variable 100'''{{!!}}additional result {{!}}- {{!}}'''Variable 101 - 105'''{{!!}}text stack }}
Features | houses (1B), industy tiles (25) |
Purchase list | {{{purchase}}} |
Variable 10 | undefined |
Variable 18 | undefined |
Result | SSAA
|
Fail result means | stay in current frame |
Variable 100 | additional result |
Variable 101 - 105 | text stack |
Example 2: Purchase list field
{{Callback |features=vehicles |purchase=not called |result=capacity (not subject to any further multipliers) |failure=use callback 36 resp. properties }}
Features | vehicles |
Purchase list | not called |
Variable 10 | undefined |
Variable 18 | undefined |
Result | capacity (not subject to any further multipliers) |
Fail result means | use callback 36 resp. properties |