Template:Infobox/Floor/SO: Difference between revisions
From Inkipedia, the Splatoon wiki
(test category names) |
(split prefix into its own parameter) |
||
Line 2: | Line 2: | ||
|color={{{color|{{SiteColor|Side Order}}}}} | |color={{{color|{{SiteColor|Side Order}}}}} | ||
|style={{{style|}}} | |style={{{style|}}} | ||
|title={{{title|{{PAGENAME}}}}}{{#switch:{{{objective|}}} | |title={{{prefix|}}}{{{title|{{PAGENAME}}}}}{{#switch:{{{objective|}}} | ||
|portal=<br><small>''Destroy the portal{{#ifeq:{{{portal count|}}}|1||s}}!''</small> | |portal=<br><small>''Destroy the portal{{#ifeq:{{{portal count|}}}|1||s}}!''</small> | ||
|zone=<br><small>''Protect the zone{{#ifeq:{{{zone count|}}}|1||s}}!''</small> | |zone=<br><small>''Protect the zone{{#ifeq:{{{zone count|}}}|1||s}}!''</small> | ||
Line 15: | Line 15: | ||
|#default=Defeat the boss!}}''</small><!-- TODO: final bosses --> | |#default=Defeat the boss!}}''</small><!-- TODO: final bosses --> | ||
}} | }} | ||
|gobbler title=<span style="display:inline-block">{{{title|{{PAGENAME}}}}} {{#switch:{{{objective|}}} | |gobbler title=<span style="display:inline-block">{{{prefix|}}}{{{title|{{PAGENAME}}}}} {{#switch:{{{objective|}}} | ||
|portal=(portals) | |portal=(portals) | ||
|zone=(zones) | |zone=(zones) | ||
Line 57: | Line 57: | ||
{| | {| | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>title</code>||Optional.||The | |<code>title</code>||Optional.||The base name of the floor, excluding the modifier prefix. If not specified, the page name will be used. | ||
|- style="vertical-align: top;" | |||
|<code>prefix</code>||Optional.||The modifier prefix of the floor. This shall include the final underscore. | |||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>type</code>||Required.||<code>First climb</code>: Floor appears during the first climb. <code>floors</code> parameter is required.<br><!-- | |<code>type</code>||Required.||<code>First climb</code>: Floor appears during the first climb. <code>floors</code> parameter is required.<br><!-- | ||
Line 280: | Line 282: | ||
|type = Normal floor | |type = Normal floor | ||
|objective = vending | |objective = vending | ||
}}</pre> | |||
</div> | |||
<div style="clear:both"> | |||
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO | |||
|title = Fake.Floor | |||
|prefix = Imagined_ | |||
|type = Normal floor | |||
|difficulty = Hard | |||
|objective = portal | |||
|portal count = 3 | |||
}} | |||
<pre>{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO | |||
|title = Fake.Floor | |||
|prefix = Imagined_ | |||
|type = Normal floor | |||
|difficulty = Hard | |||
|objective = portal | |||
|portal count = 3 | |||
}}</pre> | }}</pre> | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 12:47, 26 February 2024
Creates an infobox for a floor in Side Order.
Parameters
title |
Optional. | The base name of the floor, excluding the modifier prefix. If not specified, the page name will be used. |
prefix |
Optional. | The modifier prefix of the floor. This shall include the final underscore. |
type |
Required. | First climb : Floor appears during the first climb. floors parameter is required.Normal floor : Floor appears during a normal run and is not a boss floor.Boss floor : Floor appears during a normal run on 10F or 20F. boss parameter is required.Control room : Top level of a run, including the first climb. boss parameter is required.
|
floors |
Conditional. | Specifies which floors on the first climb it appears on (ignored for Control Room). |
difficulty |
Conditional. | Difficulty of the floor (Easy / Normal / Hard / Rigorous ) (ignored for boss floors and vending machine floor)
|
objective |
Required. | The objective of the floor (portal / zone / turbine / ball / chase / vending / boss ).
|
portal count |
Conditional. | (For portal objective:) The number of portals. |
zone count |
Conditional. | (For zone objective:) The number of zones. |
checkpoint count |
Conditional. | (For turbine objective:) The number of checkpoints including the final checkpoint. |
ball count |
Conditional. | (For ball objective:) The number of ∞-balls. |
chase count |
Conditional. | (For chase objective:) The number of Panicking Alla Mambo. |
boss |
Conditional. | (For boss objective:) The name of the boss. |
Examples
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = First.Floor |type = First climb |floors = 1F |difficulty = Easy |objective = portal |portal count = 1 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Home-Turf.Floor |type = First climb |floors = 2F |difficulty = Normal |objective = portal |portal count = 3 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Special-Surprise.Floor |type = First climb |floors = 3F |difficulty = Hard |objective = portal |portal count = 3 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Gliding.Floor |type = First climb |floors = 4F |difficulty = Easy |objective = zone |zone count = 1 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Springing.Floor |type = First climb |floors = 5F |difficulty = Normal |objective = turbine |checkpoint count = 4 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Double-Zoned.Floor |type = First climb |floors = 6F |difficulty = Normal |objective = zone |zone count = 2 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Rolling.Floor |type = First climb |floors = 7F-9F |difficulty = Easy |objective = ball |ball count = 2 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Escape-Artist.Floor |type = First climb |floors = 7F-9F |difficulty = Normal |objective = chase |chase count = 3 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Whirling-Shell.Floor |type = First climb |floors = 7F-9F |difficulty = Hard |objective = portal |portal count = 3 }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Control Room |type = Control room |objective = boss |boss = Marina Agitando }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Vending-Machine Corner |type = Normal floor |objective = vending }}
User:Harimaron/Sandbox/Template:Infobox/Floor/SO
{{User:Harimaron/Sandbox/Template:Infobox/Floor/SO |title = Fake.Floor |prefix = Imagined_ |type = Normal floor |difficulty = Hard |objective = portal |portal count = 3 }}