User:Untitled Goose/Sandbox/InfoboxRotM: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Okay, NOW I've added it.)
m (Text replacement - "InfoboxProperty" to "Infobox/Property")
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox|open|color={{{color|{{SiteColor|S3}}}}}|style={{{style|}}}|title={{{title|{{PAGENAME}}}}}{{#if:{{{mission|}}}|<br><small><small>''{{{mission}}}''</small></small>}}|image={{{image|}}}|caption={{{caption|}}}}}
<includeonly>{{Infobox|open|color={{{color|{{SiteColor|Splatoon 3}}}}}|style={{{style|}}}|title={{{title|{{PAGENAME}}}}}{{#if:{{{mission|}}}|<br><small><small>''{{{mission}}}''</small></small>}}|image={{{image|}}}|caption={{{caption|}}}}}
{| style="border-spacing: 4px;"
{| style="border-spacing: 4px;"
{{#ifeq|{{{site}}}|00||{{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Site|[[{{#switch:{{{site}}}
|01  = Future Utopia Island
|02  = Cozy & Safe Factory
|03  = Cryogenic Hopetown
|04  = Landfill Dreamland
|05  = Eco-Forest Treehills
|06  = Happiness Research Lab
|#default={{{site}}}
}}]]}}}}
{{#switch:{{{site}}}  
{{#switch:{{{site}}}  
|00                  = {{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Mission Number|0000}}
|The Crater          = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Mission|{{RotMMission|Crater|{{{number}}}}}}}
|The Crater           = {{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Mission Number|No. {{{number}}}}}
|Alterna Space Center = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Stage|{{RotMMission|Rocket|{{{number}}}}}}}
|Alterna Space Center = {{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Stage|{{{number}}}}}
|#default            = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Mission|{{RotMMission|{{{site}}}|{{{number}}}}}}}
|#default            = {{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Mission Number|{{{site}}}{{{number}}}}}
}}
}}
{{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Entry Fee|{{Cost|S3|{{{fee|No Fee}}}|pe}}}}
{{#if:{{#if:{{{fee|}}}|{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Entry Fee|{{Cost|S3|{{{fee}}}|pe}}}}}}
{{#if|{{{lives|}}}|{{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Lives|[[File:RotM Life Icon.png|16px|link=]] × {{{lives}}}}}}}
{{#if:{{{lives|}}}|{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Lives|[[File:RotM Life Icon.png|16px|link=]] × {{{lives}}}}}}}}}
{{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Weapons and rewards|{|
{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Weapons {{#if:{{{reward1|}}}|and rewards}}|
|{{User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry|main={{{main1}}}|sub={{{sub1}}}|special={{{special1|}}}|try={{{try|}}}|entryno=1}}
{{{!}}
|{{#if:{{{main2}}}|{{User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry|main={{{main2}}}|sub={{{sub2}}}|special={{{special2|}}}|try={{{try|}}}|entryno=2}}}}
{{!}}{{User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry|main={{{main1}}}|sub={{{sub1}}}|special={{{special1|}}}|try={{{try|false}}}|entryno=1}}
|{{#if:{{{main3}}}|{{User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry|main={{{main3}}}|sub={{{sub3}}}|special={{{special3|}}}|try={{{try|}}}|entryno=3}}}}
{{!}}{{#if:{{{main2|}}}|{{User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry|main={{{main2}}}|sub={{{sub2}}}|special={{{special2|}}}|try={{{try}}}|entryno=2}}}}
|-
{{!}}{{#if:{{{main3|}}}|{{User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry|main={{{main3}}}|sub={{{sub3}}}|special={{{special3|}}}|try={{{try}}}|entryno=3}}}}
|{{#if:{{{reward1}}}|{{Cost|S3|{{{reward1}}}|pe}}}}
{{!}}-
|{{#if:{{{reward2}}}|{{Cost|S3|{{{reward2}}}|pe}}}}
{{!}}{{#if:{{{reward1|}}}|{{Cost|S3|{{{reward1}}}|pe}}}}
|{{#if:{{{reward3}}}|{{Cost|S3|{{{reward3}}}|pe}}}}
{{!}}{{#if:{{{reward2|}}}|{{Cost|S3|{{{reward2}}}|pe}}}}
|}
{{!}}{{#if:{{{reward3|}}}|{{Cost|S3|{{{reward3}}}|pe}}}}
{{!}}}
}}
}}
{{#if:{{{ftb|}}}|{{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|First-Time Bonus|{{Cost|S3|{{{ftb}}}|pe}}}}}}
{{#if:{{{ftb|}}}|{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|First-Time Bonus|{{Cost|S3|{{{ftb}}}|pe}}}}}}
{{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|{{color-link|Music|black}}|{{{music|Unknown}}}}}
{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|{{color-link|Music|black}}|{{{music|Unknown}}}}}
|}
|}
</div>
</div>
[[Category:Missions in Return of the Mammalians]]
[[Category:Return of the Mammalians missions]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
__NOTOC__
__NOTOC__
Produces an infobox for an [[Octo Expansion]] mission.
Produces an infobox for a [[Return of the Mammalians]] mission.


=== Parameters ===
=== Parameters ===
{|
{| class="wikitable sitecolor-s3"
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>color</code>||Optional.||An RGB triplet to use as the base color for formatting. The default color is {{t|SiteColor|S3}}.
|<code>color</code>||Optional.||An RGB triplet to use as the base color for formatting. The default color is {{t|SiteColor|S3}}.
Line 55: Line 46:
|<code>site</code>||Required.||Where the mission is located. Must be a two-digit number with leading zero, "The Crater", "Alterna Space Center", or "00" for [[After Alterna]].
|<code>site</code>||Required.||Where the mission is located. Must be a two-digit number with leading zero, "The Crater", "Alterna Space Center", or "00" for [[After Alterna]].
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>number</code>||Required.||The mission's number. Must be a two-digit number with leading zero for missions in Alterna, or a single digit for mission in The Crater or Alterna Space Center.
|<code>number</code>||Required.||The mission's number. Should be a two-digit number with leading zero for missions in Alterna, or a single digit for missions in The Crater.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>fee</code>||Optional.||The fee, in Power Eggs, for entering this mission. If absent, it is not displayed. Use "No Fee" where appicable.
|<code>fee</code>||Optional.||The fee, in Power Eggs, for entering this mission. If absent, it is not displayed. Use "No Fee" where appicable.
Line 63: Line 54:
|<code>lives</code>||Optional.||The number of lives for each attempt of this mission. If absent, it is not displayed. Should only be absent for missions in The Crater; missions in Alterna Space Center give one life each.
|<code>lives</code>||Optional.||The number of lives for each attempt of this mission. If absent, it is not displayed. Should only be absent for missions in The Crater; missions in Alterna Space Center give one life each.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>main1<br />sub1<br />special1<br />main2<br />sub2<br />special2<br />main3<br />sub3<br />special3</code>|| Optional. ||The weapons used in the mission. See [[User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry]].
|<code>main1<br />sub1<br />special1</code>||Required (with exceptions).||The primary weapon set used in the mission. See [[User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry]].
|- style="vertical-align: top;"
|<code>main2<br />sub2<br />special2<br />main3<br />sub3<br />special3</code>||Optional.||Other available weapon sets. Usage is the same as the first set.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>reward1<br/>reward2<br />reward3</code>||Optional.||The reward in Power Eggs for completing the mission with each weapon set. If not set, it is not displayed.
|<code>reward1<br/>reward2<br />reward3</code>||Optional.||The reward in Power Eggs for completing the mission with each weapon set. If not set, it is not displayed.
Line 111: Line 104:
|special1 = Ultra Stamp
|special1 = Ultra Stamp
|reward1 = 600
|reward1 = 600
|main2 = Unarmed
|main2 = None
|sub2 = Null
|sub2 = None
|reward2 = 800
|reward2 = 800
|ftb = 900
|ftb = 900
Line 131: Line 124:
|special1 = Ultra Stamp
|special1 = Ultra Stamp
|reward1 = 600
|reward1 = 600
|main2 = Unarmed
|main2 = None
|sub2 = Null
|sub2 = None
|reward2 = 800
|reward2 = 800
|ftb = 900
|ftb = 900
Line 155: Line 148:
|
|
{{User:Untitled Goose/Sandbox/InfoboxRotM
{{User:Untitled Goose/Sandbox/InfoboxRotM
|title = Enter the Stamp Gauntlet
|title = Zipping over the Neighborhood
|mission =Smash all enemies within the time limit.
|mission = Use the [[Zipcaster]] to reach the goal.
|image = Unknown_station.jpg
|image = Unknown_station.jpg
|site = 06
|site = 05
|number = 12
|number = 06
|music = ???
|music = ???
|fee = 50
|fee = 50
|lives = 3
|lives = 3
|main1 = None
|main1 = Octobrush
|sub1 = Null
|sub1 = Null
|special1 = Ultra Stamp
|special1 = Zipcaster
|reward1 = 600
|reward1 = 600
|main2 = Unarmed
|ftb = Undocumented
|sub2 = Null
|reward2 = 800
|ftb = 900
|try = 1
}}
}}
|-
|-
Line 178: Line 167:
|image = Unknown_station.jpg
|image = Unknown_station.jpg
|site = Alterna Space Center
|site = Alterna Space Center
|number = 1
|number = 01
|music = ???
|music = ???
|fee = No Fee
|fee = No Fee
Line 190: Line 179:
|image = Unknown_station.jpg
|image = Unknown_station.jpg
|site = Alterna Space Center
|site = Alterna Space Center
|number = 1
|number = 01
|music = ???
|music = ???
|fee = No Fee
|fee = No Fee

Latest revision as of 18:05, 1 September 2023


Produces an infobox for a Return of the Mammalians mission.

Parameters

color Optional. An RGB triplet to use as the base color for formatting. The default color is {{SiteColor|<S3>}}.
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.
site Required. Where the mission is located. Must be a two-digit number with leading zero, "The Crater", "Alterna Space Center", or "00" for After Alterna.
number Required. The mission's number. Should be a two-digit number with leading zero for missions in Alterna, or a single digit for missions in The Crater.
fee Optional. The fee, in Power Eggs, for entering this mission. If absent, it is not displayed. Use "No Fee" where appicable.
music Optional. The music that plays in this mission.
lives Optional. The number of lives for each attempt of this mission. If absent, it is not displayed. Should only be absent for missions in The Crater; missions in Alterna Space Center give one life each.
main1
sub1
special1
Required (with exceptions). The primary weapon set used in the mission. See User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry.
main2
sub2
special2
main3
sub3
special3
Optional. Other available weapon sets. Usage is the same as the first set.
reward1
reward2
reward3
Optional. The reward in Power Eggs for completing the mission with each weapon set. If not set, it is not displayed.
ftb Optional. The First-Time Bonus, added to the usual reward when completing the mission for the first time.
try Optional. If set, marks the chosen weapon set as the recommended choice. Value must be 1, 2 or 3.

Example

Markup / output

{{User:Untitled Goose/Sandbox/InfoboxRotM
|title = Octarians in the Crater? YIKES!
|image = Unknown_station.jpg
|site = The Crater
|number = 1
|music = ???
|main1 = Hero Gear
|sub1 = Null
|reward1 = 500
}}

Octarians in the Crater? YIKES!
Unknown station.jpg
Mission No. 1
Weapons and rewards


Power Egg Alternas 500


Music ???


{{User:Untitled Goose/Sandbox/InfoboxRotM
|title = Enter the Stamp Gauntlet
|mission =Smash all enemies within the time limit.
|image = Unknown_station.jpg
|site = 06
|number = 12
|music = ???
|fee = 50
|lives = 3
|main1 = None
|sub1 = Null
|special1 = Ultra Stamp
|reward1 = 600
|main2 = None
|sub2 = None
|reward2 = 800
|ftb = 900
|try = 1
}}

Enter the Stamp Gauntlet
Smash all enemies within the time limit.
Unknown station.jpg
Mission 0612
Weapons and rewards



S3 Weapon Main None.pngS3 Weapon Sub None.png
Power Egg Alternas 600 Power Egg Alternas 800
First-Time Bonus Power Egg Alternas 900
Music ???


{{User:Untitled Goose/Sandbox/InfoboxRotM
|title = Zipping over the Neighborhood
|mission = Use the [[Zipcaster]] to reach the goal.
|image = Unknown_station.jpg
|site = 05
|number = 06
|music = ???
|fee = 50
|lives = 3
|main1 = Octobrush
|sub1 = Null
|special1 = Zipcaster
|reward1 = 600
|ftb = Undocumented
}}

Zipping over the Neighborhood
Use the Zipcaster to reach the goal.
Unknown station.jpg
Mission 0506
Weapons and rewards

S3 Weapon Main Octobrush.pngS3 Weapon Special Zipcaster.png


Power Egg Alternas 600
First-Time Bonus Power Egg Alternas Undocumented
Music ???


{{User:Untitled Goose/Sandbox/InfoboxRotM
|title = Alterna Space Center Entrance
|image = Unknown_station.jpg
|site = Alterna Space Center
|number = 01
|music = ???
|fee = No Fee
|lives = 1
|main1 = None
|sub1 = Smallfry
}}

Alterna Space Center Entrance
Unknown station.jpg
Stage Rocket 01
Weapons

S3 Weapon Main None.pngSmallfry



Music ???


{{User:Untitled Goose/Sandbox/InfoboxRotM
|title = After Alterna
|mission = Reach the goal to gain access to the ■■■■ log. 
|image = Unknown_station.jpg
|site = 00
|number = 00
|music = Multiple
|fee = 333
|lives = 3
|main1 = Hero Gear
|sub1 = Null
|reward1 = 3332
|ftb = 1
}}

After Alterna
Reach the goal to gain access to the ■■■■ log.
Unknown station.jpg
Mission 0000
Weapons and rewards


Power Egg Alternas 3332
First-Time Bonus Power Egg Alterna 1
Music Multiple


Category:Templates