Template:OctoValleyPrevNext: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Replacing unneeded roundy templates with CSS)
m (MAINT: HTML tags changed to CSS)
 
Line 3: Line 3:
| width="40%" style="background: #D6F3A2; border-top-left-radius: 20px; border-bottom-left-radius: 20px;" |
| width="40%" style="background: #D6F3A2; border-top-left-radius: 20px; border-bottom-left-radius: 20px;" |
{| align="right" style="width:100%; border-top-left-radius: 15px; border-bottom-left-radius: 15px; "
{| align="right" style="width:100%; border-top-left-radius: 15px; border-bottom-left-radius: 15px; "
| align="right" | {{#if: {{{prev}}} | <big>'''[[{{{prev}}}|←]]'''</big> }}
| align="right" | {{#if: {{{prev}}} | <span style="font-size:1.25em">'''[[{{{prev}}}|←]]'''</span> }}
| align="right" style="padding:5px" | {{#if: {{{prev}}} | [[{{{prev}}}|<nowiki>#</nowiki>{{{prevnum}}}: {{{prev}}}]] }}
| align="right" style="padding:5px" | {{#if: {{{prev}}} | [[{{{prev}}}|<nowiki>#</nowiki>{{{prevnum}}}: {{{prev}}}]] }}
|}
|}
Line 13: Line 13:
{| align="right" style="width:100%; border-top-right-radius: 15px; border-bottom-right-radius: 15px; "
{| align="right" style="width:100%; border-top-right-radius: 15px; border-bottom-right-radius: 15px; "
| align = "left" style="padding:5px" | {{#if: {{{next}}} | [[{{{next}}}|<nowiki>#</nowiki>{{{nextnum}}}: {{{next}}}]] }}
| align = "left" style="padding:5px" | {{#if: {{{next}}} | [[{{{next}}}|<nowiki>#</nowiki>{{{nextnum}}}: {{{next}}}]] }}
| align = "left" | {{#if: {{{next}}} | <big>'''[[{{{next}}}|→]]'''</big> }}
| align = "left" | {{#if: {{{next}}} | <span style="font-size:1.25em">'''[[{{{next}}}|→]]'''</span> }}
|}
|}
|}
|}

Latest revision as of 16:44, 30 June 2024




Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:OctoValleyPrevNext/doc to edit this documentation. (How does this work?)
Description
This template is used to create a simple navigation for Octo Valley missions at the top of the page.
Syntax
Type {{OctoValleyPrevNext|<...>}} somewhere, with parameters as shown below.
Sample output
{{OctoValleyPrevNext | prevnum=5 | nextnum=7 | prev=Floating Sponge Garden | next=Spreader Splatfest }}

Results in...

#5: Floating Sponge Garden
Octo Valley missions
#7: Spreader Splatfest