Template:Scenario: Difference between revisions
Jump to navigation
Jump to search
go back to the future of that past |
No edit summary |
||
Line 24: | Line 24: | ||
|} | |} | ||
{{clear|left}} | {{clear|left}} | ||
{| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=border=1 style="background-color: #{{Blue 0}}; 1px solid #{{Blue 2b}};"|else=style="display:none;"}} | <!--{| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=border=1 style="background-color: #{{Blue 0}}; 1px solid #{{Blue 2b}};"|else=style="display:none;"}} | ||
|- {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 0}};"|else=style="display:none;"}} | |- {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 0}};"|else=style="display:none;"}} | ||
| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=[[File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|170px]]|else=}} | | {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=[[File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|170px]]|else=}} | ||
Line 30: | Line 30: | ||
| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 0}};"|else=style="display:none;"}} | {{#ifeq:{{{underground|enabled}}}|disabled||{{!}}{{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|then=[[File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|170px]]|else=}}}} | | {{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 0}};"|else=style="display:none;"}} | {{#ifeq:{{{underground|enabled}}}|disabled||{{!}}{{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|then=[[File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|170px]]|else=}}}} | ||
| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 0}};"|else=style="display:none;"}} | {{#ifeq:{{{underground|enabled}}}|disabled||{{!}}{{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|then=[[File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|170px]]|else=}}}} | | {{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 0}};"|else=style="display:none;"}} | {{#ifeq:{{{underground|enabled}}}|disabled||{{!}}{{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|then=[[File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|170px]]|else=}}}} | ||
|} | |}--> | ||
{{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=[[File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|170px]]|else=}} | |||
{{exists|page=File:{{{imagelink|{{{scenario}}}}}} minimap.png|then=[[File:{{{imagelink|{{{scenario}}}}}} minimap.png|170px]]|else=}} | |||
{{#ifeq:{{{underground|enabled}}}|disabled||{{!}}{{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|then=[[File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|170px]]|else=}} | |||
{{#ifeq:{{{underground|enabled}}}|disabled||{{!}}{{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|then=[[File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|170px]]|else=}} | |||
{{clear|left}} | {{clear|left}} | ||
Revision as of 02:53, 3 February 2024
Lazy Variables
- image_size: small, huge, etc. (default is auto)
- u_image_size: small, huge, etc. (default is auto)
Variables
NOTE: Defaults are in bold. No bold means the default is blank.
Variable name | Variable description | Options | Displayed | |
---|---|---|---|---|
scenario | Scenario name | (text) | ||
size | Map size | ![]() |
S M L XL H XH G |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
image_type u_image_type |
Image type for map pics |
png jpg gif etc. |
||
underground | underground exists on map |
disabled enabled |
![]() ![]() | |
description | Scenario description | (text) | ||
victory | Victory conditions | ![]() |
get_cr get_res get_res2 get_art get_art2 get_grail get_grail2 get_town get_town2 def_all def_all_mon def_all_mon2 def_hero def_mon def_mon2 flag_cr flag_cr2 flag_mine flag_mine2 survive trans_art trans_art2 up_town up_town2 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
loss | Loss conditions | ![]() |
all hero town time |
![]() ![]() ![]() ![]() |
allies enemies |
List of colors: allied (min: 1) enemy (min: 0) |
{{red}} {{blue}} {{tan}} {{green}} {{orange}} {{purple}} {{teal}} {{pink}} |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
source | Expansion added |
![]() |
roe ab sod hc hota |
![]() ![]() ![]() ![]() ![]() |
num_play | # of players (total/human) |
![]() |
(total players)/(human players) |
5 3 |
difficulty | Campaign default difficulty |
Easy Normal Hard Expert Impossible |
![]() ![]() ![]() ![]() ![]() | |
bonus | Campaign scenario bonuses |
{{BonusCr|(Creature Name)|(number)|loc=(location)}} {{BonusB|(Town)|(Building)}} {{BonusR|(resource)|(amount)}} {{BonusArt|(artifact)}} {{BonusH|(hero name)}} {{BonusPri|(Skill)|(amount)}} {{BonusSec|(Skill)|(Level)}} {{BonusSp|(Spell)}} |
3 12 +3 | |
Cmap | Campaign map file | [[File:(Campaign level filename)|400px|(right-click text)]] | ![]() | |
carry | Anything that carries over to the next scenario |
{{Hn|(Specific Hero)|noname=}} {{An|(Specific Artifact)|noname=}} {{carry|(# strongest heroes)}} (text) |
![]() ![]() 4 ![]() all artifacts all troops | |
max_level | Maximum hero level | (level number) | ![]() |
Examples
Single Scenario
{{#ifeq:disabled|disabled|||
{{#ifeq:disabled|disabled|||
See also
Campaign Scenario
{{#ifeq:enabled|disabled|||
{{#ifeq:enabled|disabled|||
{{#ifeq:disabled|disabled|||
{{#ifeq:disabled|disabled|||
Use TinyPNG.com (<5MB) or compresspng.com (>5MB) or iloveimg.com (>50MB) to compress the map images before uploading. (The author of FreeHeroes is working on a method of auto generating map images. So as soon as that is done we will be able to easily complete this without manually uploads anymore.)