Template:RotMMission: Difference between revisions

From Inkipedia, the Splatoon wiki
(Creation.)
 
(Change display of Rocket and boss missions)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><span style="background-color:rgba({{RotMSiteColor|{{#switch:{{{1}}}|Crater=Crater|Rocket=Rocket|#default=Alterna}}}}); border-radius:5px; display:inline-block; padding: 0px 5px 0px 5px; {{{style}}}">'''{{color-link|{{#switch:{{{1}}}|Crater=The Crater|Rocket=Alterna Space Center|00=After Alterna|01=Future Utopia Island|02=Cozy & Safe Factory|03=Cryogenic Hopetown|04=Landfill Dreamland|05=Eco-Forest Treehills|06=Happiness Research Lab}}|black|{{#switch:{{{1}}}|Crater=No.&nbsp; |Rocket=|#default={{{1}}}}}{{{2}}}}}'''</span></includeonly><noinclude>Displays the number of a mission in [[Return of the Mammalians]], automatically linking to the respective site's page.
<includeonly><span style="background-color:rgba({{RotMSiteColor|{{#switch:{{{1}}}|Crater=Crater|Rocket=Rocket|#default=Alterna}}}}); border-radius:5px; display:inline-block; padding: 0px 5px 0px 5px; {{{style}}}">'''{{color-link|{{#switch:{{{1}}}|Crater=The Crater|Rocket=Alterna Space Center|00=After Alterna|01=Future Utopia Island|02=Cozy & Safe Factory|03=Cryogenic Hopetown|04=Landfill Dreamland|05=Eco-Forest Treehills|06=Happiness Research Lab}}|black|{{#switch:{{{1}}}|Crater={{#switch:{{{2}}}|Boss=Crater|#default=No.}}&nbsp;|Rocket=Rocket&nbsp;|#default={{{1}}}{{#switch:{{{2}}}|Boss=&nbsp;}}}}}}{{#switch:{{{2}}}|Boss 1|Boss 2|Boss=[[File:S3 Icon Boss Black.svg|14px|link=]]}}{{#switch:{{{2}}}|Boss 1=&nbsp;1|Boss 2=&nbsp;2|Boss=|#default={{{2}}}}}'''</span></includeonly><noinclude>Displays the number of a mission in [[Return of the Mammalians]], automatically linking to the respective site's page.


==Usage==
==Usage==
Line 9: Line 9:
|-
|-
! number
! number
| Required, unnamed || The mission number, in two digits (one digit for [[The Crater|Crater]] missions}
| Required, unnamed || The mission number, in two digits (one digit for [[The Crater|Crater]] missions), or <code>Boss</code> (<code>Boss 1</code> or <code>Boss 2</code> for [[Alterna Space Center]] bosses)
|-
|-
! style
! style
Line 20: Line 20:
* {{RotMMission|Crater|2}}
* {{RotMMission|Crater|2}}
* {{RotMMission|Rocket|01}}
* {{RotMMission|Rocket|01}}
* {{RotMMission|Crater|Boss}}
* {{RotMMission|02|Boss}}
* {{RotMMission|Rocket|Boss 1}}
* {{RotMMission|00|00|style=font-size:24pt}}
* {{RotMMission|00|00|style=font-size:24pt}}
</pre>
</pre>
Line 27: Line 30:
* {{RotMMission|Crater|2}}
* {{RotMMission|Crater|2}}
* {{RotMMission|Rocket|01}}
* {{RotMMission|Rocket|01}}
* {{RotMMission|Crater|Boss}}
* {{RotMMission|02|Boss}}
* {{RotMMission|Rocket|Boss 1}}
* {{RotMMission|00|00|style=font-size:24pt}}
* {{RotMMission|00|00|style=font-size:24pt}}


[[Category:Templates]][[Category:Return of the Mammalians]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 08:47, 6 November 2022

Displays the number of a mission in Return of the Mammalians, automatically linking to the respective site's page.

Usage

{{RotMMission|<site>|<number>}}

site Required, unnamed The site. Can be Crater, Rocket, or 00 through 06
number Required, unnamed The mission number, in two digits (one digit for Crater missions), or Boss (Boss 1 or Boss 2 for Alterna Space Center bosses)
style Optional, named Additional CSS style to apply to the station number text. Should not be enclosed in quotation marks. Due to the styling of the link, color will be overridden

Markup

* {{RotMMission|04|13}}
* {{RotMMission|Crater|2}}
* {{RotMMission|Rocket|01}}
* {{RotMMission|Crater|Boss}}
* {{RotMMission|02|Boss}}
* {{RotMMission|Rocket|Boss 1}}
* {{RotMMission|00|00|style=font-size:24pt}}

Output