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

From Inkipedia, the Splatoon wiki
(Fixing spacing issues)
m (Text replacement - "InfoboxProperty" to "Infobox/Property")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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|}}}}}
<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}}}|Mission|0000}}
|The Crater          = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Mission|{{RotMMission|Crater|{{{number}}}}}}}
|The Crater          = {{InfoboxProperty|color={{{color}}}|Mission|No. {{{number}}}}}
|Alterna Space Center = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Stage|{{RotMMission|Rocket|{{{number}}}}}}}
|Alterna Space Center = {{InfoboxProperty|color={{{color}}}|Stage|{{{number}}}}}
|#default            = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Mission|{{RotMMission|{{{site}}}|{{{number}}}}}}}
|#default            = {{InfoboxProperty|color={{{color}}}|Mission|{{{site}}}{{{number}}}}}
}}
}}
{{#if:{{#if:{{{fee|}}}|{{InfoboxProperty|color={{{color}}}|Entry Fee|{{Cost|S3|{{{fee}}}|pe}}}}}}
{{#if:{{#if:{{{fee|}}}|{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Entry Fee|{{Cost|S3|{{{fee}}}|pe}}}}}}
{{#if:{{{lives|}}}|{{InfoboxProperty|color={{{color}}}|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}}}|Weapons {{#if:{{{reward1|}}}|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|false}}}|entryno=1}}
{{!}}{{User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry|main={{{main1}}}|sub={{{sub1}}}|special={{{special1|}}}|try={{{try|false}}}|entryno=1}}
Line 29: Line 19:
{{!}}}
{{!}}}
}}
}}
{{#if:{{{ftb|}}}|{{InfoboxProperty|color={{{color}}}|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}}}|{{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 56: 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 64: 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 175: 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 187: 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!
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.
Mission 0612
Weapons and rewards



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.
Mission 0506
Weapons and rewards


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
Stage Rocket 01
Weapons

Smallfry



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.
Mission 0000
Weapons and rewards


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


Category:Templates