User:Untitled Goose/Sandbox/InfoboxRotM: Difference between revisions
From Inkipedia, the Splatoon wiki
(Changing a few pipes to colons. I believe the remaining issues are at least partially due to a mismatched number of curly brackets. If you ctrl+f "{" vs "}" there are more of one than the other, which should not be the case.) |
({{!}}) |
||
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;" | ||
{{#ifeq:{{{site}}}|00||{{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Site|[[{{#switch:{{{site}}} | {{#ifeq:{{{site}}}|00||{{InfoboxProperty|color={{{color|{{SiteColor|S3}}}}}|Site|[[{{#switch:{{{site}}} | ||
Line 11: | Line 11: | ||
}}]]}}}} | }}]]}}}} | ||
{{#switch:{{{site}}} | {{#switch:{{{site}}} | ||
|00 = {{InfoboxProperty|color={{{color}}}|Mission|0000}} | |||
|The Crater = {{InfoboxProperty|color={{{color}}}|Mission|No. {{{number}}}}} | |||
|Alterna Space Center = {{InfoboxProperty|color={{{color}}}|Stage|{{{number}}}}} | |||
|#default = {{InfoboxProperty|color={{{color}}}|Mission|{{{site}}}{{{number}}}}} | |||
}} | }} | ||
{{InfoboxProperty|color={{{color | {{#if:{{{fee|}}}|{{InfoboxProperty|color={{{color}}}|Entry Fee|{{Cost|S3|{{{fee}}}|pe}}}}}} | ||
{{#if:{{{lives|}}}|{{InfoboxProperty|color={{{color | {{#if:{{{lives|}}}|{{InfoboxProperty|color={{{color}}}|Lives|[[File:RotM Life Icon.png|16px|link=]] × {{{lives}}}}}}} | ||
{{InfoboxProperty|color={{{color | {{InfoboxProperty|color={{{color}}}|Weapons 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|}}}|{{InfoboxProperty|color={{{color | {{#if:{{{ftb|}}}|{{InfoboxProperty|color={{{color}}}|First-Time Bonus|{{Cost|S3|{{{ftb}}}|pe}}}}}} | ||
{{InfoboxProperty|color={{{color | {{InfoboxProperty|color={{{color}}}|{{color-link|Music|black}}|{{{music|Unknown}}}}} | ||
|} | |} | ||
</div> | </div> | ||
Line 111: | Line 112: | ||
|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 132: | ||
|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 156: | ||
| | | | ||
{{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 = | |||
}} | }} | ||
|- | |- |
Revision as of 06:01, 29 September 2022
Produces an infobox for an Octo Expansion 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. 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. |
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 |
Optional. | The weapons used in the mission. See User:Untitled Goose/Sandbox/InfoboxRotM/WeaponTableEntry. |
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 }} |
Octarians in the Crater? YIKES!
Template:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxProperty
| |
{{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
Template:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertySmash 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
Template:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyUse 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 = 1 |music = ??? |fee = No Fee |lives = 1 |main1 = None |sub1 = Smallfry }} |
Alterna Space Center Entrance
Template:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxProperty
| |
{{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
Template:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyTemplate:InfoboxPropertyReach the goal to gain access to the ■■■■ log.
|