Difference between revisions of "Template:Callback"
From GRFSpecs
Jump to navigationJump to search (first try for callback summary template) |
(better usage) |
||
Line 5: | Line 5: | ||
{{#if: {{{purchase}}} | |
{{#if: {{{purchase}}} | |
||
{{!}}'''Purchase list'''{{!!}}{{{purchase}}} |
{{!}}'''Purchase list'''{{!!}}{{{purchase}}} |
||
− | {{!}}- |
+ | {{!}}- |
+ | }} |
||
|'''Variable 10'''||{{{var10|undefined}}} |
|'''Variable 10'''||{{{var10|undefined}}} |
||
|- |
|- |
||
Line 21: | Line 22: | ||
{{Callback |
{{Callback |
||
|features=houses (1B), industy tiles (25) |
|features=houses (1B), industy tiles (25) |
||
⚫ | |||
|result= |
|result= |
||
SSAA |
SSAA |
||
Line 29: | Line 29: | ||
|other= |
|other= |
||
{{!}}- |
{{!}}- |
||
− | {{!}}Variable 100{{!!}}additional result |
+ | {{!}}'''Variable 100'''{{!!}}additional result |
{{!}}- |
{{!}}- |
||
− | {{!}}Variable 101-105{{!!}}text stack |
+ | {{!}}'''Variable 101 - 105'''{{!!}}text stack |
}} |
}} |
||
</pre> |
</pre> |
||
{{Callback |
{{Callback |
||
|features=houses (1B), industy tiles (25) |
|features=houses (1B), industy tiles (25) |
||
⚫ | |||
|result= |
|result= |
||
SSAA |
SSAA |
||
Line 44: | Line 43: | ||
|other= |
|other= |
||
{{!}}- |
{{!}}- |
||
− | {{!}}Variable 100{{!!}}additional result |
+ | {{!}}'''Variable 100'''{{!!}}additional result |
{{!}}- |
{{!}}- |
||
− | {{!}}Variable 101-105{{!!}}text stack |
+ | {{!}}'''Variable 101 - 105'''{{!!}}text stack |
+ | }} |
||
+ | |||
+ | <pre> |
||
+ | {{Callback |
||
+ | |features=vehicles |
||
⚫ | |||
+ | |result=capacity (not subject to any further multipliers) |
||
+ | |failure=use callback 36 resp. properties |
||
+ | }} |
||
+ | </pre> |
||
+ | {{Callback |
||
+ | |features=vehicles |
||
⚫ | |||
+ | |result=capacity (not subject to any further multipliers) |
||
+ | |failure=use callback 36 resp. properties |
||
}} |
}} |
||
+ | |||
</noinclude> |
</noinclude> |
Revision as of 20:35, 16 June 2011
Usage
{{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 |
{{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 |