Template:Callback: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
fix the if |
shuffle examples |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
|'''Features'''||{{{features}}} |
|'''Features'''||{{{features}}} |
||
|- |
|- |
||
|'''Purchase list'''||{{{purchase|-}}} |
|||
|- |
|||
{{!}}'''Purchase list'''{{!!}}{{{purchase}}} |
|||
{{!}}- |
|||
| ⚫ | |||
|'''Variable 10'''||{{{var10|undefined}}} |
|'''Variable 10'''||{{{var10|undefined}}} |
||
|- |
|- |
||
| Line 19: | Line 17: | ||
<noinclude> |
<noinclude> |
||
==Usage== |
==Usage== |
||
===Example 1 |
===Example 1=== |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
<pre> |
<pre> |
||
{{Callback |
{{Callback |
||
|features=houses (1B), industy tiles (25) |
|features=houses (1B), industy tiles (25) |
||
|result= |
|result= |
||
Format: <tt>SSAA</tt> |
|||
SSAA |
|||
*SS: sound effect |
*<tt>SS</tt>: sound effect |
||
*AA: animation stage |
*<tt>AA</tt>: animation stage |
||
|failure=stay in current frame |
|failure=stay in current frame |
||
|other= |
|other= |
||
| Line 38: | Line 52: | ||
|features=houses (1B), industy tiles (25) |
|features=houses (1B), industy tiles (25) |
||
|result= |
|result= |
||
Format: <tt>SSAA</tt> |
|||
SSAA |
|||
*SS: sound effect |
*<tt>SS</tt>: sound effect |
||
*AA: animation stage |
*<tt>AA</tt>: animation stage |
||
|failure=stay in current frame |
|failure=stay in current frame |
||
|other= |
|other= |
||
| Line 47: | Line 61: | ||
{{!}}- |
{{!}}- |
||
{{!}}'''Variable 101 - 105'''{{!!}}text stack |
{{!}}'''Variable 101 - 105'''{{!!}}text stack |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
}} |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
}} |
}} |
||
Latest revision as of 20:48, 16 June 2011
Usage
Example 1
{{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 |
Example 2: Additional lines
{{Callback
|features=houses (1B), industy tiles (25)
|result=
Format: <tt>SSAA</tt>
*<tt>SS</tt>: sound effect
*<tt>AA</tt>: 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 | - |
| Variable 10 | undefined |
| Variable 18 | undefined |
| Result | Format: SSAA
|
| Fail result means | stay in current frame |
| Variable 100 | additional result |
| Variable 101 - 105 | text stack |