Template:Scenario: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (add category)
No edit summary
Line 2: Line 2:
{{#ifexist: File:{{{scenario}}} map large.{{{image_type|png}}} | {{switch|switch1=<i>Click the image to change size</i><br />[[File:{{{scenario}}} map large.{{{image_type|png}}}|170px|border|left]]|switch2=<i>Click the image to change size</i><br />[[File:{{{scenario}}} map large.{{{image_type|png}}}|border|left]]}} |  }}
{{#ifexist: File:{{{scenario}}} map large.{{{image_type|png}}} | {{switch|switch1=<i>Click the image to change size</i><br />[[File:{{{scenario}}} map large.{{{image_type|png}}}|170px|border|left]]|switch2=<i>Click the image to change size</i><br />[[File:{{{scenario}}} map large.{{{image_type|png}}}|border|left]]}} |  }}
{{{no_underground|{{#ifexist: File:{{{scenario}}} underground map large.{{{u_image_type|png}}} |  {{switch|tag1=1|tag2=2|switch1=[[File:{{{scenario}}} underground map large.{{{u_image_type|png}}}|170px|border]]|switch2=[[File:{{{scenario}}} underground map large.{{{u_image_type|png}}}|border]]}}|  }}}}}
{{{no_underground|{{#ifexist: File:{{{scenario}}} underground map large.{{{u_image_type|png}}} |  {{switch|tag1=1|tag2=2|switch1=[[File:{{{scenario}}} underground map large.{{{u_image_type|png}}}|170px|border]]|switch2=[[File:{{{scenario}}} underground map large.{{{u_image_type|png}}}|border]]}}|  }}}}}
{{scenarioInfo|
name={{{scenario}}}
size={{{size|}}}
underground={{{if#:{{{no_underground}}}|disabled|enabled}}}
description={{{description|}}}
victory={{{victory|}}}
loss={{{loss|}}}
allies={{{allies|}}}
enemies={{{enemies|}}}
bonus={{{bonus|}}}
difficulty={{{difficulty|}}}
}}


{{clear|both}}
{{clear|both}}

Revision as of 01:55, 12 December 2023


Variables

  • scenario
  • description
  • no_underground
  • image_type
  • u_image_type

Usage

{{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.
|no_underground=
}}

Use TinyPNG.com to compress the map images before uploading.