Template:Infobox Mission Variant: Difference between revisions
(Created page with "<includeonly><div class="infobox-mission-variant"> {| class="wikitable" ! colspan="2" class="infobox-mission-header" |{{{name|{{PAGENAME}}}}} |- | colspan="2" class="infobox-m...") |
(forgot to make party size toggleable and forgot to fix documentation) |
||
| Line 15: | Line 15: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| Party Size | {{#if:{{{min players|}}}| | ||
{{!}} Party Size | |||
{{!}} {{Party Size|min={{{min players|1}}}|max={{{max players|6}}}|recommended={{{recommended players|}}}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{entry level|}}}| | {{#if:{{{entry level|}}}| | ||
{{!}} Level To Enter | {{!}} Level To Enter | ||
| Line 37: | Line 39: | ||
|name <!-- The name of the mission variant. If omitted, uses the page name. --> | |name <!-- The name of the mission variant. If omitted, uses the page name. --> | ||
|image <!-- The thumbnail for the mission variant. Will always be rendered at 200px wide.--> | |image <!-- The thumbnail for the mission variant. Will always be rendered at 200px wide.--> | ||
|field <!-- The field for the mission variant. If omitted, will be | |field <!-- The field for the mission variant. If omitted, table row will be skipped. Does not currently support arrays. --> | ||
|type <!-- The mission type. Does not currently support arrays. --> | |type <!-- The mission type. If omitted, table row will be skipped. Does not currently support arrays. --> | ||
|elements <!-- The elements that the enemies have in the mission variant. --> | |elements <!-- The elements that the enemies have in the mission variant. If omitted, table row will be skipped. --> | ||
|entry level <!-- The level required to enter a mission. --> | |min players <!-- The minimum amount of players for the mission. If omitted, table row will be skipped. --> | ||
|max players <!-- The maximum amount of players for the mission. Currently does nothing if min players aren't specified. --> | |||
|recommended players <!-- The recommended amount of players for the mission. Currently does nothing if min players aren't specified. --> | |||
|entry level <!-- The level required to enter a mission. If omitted, table row will be skipped. --> | |||
|nocat <!-- Does not add the mission variant to a category. --> | |nocat <!-- Does not add the mission variant to a category. --> | ||
}} | }} | ||
| Line 59: | Line 64: | ||
|field=caves | |field=caves | ||
|elements= {{Element|ground}} {{Element|fire}} {{Element|light}} {{Element|dark}} {{Element|lightning}} | |elements= {{Element|ground}} {{Element|fire}} {{Element|light}} {{Element|dark}} {{Element|lightning}} | ||
|nocat | |nocat=1 | ||
}}</pre> | }}</pre> | ||
{{Infobox Mission Variant | {{Infobox Mission Variant | ||
| Line 68: | Line 73: | ||
|elements= {{Element|ground}} {{Element|fire}} {{Element|light}} {{Element|dark}} {{Element|lightning}} | |elements= {{Element|ground}} {{Element|fire}} {{Element|light}} {{Element|dark}} {{Element|lightning}} | ||
|entry level=160 | |entry level=160 | ||
|nocat | |min players=1 | ||
|nocat=1 | |||
}}</noinclude> | }}</noinclude> | ||
Latest revision as of 22:12, 4 January 2024
Purpose
An infobox for a mission variant.
Parameter List
{{Infobox Mission Variant
|id <!-- The ID of the mission variant. Currently unused. -->
|name <!-- The name of the mission variant. If omitted, uses the page name. -->
|image <!-- The thumbnail for the mission variant. Will always be rendered at 200px wide.-->
|field <!-- The field for the mission variant. If omitted, table row will be skipped. Does not currently support arrays. -->
|type <!-- The mission type. If omitted, table row will be skipped. Does not currently support arrays. -->
|elements <!-- The elements that the enemies have in the mission variant. If omitted, table row will be skipped. -->
|min players <!-- The minimum amount of players for the mission. If omitted, table row will be skipped. -->
|max players <!-- The maximum amount of players for the mission. Currently does nothing if min players aren't specified. -->
|recommended players <!-- The recommended amount of players for the mission. Currently does nothing if min players aren't specified. -->
|entry level <!-- The level required to enter a mission. If omitted, table row will be skipped. -->
|nocat <!-- Does not add the mission variant to a category. -->
}}
Examples
Skeleton Mission Variant
{{Infobox Mission Variant
|nocat=1
}}
| Infobox Mission Variant | |
|---|---|
Phantom Fissure S4
{{Infobox Mission Variant
|name=Phantom Fissure S4
|image=Mysterious Caves.png
|type=rare
|field=caves
|elements= {{Element|ground}} {{Element|fire}} {{Element|light}} {{Element|dark}} {{Element|lightning}}
|nocat=1
}}
| Phantom Fissure S4 | |
|---|---|
| Field | Mysterious Caves |
| Type | Rare Mission |
| Party Size | 1-6 Players |
| Level To Enter | 160 |
| Enemy Elements | |