Template:Scenario: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#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]]}}|}} | <includeonly>{{#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]]}}|}}}}} | ||
{{clear|both}} | |||
{{scenarioInfo| | {{scenarioInfo| | ||
name={{{scenario}}} | name={{{scenario}}} |
Revision as of 02:08, 12 December 2023
Variables
- image_type= jpg, gif, etc. (default png)
- u_image_type= jpg, gif, etc. (default png)
- scenario= Scenario name
- size= Size category (S, M, L, XL, H, XH, or G)
- no_underground= (you can just leave this blank: |no_underground=|)
- description= Scenario description text.
- victory= Victory conditions. Existing icons, with default in bold:
- loss= Loss conditions. Existing icons, with default in bold:
- allies= list of allied colors. (There's always at least the player's own color.)
- enemies= list of enemy colors. (This can actually be blank in some maps.)
- bonus= the two or three available bonus items
- difficulty= the default difficulty level for this map. Defaults to Hard, the middle level.
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= }}
Example
See also
Use TinyPNG.com to compress the map images before uploading.