Template:Scenario: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
<includeonly>{| border=1 style="background-color: #{{Blue 0}}; color: white; border: 1px solid #{{Blue 2b}}; text-align:left; {{Sans}}"
|- style="background-color: #{{Blue 0}};"
! rowspan= 5 {{#if: {{{Cmap|}}} |  | style="display: none;"}} | {{{Cmap|}}}
! style="color: #{{Gold 2}}; {{Shadow}} height:10px;" colspan="2" |<!--Scenario Name:<br>--><span style="font-size:180%; {{Serif}}">{{{scenario|Name}}}</span>
| width="32px" style="text-align:center; vertical-align:center;"| {{#switch: {{{source|}}}| roe = [[File: Restoration of Erathia map icon.png|Restoration of Erathia|link=Expansions]] | ab = [[File: Armageddon's Blade map icon.png|Armageddon's Blade|link=Expansions]]| sod = [[File: Shadow of Death map icon.png|Shadow of Death|link=Expansions]]| hc = [[File: Heroes Chronicles map icon.png|Heroes Chronicles|link=Expansions]]| hota = [[File: Horn of the Abyss map icon.png|Horn of the Abyss|link=Expansions]]| }}
| width="32px" style="text-align:center; vertical-align:center;"| {{#if:{{{num_play|}}}|{{scenario player count|total={{#explode:{{{num_play}}}|/|0}}|human={{#explode:{{{num_play}}}|/|1}}}}}}
| width="32px" style="text-align:center; vertical-align:center;"| {{Underground map icon {{{underground|enabled}}}}}
| width="32px" style="text-align:center; vertical-align:center;"| {{{{{size|S}}} map size icon}}


|-
| colspan="6" width="500px" style="vertical-align:top;" |<!--<span style="color: #{{Gold 2}}; {{Shadow}}">Scenario Description:</span><br>-->{{{description|Scenario description goes there.}}}
|- style="height:10px;"
| width="250px" | <span style="color: #{{Gold 2}}; {{Shadow}}">Victory condition:</span><br>{{#switch: {{{victory|}}}| get_cr = [[File:Accumulate Creatures.png|link=Victory and Loss Conditions]] Accumulate Creatures | get_res = [[File:Accumulate Resources.png|link=Victory and Loss Conditions]] Accumulate Resources | get_art = [[File:Acquire Artifact.png|link=Victory and Loss Conditions]] Acquire Artifact | get_grail = [[File:Build a Grail Structure.png|link=Victory and Loss Conditions]] Build a Grail Structure | get_town = [[File:Capture Town.png|link=Victory and Loss Conditions]] Capture Town | def_all = [[File:Defeat All Enemies.png|link=Victory and Loss Conditions]] Defeat All Enemies | def_all_mon = [[File:Defeat All Monsters.png|link=Victory and Loss Conditions]] Defeat All Monsters | def_hero = [[File:Defeat Hero.png|link=Victory and Loss Conditions]] Defeat Hero | def_mon = [[File:Defeat Monster.png|link=Victory and Loss Conditions]] Defeat Monster | flag_cr = [[File:Flag All Creature Dwellings.png|link=Victory and Loss Conditions]] Flag All Creature Dwellings | flag_mine = [[File:Flag All Mines.png|link=Victory and Loss Conditions]] Flag All Mines | survive = [[File:Survive Until Time Expires.png|link=Victory and Loss Conditions]] Survive Until Time Expires | trans_art = [[File:Transport Artifact.png|link=Victory and Loss Conditions]] Transport Artifact | up_town = [[File:Upgrade Town.png|link=Victory and Loss Conditions]] Upgrade Town | }}
| colspan="5" width="250px" | <span style="color: #{{Gold 2}}; {{Shadow}}">Loss condition:</span><br>{{#switch: {{{loss|}}}| all = [[File:Lose All Your Towns and Heroes.png|link=Victory and Loss Conditions]] Lose All Your Towns and Heroes | hero = [[File:Lose Hero.png|link=Victory and Loss Conditions]] Lose Hero | town = [[File:Lose Town.png|link=Victory and Loss Conditions]] Lose Town | time = [[File:Time Expires.png|link=Victory and Loss Conditions]] Time Expires | }}
|- style="height:10px;"
| Allies: {{{allies|{{red}}}}}
| colspan=5 | Enemies: {{{enemies|}}}
|- {{#if: {{{difficulty|}}} | style="height:10px; text-align:center;" | style="display: none;"}}
| colspan=4 style="text-align:center;" | '''Choose a bonus:'''<br><!--<span style="float:left;">-->{{{bonus|{{-}}}}}<!--</span>-->
| colspan=2 align="center" | {{#ifeq:{{{difficulty|}}}|||{{{{{difficulty|Normal}}} difficulty}}}}
|}
{{clear|left}}
{| {{#ifexist:File:{{{scenario}}} map {{{image_size|large}}}.{{{image_type|png}}}|border=1 style="background-color: #{{Blue 0}}; 1px solid #{{Blue 2b}};"|style="display:none;"}}
|- {{#ifexist:File:{{{scenario}}} map {{{image_size|large}}}.{{{image_type|png}}}|style="vertical-align:top; background-color: #{{Blue 0}};"|style="display:none;"}}
| {{#ifexist:File:{{{scenario}}} map {{{image_size|large}}}.{{{image_type|png}}}|{{switch|switch1=[[File:{{{scenario}}} map {{{image_size|large}}}.{{{image_type|png}}}|170px]]|switch2=[[File:{{{scenario}}} map {{{image_size|large}}}.{{{image_type|png}}}]]}}|}}
{{#ifeq:{{{underground|enabled}}}|disabled||{{!}}{{#ifexist:File:{{{scenario}}} underground map {{{u_image_size|large}}}.{{{u_image_type|png}}}|{{switch|tag1=1|tag2=2|switch1=[[File:{{{scenario}}} underground map {{{u_image_size|large}}}.{{{u_image_type|png}}}|170px]]|switch2=[[File:{{{scenario}}} underground map {{{u_image_size|large}}}.{{{u_image_type|png}}}]]}}|}}}}
|}
{{clear|left}}
{{#if: {{{difficulty|}}} | [[Category:Campaign scenarios]] | == See also ==
* [[List of maps]]
* [[List of maps (HotA)]]
[[Category:Single and Multiplayer Scenarios {{#ifeq:{{{source|}}}|hota|(HotA)|}}]]}}{{#ifeq:{{PAGENAME}}|Scenario||{{hide page title}}}}</includeonly><noinclude>
==Lazy Variables==
* image_size: small, huge, etc. (default is large)
* u_image_size: small, huge, etc. (default is large)
{{ScenarioVars table}}
==Examples==
===Single Scenario===
{{scenario
| scenario      = Emerald Isles
| description    = The Emerald Isles lie along a major shipping route, which several Barons each seek to control for themselves. You have been chosen to 'persuade' the others to give up their claims.
| num_play      = 4/4
| size          = M
| source        = roe
| victory        = def_all
| loss          = all
| allies        = {{red}}
| enemies        = {{blue}}{{tan}}{{purple}}
| underground    = disabled
}}
===Campaign Scenario (in prog)===
{{scenario
| scenario      = Savaging the Scavengers
| description    = Obliterate your opponents, but once again do not lose the hero Mutare. To do so would mean instant destruction. Mutare will be limited to eighteenth level, but will carry over the Dragon Scale Shield to use in the next scenario.
| num_play      = 3/1
| size          = L
| source        = ab
| victory        = def_all
| loss          = hero
| allies        = {{red}}
| enemies        = {{tan}}{{green}}
| bonus          = {{BonusArt|Quiet Eye of the Dragon}}{{BonusArt|Dragon Wing Tabard}}{{BonusCr|Medusa|4}}
| difficulty    = Hard
| Cmap          =
}}
{{scenario
| scenario      = Little Timmy's Campaign Map
| description    = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
| underground    = disabled
| num_play      = 5/3
| size          = XH
| source        = sod
| victory        = def_all_mon
| loss          = time
| allies        = {{red}}{{green}}
| enemies        = {{blue}}{{tan}}{{purple}}
| difficulty    = impossible
| bonus          = {{BonusCr|Wyvern Monarch|3}}{{BonusArt|Skull Helmet}}{{BonusR|Gold|5000}}{{BonusB|Castle|Stables}}
| Cmap          = [[File:Campaign map - colored province.png|400px|Beat the bad guys before they do the bad stuff!]]
}}
Use <span class=plainlinks>[https://tinypng.com TinyPNG.com]</span> to compress the map images before uploading (also compresses JPG).
__NOTOC__
[[Category:Map templates]]</noinclude>

Revision as of 03:19, 20 December 2023