Template:SplatfestPrevNext: Difference between revisions
From Inkipedia, the Splatoon wiki
GloverMist (talk | contribs) mNo edit summary |
m (MAINT: HTML tags changed to CSS) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| align="center" style="margin-bottom:5px; border: 3px solid rgb({{SiteColor|{{{game|Splatoon 2}}}}}); | <includeonly>{| align="center" style="margin-bottom:5px; border: 3px solid rgb({{SiteColor|{{{game|Splatoon 2}}}}}); border-radius: 20px; width: 100%; margin=3px;" | ||
{{#if:{{{region1|}}}{{{prevlink1|}}}{{{nextlink1|}}}|{{SplatfestPrevNextItem | {{#if:{{{region1|}}}{{{prevlink1|}}}{{{nextlink1|}}}|{{SplatfestPrevNextItem | ||
|game={{{game|Splatoon 2}}} | |game={{{game|Splatoon 2}}} | ||
Line 17: | Line 17: | ||
|nextlink={{{nextlink1}}} | |nextlink={{{nextlink1}}} | ||
|noicons={{#ifeq:{{{game}}}|Splatoon|true|false}} | |noicons={{#ifeq:{{{game}}}|Splatoon|true|false}} | ||
}}}}{{#if:{{{region2|}}}{{{prevlink2|}}}{{{nextlink2|}}}| | }}}}{{#if:{{{region2|}}}{{{prevlink2|}}}{{{nextlink2|}}}|''' ''' | ||
{{SplatfestPrevNextItem | {{SplatfestPrevNextItem | ||
|game={{{game|Splatoon 2}}} | |game={{{game|Splatoon 2}}} | ||
Line 35: | Line 35: | ||
|nextlink={{{nextlink2}}} | |nextlink={{{nextlink2}}} | ||
|noicons={{#ifeq:{{{game}}}|Splatoon|true|false}} | |noicons={{#ifeq:{{{game}}}|Splatoon|true|false}} | ||
}}}}{{#if:{{{region3|}}}{{{prevlink3|}}}{{{nextlink3|}}}| | }}}}{{#if:{{{region3|}}}{{{prevlink3|}}}{{{nextlink3|}}}|''' ''' | ||
{{SplatfestPrevNextItem | {{SplatfestPrevNextItem | ||
|game={{{game|Splatoon 3}}} | |game={{{game|Splatoon 3}}} | ||
Line 54: | Line 54: | ||
|noicons={{#ifeq:{{{game}}}|Splatoon|true|false}} | |noicons={{#ifeq:{{{game}}}|Splatoon|true|false}} | ||
}}}} | }}}} | ||
|}</includeonly><noinclude>[[Category: | |}</includeonly><noinclude>[[Category:Navigation templates]] | ||
Displays a previous / next navigation bar for Splatfests | Displays a previous / next navigation bar for Splatfests | ||
==Usage== | ==Usage== | ||
Line 72: | Line 72: | ||
==Examples== | ==Examples== | ||
<pre> | <pre> | ||
{{SplatfestPrevNext|game=Splatoon|nextlink1=Roller Coasters vs. Water Slides|prevlink2= | {{SplatfestPrevNext|game=Splatoon|nextlink1=Roller Coasters vs. Water Slides|prevlink2=Messy vs. Tidy|nextlink2=Zombies vs. Ghosts}} | ||
{{SplatfestPrevNext|game=Splatoon|prevlink1=Early Bird vs. Night Owl|prevlink2=World Tour vs. Space Adventure|prevlink3= | {{SplatfestPrevNext|game=Splatoon|prevlink1=Early Bird vs. Night Owl|prevlink2=World Tour vs. Space Adventure|prevlink3=Chocorooms vs. Chococones (2016)}} | ||
{{SplatfestPrevNext|game=Splatoon 2|prevlink1=Cake vs. Ice Cream|nextlink1=Flight vs. Invisibility|prevlink2=Cake vs. Ice Cream|nextlink2=Flight vs. Invisibility|prevlink3=Rock vs. Pop (2017)|nextlink3=Fries vs. McNuggets}} | {{SplatfestPrevNext|game=Splatoon 2|prevlink1=Cake vs. Ice Cream|nextlink1=Flight vs. Invisibility|prevlink2=Cake vs. Ice Cream|nextlink2=Flight vs. Invisibility|prevlink3=Rock vs. Pop (2017)|nextlink3=Fries vs. McNuggets}} | ||
{{SplatfestPrevNext|game=Splatoon 2|prevlink3=Trick vs. Treat (2018)}} | {{SplatfestPrevNext|game=Splatoon 2|prevlink3=Trick vs. Treat (2018)}} | ||
</pre> | </pre> | ||
==Output== | ==Output== | ||
{{SplatfestPrevNext|game=Splatoon|nextlink1=Roller Coasters vs. Water Slides|prevlink2= | {{SplatfestPrevNext|game=Splatoon|nextlink1=Roller Coasters vs. Water Slides|prevlink2=Messy vs. Tidy|nextlink2=Zombies vs. Ghosts}} | ||
{{SplatfestPrevNext|game=Splatoon|prevlink1=Early Bird vs. Night Owl|prevlink2=World Tour vs. Space Adventure|prevlink3= | {{SplatfestPrevNext|game=Splatoon|prevlink1=Early Bird vs. Night Owl|prevlink2=World Tour vs. Space Adventure|prevlink3=Chocorooms vs. Chococones (2016)}} | ||
{{SplatfestPrevNext|game=Splatoon 2|prevlink1=Cake vs. Ice Cream|nextlink1=Flight vs. Invisibility|prevlink2=Cake vs. Ice Cream|nextlink2=Flight vs. Invisibility|prevlink3=Rock vs. Pop (2017)|nextlink3=Fries vs. McNuggets}} | {{SplatfestPrevNext|game=Splatoon 2|prevlink1=Cake vs. Ice Cream|nextlink1=Flight vs. Invisibility|prevlink2=Cake vs. Ice Cream|nextlink2=Flight vs. Invisibility|prevlink3=Rock vs. Pop (2017)|nextlink3=Fries vs. McNuggets}} | ||
{{SplatfestPrevNext|game=Splatoon 2|prevlink3=Trick vs. Treat (2018)}} | {{SplatfestPrevNext|game=Splatoon 2|prevlink3=Trick vs. Treat (2018)}} | ||
</noinclude> | </noinclude> |
Latest revision as of 23:43, 1 July 2024
Displays a previous / next navigation bar for Splatfests
Usage
{{SplatfestPrevNext|<game=GAME>|<region1,region2,region3=REGION>|<prevalpha1,prevbravo1,nextalpha1,nextbravo1,...=TEAMNAME>}}
game |
Splatoon or Splatoon 2
|
Note: For all items numbered 1, 2, 3 below, it is enough to set either regionX , prevalphaX or nextalphaX to make the line appear.
| |
---|---|
region1 region2 region3 |
Specific region names. Default values are respectively:North America , Europe and Oceania , Japan for SplatoonNorth America and Oceania , Europe , Japan for Splatoon 2
|
[prev|next][alpha|bravo][1|2|3] |
Specific team names for the previous and next Splatfest. These are used to generate the icons (for Splatoon 2). Defaults to team names found in [prev|next]link[1|2|3] .
|
[prev|next]link[1|2|3] |
Page name for the specific Splatfest. |
Examples
{{SplatfestPrevNext|game=Splatoon|nextlink1=Roller Coasters vs. Water Slides|prevlink2=Messy vs. Tidy|nextlink2=Zombies vs. Ghosts}} {{SplatfestPrevNext|game=Splatoon|prevlink1=Early Bird vs. Night Owl|prevlink2=World Tour vs. Space Adventure|prevlink3=Chocorooms vs. Chococones (2016)}} {{SplatfestPrevNext|game=Splatoon 2|prevlink1=Cake vs. Ice Cream|nextlink1=Flight vs. Invisibility|prevlink2=Cake vs. Ice Cream|nextlink2=Flight vs. Invisibility|prevlink3=Rock vs. Pop (2017)|nextlink3=Fries vs. McNuggets}} {{SplatfestPrevNext|game=Splatoon 2|prevlink3=Trick vs. Treat (2018)}}
Output
|
|
| |||||
|
|
|
|
|
| |||||
|
|
| |||||
|
|
|
|
|
| |||||
|
|
| |||||
|
|
|
|
|
|