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><span style="float:right; padding-right:1em;">__TOC__</span> | <includeonly><span style="float:right; padding-right:1em;">__TOC__</span> | ||
{| border=1 style="background-color: #{{Blue | {| border=1 style="background-color: #{{Blue 0}}; color: white; border: 1px solid #{{Blue 2b}}; text-align:left; {{Sans}}" | ||
|- style="background-color: #{{Blue | |- style="background-color: #{{Blue 0}};" | ||
! rowspan=6 {{#if: {{{Cmap|}}} | | style="display: none;"}} | {{#invoke:cmap|cmap|{{{Cmap|}}}|400px|300px}} | ! rowspan=6 {{#if: {{{Cmap|}}} | | style="display: none;"}} | {{#invoke:cmap|cmap|{{{Cmap|}}}|400px|300px}} | ||
! 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> | ||
Line 11: | Line 11: | ||
| colspan="6" width="500px" style="white-space:wrap; vertical-align:top;" |<!--<span style="color: #{{Gold 2}}; {{Shadow}}">Scenario Description:</span><br>-->{{{description|Scenario description goes there.}}} | | colspan="6" width="500px" style="white-space:wrap; 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 = [[File:Accumulate Resources.png|link=Victory and Loss Conditions]] Accumulate Resources or Defeat All Enemies | get_res2 = [[File:Accumulate Resources.png|link=Victory and Loss Conditions]] Accumulate Resources | get_art = [[File:Acquire Artifact.png|link=Victory and Loss Conditions]] Acquire Artifact or Defeat All Enemies | | 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 or Defeat All Enemies | get_res2 = [[File:Accumulate Resources.png|link=Victory and Loss Conditions]] Accumulate Resources | get_art = [[File:Acquire Artifact.png|link=Victory and Loss Conditions]] Acquire Artifact or Defeat All Enemies | get_grail = [[File:Build a Grail Structure.png|link=Victory and Loss Conditions]] Build a Grail Structure or Defeat All Enemies | get_town = [[File:Capture Town.png|link=Victory and Loss Conditions]] Capture Town or Defeat All Enemies | get_town2 = [[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 or Defeat All Enemies | def_mon = [[File:Defeat Monster.png|link=Victory and Loss Conditions]] Defeat Monster or Defeat All Enemies | def_mon2 = [[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 or Defeat All Enemies | flag_cr2 = [[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 or Defeat All Enemies | flag_mine2 = [[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 or Defeat All Enemies | up_town = [[File:Upgrade Town.png|link=Victory and Loss Conditions]] Upgrade Town or Defeat All Enemies | up_town2 = [[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}}}}} | ||
Line 23: | Line 23: | ||
| colspan=2 | <span style="color: #{{Gold 2}}; {{Shadow}}">Max level:</span><br><span style="font-size:140%;">[[File:Exp2.gif|40px]]{{{max_lvl|}}}</span> | | colspan=2 | <span style="color: #{{Gold 2}}; {{Shadow}}">Max level:</span><br><span style="font-size:140%;">[[File:Exp2.gif|40px]]{{{max_lvl|}}}</span> | ||
|} | |} | ||
{{clear|left}}< | {{clear|left}} | ||
{| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=border=1 style="background-color: #{{Blue | <!--{| {{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 | |- {{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=}} | ||
| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} minimap.png|then=[[File:{{{imagelink|{{{scenario}}}}}} 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 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=}}}} | ||
| | |}--> | ||
<span style='background-color: #{{Blue 0}}; 1px solid #{{Blue 2b}};'>{{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=}}{{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 minimap.png|then=[[File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|170px]]|else=}}</span> | |||
| | |||
{{clear|left}} | {{clear|left}} | ||
{{#if: {{{difficulty|}}} | [[Category:Campaign scenarios]] | | {{#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> | [[Category:Single and Multiplayer Scenarios {{#ifeq:{{{source|}}}|hota|(HotA)|}}]]}}{{#ifeq:{{PAGENAME}}|Scenario||{{hide page title}}}}</includeonly><noinclude> | ||
==Lazy Variables== | ==Lazy Variables== | ||
Line 89: | Line 82: | ||
| 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}} |