User:Untitled Goose/Sandbox/InfoboxRotM: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Okay, NOW I've added it.) |
Nukleopatra (talk | contribs) 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| | <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;" | ||
{{#switch:{{{site}}} | {{#switch:{{{site}}} | ||
|The Crater = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Mission|{{RotMMission|Crater|{{{number}}}}}}} | |||
|Alterna Space Center = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Stage|{{RotMMission|Rocket|{{{number}}}}}}} | |||
|#default = {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Mission|{{RotMMission|{{{site}}}|{{{number}}}}}}} | |||
}} | }} | ||
{{ | {{#if:{{#if:{{{fee|}}}|{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Entry Fee|{{Cost|S3|{{{fee}}}|pe}}}}}} | ||
{{#if | {{#if:{{{lives|}}}|{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|Lives|[[File:RotM Life Icon.png|16px|link=]] × {{{lives}}}}}}}}} | ||
{{ | {{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}} | |||
{{!}}{{#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:{{{reward3|}}}|{{Cost|S3|{{{reward3}}}|pe}}}} | |||
{{!}}} | |||
}} | }} | ||
{{#if:{{{ftb|}}}|{{ | {{#if:{{{ftb|}}}|{{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|First-Time Bonus|{{Cost|S3|{{{ftb}}}|pe}}}}}} | ||
{{ | {{Infobox/Property|color={{{color|{{SiteColor|Splatoon 3}}}}}|{{color-link|Music|black}}|{{{music|Unknown}}}}} | ||
|} | |} | ||
</div> | </div> | ||
[[Category: | [[Category:Return of the Mammalians missions]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
Produces an infobox for | 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. | |<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< | |<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 = | |main2 = None | ||
|sub2 = | |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 = | |main2 = None | ||
|sub2 = | |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 = | |title = Zipping over the Neighborhood | ||
|mission = | |mission = Use the [[Zipcaster]] to reach the goal. | ||
|image = Unknown_station.jpg | |image = Unknown_station.jpg | ||
|site = | |site = 05 | ||
|number = | |number = 06 | ||
|music = ??? | |music = ??? | ||
|fee = 50 | |fee = 50 | ||
|lives = 3 | |lives = 3 | ||
|main1 = | |main1 = Octobrush | ||
|sub1 = Null | |sub1 = Null | ||
|special1 = | |special1 = Zipcaster | ||
|reward1 = 600 | |reward1 = 600 | ||
|ftb = Undocumented | |||
|ftb = | |||
}} | }} | ||
|- | |- | ||
Line 178: | Line 167: | ||
|image = Unknown_station.jpg | |image = Unknown_station.jpg | ||
|site = Alterna Space Center | |site = Alterna Space Center | ||
|number = | |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 = | |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 |
Required (with exceptions). | The primary weapon set used in the mission. See User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry. |
main2 |
Optional. | Other available weapon sets. Usage is the same as the first set. |
reward1 |
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 }} |
| ||||||||||||||
{{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.
| ||||||||||||||
{{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.
| ||||||||||||||
{{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 }} |
| ||||||||||||||
{{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.
|