Editing Template:Scenario
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{| border=1 style="background-color: #{{Blue 0}}; color: white; border: 1px solid #{{Blue 2b}}; text-align:left; {{Sans}}" | ||
{| border=1 style="background-color: #{{Blue | |- style="background-color: #{{Blue 0}};" | ||
|- style="background-color: #{{Blue | ! rowspan= 5 {{#if: {{{Cmap|}}} | | style="display: none;"}} | {{{Cmap|}}} | ||
! rowspan= | |||
! style="color: #{{Gold 2}}; {{Shadow}} height:10px;" colspan="2" |<!--Scenario Name:<br>--><span style="font-size:180%; {{Serif}}">{{{scenario|Name}}}</span> | ! 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 | | 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]]| 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;"| {{#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;"| {{Underground map icon {{{underground|enabled}}}}} | ||
| width="32px" style="text-align:center; vertical-align:center;"| {{{{{size|S}}} map size icon}} | | width="32px" style="text-align:center; vertical-align:center;"| {{{{{size|S}}} map size icon}} | ||
|- | |- | ||
| colspan="6" width="500px" style=" | | 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;" | |- 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 | | 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 | }} | | 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;" | |- style="height:10px;" | ||
| Allies: {{{allies|{{red}}}}} | | Allies: {{{allies|{{red}}}}} | ||
| colspan=5 | Enemies: {{{enemies|}}} | | colspan=5 | Enemies: {{{enemies|}}} | ||
|- {{#if: {{{difficulty|}}} | style="height:10px | |||
| colspan=4 style="text-align:center;" | '''Choose a bonus:'''<br> | |- {{#if: {{{difficulty|}}} | style="height:10px;" | style="display: none;"}} | ||
| colspan=2 align="center" | {{ | | colspan=4 style="text-align:center;" | '''Choose a bonus:'''<br><span style="float:left;">{{{bonus|{{-}}}}}</span> | ||
| colspan=2 align="center" | {{{{{difficulty|}}} difficulty}} | |||
|} | |} | ||
{{clear| | {{clear|both}} | ||
{| | {| border=1 style="background-color: #{{Blue 0}}; 1px solid #{{Blue 2b}};" | ||
|- | |- style="background-color: #{{Blue 0}};" | ||
| {{ | | {{#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|both}} | |||
{ | |||
| | |||
| | |||
{{clear| | |||
{{#if: {{{difficulty|}}} | [[Category:Campaign scenarios]] | | {{#if: {{{difficulty|}}} | [[Category:Campaign scenarios]] | == See also == | ||
[[Category:Single and Multiplayer Scenarios {{#ifeq:{{{source|}}}|hota|(HotA)|}}]] | * [[List of maps]] | ||
* [[List of maps (HotA)]] | |||
[[Category:Single and Multiplayer Scenarios {{#ifeq:{{{source|}}}|hota|(HotA)|}}]]{{hide page title}}}}</includeonly><noinclude> | |||
==Lazy Variables== | ==Lazy Variables== | ||
* image_size: small, huge, etc. (default is | * image_size: small, huge, etc. (default is large) | ||
* u_image_size: small, huge, etc. (default is | * u_image_size: small, huge, etc. (default is large) | ||
{{ScenarioVars table}} | {{ScenarioVars table}} | ||
Line 65: | Line 55: | ||
| underground = disabled | | underground = disabled | ||
}} | }} | ||
===Campaign Scenario=== | ===Campaign Scenario (in prog)=== | ||
{{scenario | {{scenario | ||
| scenario = Savaging the Scavengers | | scenario = Savaging the Scavengers | ||
Line 78: | Line 68: | ||
| bonus = {{BonusArt|Quiet Eye of the Dragon}}{{BonusArt|Dragon Wing Tabard}}{{BonusCr|Medusa|4}} | | bonus = {{BonusArt|Quiet Eye of the Dragon}}{{BonusArt|Dragon Wing Tabard}}{{BonusCr|Medusa|4}} | ||
| difficulty = Hard | | difficulty = Hard | ||
| Cmap = | | Cmap = [[File:Nighon.PNG]] | ||
}} | }} | ||
Line 89: | Line 79: | ||
| size = XH | | size = XH | ||
| source = sod | | source = sod | ||
| victory = | | victory = def_all_mon | ||
| loss = time | | loss = time | ||
| allies = {{red}}{{green}} | | allies = {{red}}{{green}} | ||
| enemies = {{blue}}{{tan}}{{purple}} | | enemies = {{blue}}{{tan}}{{purple}} | ||
| difficulty = impossible | | difficulty = impossible | ||
| bonus = {{BonusCr|Wyvern Monarch|3}}{{BonusArt|Skull Helmet}}{{BonusR|Gold|5000}}{{BonusB|Castle|Stables}} | | 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!]] | | 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 | Use <span class=plainlinks>[https://tinypng.com TinyPNG.com]</span> to compress the map images before uploading (also compresses JPG). | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Map templates]]</noinclude> | [[Category:Map templates]]</noinclude> |