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

From Inkipedia, the Splatoon wiki
(Added to doc)
m (Text replacement - "InfoboxMission" to "Infobox/Mission")
 
(2 intermediate revisions by 2 users not shown)
Line 43: Line 43:
* <code>Unarmed</code>, then {{Weapon|S3|Main|None|icononly|var=Black}} 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|InfoboxMission/RotM/WeaponTable}}
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 59: Line 59:
! <code>screward1</code></br><code>screward2</code></br><code>screward3</code>
! <code>screward1</code></br><code>screward2</code></br><code>screward3</code>
| Optional
| Optional
| The subsequent clear rewards for each of the weapon combinations. Leave empty to display nothing.
| The subsequent clear rewards for each of the weapon combinations. If left empty, then "Undocumented" will be displayed.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
! <code>try</code>
! <code>try</code>
Line 71: Line 71:


== 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
|title=Title
|mission=Mission
|mission=Mission
Line 88: Line 91:
|main3=Unarmed
|main3=Unarmed
|sub3=Curling Bomb
|sub3=Curling Bomb
|ftbreward1=Undocumented
|ftbreward1=4001
|ftbreward2=4002
|ftbreward3=4003
|screward1=1111
|screward1=1111
|screward2=2222
|screward2=2222
Line 94: Line 99:
|music=???}}
|music=???}}
</pre>
</pre>
=== Output ===
|
* {{InfoboxMission/RotM
{{Infobox/Mission/RotM
|title=Title
|title=Title
|mission=Mission
|mission=Mission
Line 110: Line 115:
|main3=Unarmed
|main3=Unarmed
|sub3=Curling Bomb
|sub3=Curling Bomb
|ftbreward1=Undocumented
|ftbreward1=4001
|ftbreward2=4002
|ftbreward3=4003
|screward1=1111
|screward1=1111
|screward2=2222
|screward2=2222
|screward3=3333
|screward3=3333
|music=???}}
|music=???}}
|}
{| class="mw-collapsible" width="100%"
! colspan="2" | Example 2
|- 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
|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
|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 ???