Template:Infobox/Mission/RotM/doc: Difference between revisions

From Inkipedia, the Splatoon wiki
No edit summary
m (Text replacement - "InfoboxMission" to "Infobox/Mission")
 
(9 intermediate revisions by 4 users not shown)
Line 40: Line 40:
| Optional
| Optional
| The options for the main weapons. Can be one of the following:
| The options for the main weapons. Can be one of the following:
* Some type of main weapon, e.g. <code>Hero Shot</code>;
* Some type of main weapon, e.g. <code>Splattershot Pro</code>. Note that <code>Hero Shot</code> will be redirected to [[Hero Gear]];
* <code>Unarmed</code>, then {{Weapon|S3|Main|None|icononly}} will be displayed;
* <code>Unarmed</code>, then {{Weapon|S3|Main|None|icononly|var=Black}} will be displayed;
* Leave empty, then nothing will be displayed.
* Leave empty, then nothing will be displayed.
For more details, see {{T|Infobox/Mission/RotM/WeaponTable}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
! <code>sub1</code></br><code>sub1</code></br><code>sub1</code>
! <code>sub1</code></br><code>sub1</code></br><code>sub1</code>
Line 51: Line 52:
| Optional
| Optional
| The options for the special weapons. Leave empty to display nothing.
| The options for the special weapons. Leave empty to display nothing.
|- style="vertical-align: top;"
! <code>ftbreward1</code></br><code>ftbreward2</code></br><code>ftbreward3</code>
| Optional
| Non-cumulative first-time clear bonus rewards for each of the weapon combinations. If left empty, then "Undocumented" will be displayed.
|- style="vertical-align: top;"
! <code>screward1</code></br><code>screward2</code></br><code>screward3</code>
| Optional
| The subsequent clear rewards for each of the weapon combinations. If left empty, then "Undocumented" will be displayed.
|- style="vertical-align: top;"
! <code>try</code>
| Optional
| Must be either 1, 2, or 3. Display a "Try this!" text box on top of the corresponding weapon combination. Leave empty to suppress.
|- style="vertical-align: top;"
! <code>music</code>
| Optional
| The music played in the level.
|}
|}


== Examples ==
== Examples ==
=== Markup ===
=== Markup / Output ===
<pre>
{| class="mw-collapsible" width="100%"
* {{InfoboxMission/RotM
! colspan="2" | Example 1
|- style="vertical-align: top;"
| width="100%" |<pre>
{{Infobox/Mission/RotM
|title=Title
|mission=Mission
|image=Unknown_station.jpg
|caption=Caption
|area=Future Utopia Island
|fee=333
|lives=3
|try=2
|main1=Hero Shot
|sub1=Smallfry
|special2=Crab Tank
|main2=Splattershot Pro
|main3=Unarmed
|sub3=Curling Bomb
|ftbreward1=4001
|ftbreward2=4002
|ftbreward3=4003
|screward1=1111
|screward2=2222
|screward3=3333
|music=???}}
</pre>
|
{{Infobox/Mission/RotM
|title=Title
|mission=Mission
|image=Unknown_station.jpg
|caption=Caption
|area=Future Utopia Island
|fee=333
|lives=3
|try=2
|main1=Hero Shot
|sub1=Smallfry
|special2=Crab Tank
|main2=Splattershot Pro
|main3=Unarmed
|sub3=Curling Bomb
|ftbreward1=4001
|ftbreward2=4002
|ftbreward3=4003
|screward1=1111
|screward2=2222
|screward3=3333
|music=???}}
|}
{| class="mw-collapsible" width="100%"
! colspan="2" | Example 2
|- style="vertical-align: top;"
| width="100%" |<pre>
{{Infobox/Mission/RotM
|title=Title
|title=Title
|mission=Mission
|mission=Mission
|image=Unknown_station.jpg
|caption=Caption
|caption=Caption
|area=Future Utopia Island
|area=Future Utopia Island
|fee=333
|fee=333
|lives=3
|lives=3
|try=2
|main1=Hero Shot
|main1=Hero Shot
|sub1=Smallfry
|sub1=Smallfry
|reward1=111
|special2=Crab Tank
|special2=Crab Tank
|main2=Splattershot Pro
|main2=Splattershot Pro
|reward2=222
|main3=Unarmed
|main3=Unarmed
|sub3=Curling Bomb
|sub3=Curling Bomb
|reward3=333}}
|music=???}}
</pre>
</pre>
=== Output ===
|
* {{InfoboxMission/RotM
{{Infobox/Mission/RotM
|title=Title
|title=Title
|mission=Mission
|mission=Mission
Line 82: Line 153:
|fee=333
|fee=333
|lives=3
|lives=3
|try=2
|main1=Hero Shot
|main1=Hero Shot
|sub1=Smallfry
|sub1=Smallfry
|reward1=1111
|special2=Crab Tank
|special2=Crab Tank
|main2=Splattershot Pro
|main2=Splattershot Pro
|reward2=2222
|main3=Unarmed
|main3=Unarmed
|sub3=Curling Bomb
|sub3=Curling Bomb
|reward3=3333}}
|music=???}}
|}


<includeonly>[[Category:Templates]]</includeonly>
<includeonly>[[Category:Templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 17:39, 1 September 2023

Produces an infobox for an Return of the Mammalians mission in Splatoon 3.

Parameters

Parameter Status Description
color Optional An RGB triplet to use as the base color for formatting. The default color is {{SiteColor|<Splatoon 3>}}
style Optional A CSS property list to apply to the top-level container.
title Optional The mission's title. If absent, the page name is used.
mission Optional The mission's description. If absent, it is not displayed.
image Optional The filename to display. If not specified, an example image is used.
caption Optional Text displayed below the image.
area Required The name of the area (e.g. The Crater, Future Utopia Island, etc.).
fee Required The entry fee in power eggs.
main1
main2
main3
Optional The options for the main weapons. Can be one of the following:
  • Some type of main weapon, e.g. Splattershot Pro. Note that Hero Shot will be redirected to Hero Gear;
  • Unarmed, then will be displayed;
  • Leave empty, then nothing will be displayed.

For more details, see {{Infobox/Mission/RotM/WeaponTable}}

sub1
sub1
sub1
Optional The options for the sub weapons. Leave empty to display nothing.
special1
special2
special3
Optional The options for the special weapons. Leave empty to display nothing.
ftbreward1
ftbreward2
ftbreward3
Optional Non-cumulative first-time clear bonus rewards for each of the weapon combinations. If left empty, then "Undocumented" will be displayed.
screward1
screward2
screward3
Optional The subsequent clear rewards for each of the weapon combinations. If left empty, then "Undocumented" will be displayed.
try Optional Must be either 1, 2, or 3. Display a "Try this!" text box on top of the corresponding weapon combination. Leave empty to suppress.
music Optional The music played in the level.

Examples

Markup / Output

Example 1
{{Infobox/Mission/RotM
|title=Title
|mission=Mission
|image=Unknown_station.jpg
|caption=Caption
|area=Future Utopia Island
|fee=333
|lives=3
|try=2
|main1=Hero Shot
|sub1=Smallfry
|special2=Crab Tank
|main2=Splattershot Pro
|main3=Unarmed
|sub3=Curling Bomb
|ftbreward1=4001
|ftbreward2=4002
|ftbreward3=4003
|screward1=1111
|screward2=2222
|screward3=3333
|music=???}}

Title
Mission

Caption
Site Future Utopia Island
Fee Power Egg Alternas 333
Lives 3
Weapons

Smallfry

 Try this! 

First-time
Clear Rewards
Power Egg Alternas 4001 Power Egg Alternas 4002 Power Egg Alternas 4003
Subsequent
Clear Rewards
Power Egg Alternas 1111 Power Egg Alternas 2222 Power Egg Alternas 3333
Music ???
Example 2
{{Infobox/Mission/RotM
|title=Title
|mission=Mission
|image=Unknown_station.jpg
|caption=Caption
|area=Future Utopia Island
|fee=333
|lives=3
|try=2
|main1=Hero Shot
|sub1=Smallfry
|special2=Crab Tank
|main2=Splattershot Pro
|main3=Unarmed
|sub3=Curling Bomb
|music=???}}

Title
Mission

Caption
Site Future Utopia Island
Fee Power Egg Alternas 333
Lives 3
Weapons

Smallfry

 Try this! 

First-time
Clear Rewards
Undocumented
Subsequent
Clear Rewards
Undocumented
Music ???