Template:Scenario: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{{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}} | {{clear|both}} | ||
{{scenarioInfo| | {{scenarioInfo | ||
name={{{scenario}}} | |name={{{scenario}}} | ||
size={{{size|}}} | |size={{{size|}}} | ||
underground={{{if#:{{{no_underground}}}|disabled|enabled}}} | |underground={{{if#:{{{no_underground}}}|disabled|enabled}}} | ||
description={{{description|}}} | |description={{{description|}}} | ||
victory={{{victory|}}} | |victory={{{victory|}}} | ||
loss={{{loss|}}} | |loss={{{loss|}}} | ||
allies={{{allies|}}} | |allies={{{allies|}}} | ||
enemies={{{enemies|}}} | |enemies={{{enemies|}}} | ||
bonus={{{bonus|}}} | |bonus={{{bonus|}}} | ||
difficulty={{{difficulty|}}} | |difficulty={{{difficulty|}}} | ||
}}{{clear|both}} | }}{{clear|both}} | ||
== See also == | == See also == |
Revision as of 02:09, 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.