Template:Scenario: Difference between revisions
Jump to navigation
Jump to search
(Add num_play and source params (TODO: Delete difficulty? doesn't make much sense on scenarios)) |
(remove difficulty, add sweet switch statements) |
||
Line 7: | Line 7: | ||
|no_underground={{{if#:{{{no_underground}}}|disabled|enabled}}} | |no_underground={{{if#:{{{no_underground}}}|disabled|enabled}}} | ||
|description={{{description|}}} | |description={{{description|}}} | ||
|victory={{{victory|}}} | |victory={{#switch: {{{victory|}}}| get_cr = [[File:Accumulate Creatures.png]] Accumulate Creatures | get_res = [[File:Accumulate Resources.png]] Accumulate Resources | get_art = [[File:Acquire Artifact.png]] Acquire Artifact | get_grail = [[File:Build a Grail Structure.png]] Build a Grail Structure | get_town = [[File:Capture Town.png]] Capture Town | def_all = [[File:Defeat All Enemies.png]] Defeat All Enemies | def_all_mon = [[File:Defeat All Monsters.png]] Defeat All Monsters | def_hero = [[File:Defeat Hero.png]] Defeat Hero | def_mon = [[File:Defeat Monster.png]] Defeat Monster | flag_cr = [[File:Flag All Creature Dwellings.png]] Flag All Creature Dwellings | flag_mine = [[File:Flag All Mines.png]] Flag All Mines | survive = [[File:Survive Until Time Expires.png]] Survive Until Time Expires | trans_art = [[File:Transport Artifact.png]] Transport Artifact | up_town = [[File:Upgrade Town.png]] Upgrade Town | }} | ||
|loss={{{loss|}}} | |loss={{#switch: {{{loss|}}}| all = [[File:Lose All Your Towns and Heroes.png]] Lose All Your Towns and Heroes | hero = [[File:Lose Hero.png]] Lose Hero | town = [[File:Lose Town.png]] Lose Town | time = [[File:Time Expires.png]] Time Expires | }} | ||
|allies={{{allies|}}} | |allies={{{allies|}}} | ||
|enemies={{{enemies|}}} | |enemies={{{enemies|}}} | ||
Line 28: | Line 28: | ||
! scenario | ! scenario | ||
! size | ! size | ||
! image_type | ! image_type<br>u_image_type | ||
! no_underground | ! no_underground | ||
! description | ! description | ||
Line 36: | Line 35: | ||
! allies | ! allies | ||
! enemies | ! enemies | ||
! source | ! source | ||
! num_play | ! num_play | ||
Line 43: | Line 41: | ||
| rowspan=2 |Scenario<br>name | | rowspan=2 |Scenario<br>name | ||
| Map<br>size | | Map<br>size | ||
| | | rowspan=2 |Image type<br>for map pics | ||
| rowspan=2 |If present,<br>no underground<br>on map | | rowspan=2 |If present,<br>no underground<br>on map | ||
| rowspan=2 |Scenario<br>description | | rowspan=2 |Scenario<br>description | ||
Line 49: | Line 47: | ||
| Loss conditions | | Loss conditions | ||
| colspan=2 rowspan=2 | List of colors:<br>allied (min: 1)<br>enemy (min: 0) | | colspan=2 rowspan=2 | List of colors:<br>allied (min: 1)<br>enemy (min: 0) | ||
| Expansion<br>added | | Expansion<br>added | ||
| # of players<br>(total/human) | | # of players<br>(total/human) | ||
Line 63: | Line 60: | ||
| | | | ||
| {{S map size icon}} S<br>{{M map size icon}} M<br>{{L map size icon}} L<br>{{XL map size icon}} XL<br>{{H map size icon}} H<br>{{XH map size icon}} XH<br>{{G map size icon}} G | | {{S map size icon}} S<br>{{M map size icon}} M<br>{{L map size icon}} L<br>{{XL map size icon}} XL<br>{{H map size icon}} H<br>{{XH map size icon}} XH<br>{{G map size icon}} G | ||
| | | style="text-align:center;"|'''png'''<br>jpg<br>gif<br>etc. | ||
| {{Underground map icon disabled}} (disabled)<br>{{Underground map icon enabled}} '''(enabled)''' | | {{Underground map icon disabled}} (disabled)<br>{{Underground map icon enabled}} '''(enabled)''' | ||
| | | | ||
| [[File:Accumulate Creatures.png]] Accumulate Creatures<br>[[File:Accumulate Resources.png]] Accumulate Resources<br>[[File:Acquire Artifact.png]] Acquire Artifact<br>[[File:Build a Grail Structure.png]] Build a Grail Structure<br>[[File:Capture Town.png]] Capture Town<br>[[File:Defeat All Enemies.png]] Defeat All Enemies<br>[[File:Defeat All Monsters.png]] Defeat All Monsters<br>[[File:Defeat Hero.png]] Defeat Hero<br>[[File:Defeat Monster.png]] Defeat Monster<br>[[File:Flag All Creature Dwellings.png]] Flag All Creature Dwellings<br>[[File:Flag All Mines.png]] Flag All Mines<br>[[File:Survive Until Time Expires.png]] Survive Until Time Expires<br>[[File:Transport Artifact.png]] Transport Artifact<br>[[File:Upgrade Town.png]] Upgrade Town | | get_cr - [[File:Accumulate Creatures.png]] Accumulate Creatures<br>get_res - [[File:Accumulate Resources.png]] Accumulate Resources<br>get_art - [[File:Acquire Artifact.png]] Acquire Artifact<br>get_grail - [[File:Build a Grail Structure.png]] Build a Grail Structure<br>get_town - [[File:Capture Town.png]] Capture Town<br>def_all - [[File:Defeat All Enemies.png]] Defeat All Enemies<br>def_all_mon - [[File:Defeat All Monsters.png]] Defeat All Monsters<br>def_hero - [[File:Defeat Hero.png]] Defeat Hero<br>def_mon - [[File:Defeat Monster.png]] Defeat Monster<br>flag_cr - [[File:Flag All Creature Dwellings.png]] Flag All Creature Dwellings<br>flag_mine - [[File:Flag All Mines.png]] Flag All Mines<br>survive - [[File:Survive Until Time Expires.png]] Survive Until Time Expires<br>trans_art - [[File:Transport Artifact.png]] Transport Artifact<br>up_town - [[File:Upgrade Town.png]] Upgrade Town | ||
| <span style="white-space:nowrap;">[[File:Lose All Your Towns and Heroes.png]] Lose All Your Towns and Heroes</span><br>[[File:Lose Hero.png]] Lose Hero<br>[[File:Lose Town.png]] Lose Town<br>[[File:Time Expires.png]] Time Expires | | <span style="white-space:nowrap;">all - [[File:Lose All Your Towns and Heroes.png]] Lose All Your Towns and Heroes</span><br>hero - [[File:Lose Hero.png]] Lose Hero<br> town - [[File:Lose Town.png]] Lose Town<br>time - [[File:Time Expires.png]] Time Expires | ||
| colspan=2 |{{red}} {{tl|red}}<br>{{blue}} {{tl|blue}}<br>{{tan}} {{tl|tan}}<br>{{green}} {{tl|green}}<br>{{orange}} {{tl|orange}}<br>{{purple}} {{tl|purple}}<br>{{teal}} {{tl|teal}}<br>{{pink}} {{tl|pink}} | | colspan=2 |{{red}} {{tl|red}}<br>{{blue}} {{tl|blue}}<br>{{tan}} {{tl|tan}}<br>{{green}} {{tl|green}}<br>{{orange}} {{tl|orange}}<br>{{purple}} {{tl|purple}}<br>{{teal}} {{tl|teal}}<br>{{pink}} {{tl|pink}} | ||
| [[File:Restoration of Erathia map icon.png]]roe<br>[[File:Armageddon's Blade map icon.png]]ab<br>[[File:Shadow of Death map icon.png]]sod<br>[[File:Horn of the Abyss map icon.png]]hota | |||
| [[File:Restoration of Erathia map icon.png]] | |||
|} | |} | ||
Line 81: | Line 77: | ||
| num_play = 4/4 | | num_play = 4/4 | ||
| size = M | | size = M | ||
| source = | | source = roe | ||
| victory = | | victory = def_all | ||
| loss = | | loss = all | ||
| allies = {{red}} | | allies = {{red}} | ||
| enemies = {{blue}}{{tan}}{{purple}} | | enemies = {{blue}}{{tan}}{{purple}} |
Revision as of 01:45, 13 December 2023
Lazy Variables
- image_size: small, huge, etc. (default is large)
- u_image_size: small, huge, etc. (default is large)
Variables
NOTE: Defaults are in bold. No bold means the default is blank.
scenario | size | image_type u_image_type |
no_underground | description | victory | loss | allies | enemies | source | num_play |
---|---|---|---|---|---|---|---|---|---|---|
Scenario name |
Map size |
Image type for map pics |
If present, no underground on map |
Scenario description |
Victory conditions | Loss conditions | List of colors: allied (min: 1) enemy (min: 0) |
Expansion added |
# of players (total/human) | |
S M L XL H XH G |
png jpg gif etc. |
(disabled) (enabled) |
get_cr - Accumulate Creatures get_res - Accumulate Resources get_art - Acquire Artifact get_grail - Build a Grail Structure get_town - Capture Town def_all - Defeat All Enemies def_all_mon - Defeat All Monsters def_hero - Defeat Hero def_mon - Defeat Monster flag_cr - Flag All Creature Dwellings flag_mine - Flag All Mines survive - Survive Until Time Expires trans_art - Transport Artifact up_town - Upgrade Town |
all - Lose All Your Towns and Heroes hero - Lose Hero town - Lose Town time - Time Expires |
{{red}} {{blue}} {{tan}} {{green}} {{orange}} {{purple}} {{teal}} {{pink}} |
roe ab sod hota |
Example
See also
Use TinyPNG.com to compress the map images before uploading (also compresses JPG).