Template:OctoValleyPrevNext: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Made Prev and Next optional, for first and last missions.)
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; background:#F4FCE6; border: 3px solid #AADC00; {{roundy}}; width: 100%; margin=3px;"
<includeonly>{| align="center" style="margin-bottom:3px; background:#F4FCE6; border: 3px solid #AADC00; border-radius: 20px; width: 100%; margin=3px;"
|- align="center"
|- align="center"
| width="45%" style="background: #D6F3A2; {{roundyleft}}" |
| width="40%" style="background: #D6F3A2; border-top-left-radius: 20px; border-bottom-left-radius: 20px;" |
{| align="right" style="width:100%; {{roundyleft|15px}}"
{| align="right" style="width:100%; border-top-left-radius: 15px; border-bottom-left-radius: 15px; "
| align="right" | {{#if: {{{prev}}} | [[{{{prev}}}|←]] }}
| align="right" | {{#if: {{{prev}}} | <span style="font-size:1.25em">'''[[{{{prev}}}|←]]'''</span> }}
| align="right" | {{#if: {{{prev}}} | [[{{{prev}}}|<nowiki>#</nowiki>{{{prevnum}}}: {{{prev}}}]] }}
| align="right" style="padding:5px" | {{#if: {{{prev}}} | [[{{{prev}}}|<nowiki>#</nowiki>{{{prevnum}}}: {{{prev}}}]] }}
|}
|}
|  
|
{| align="center" style="width:100%; style="background: #D6F3A2; white-space:nowrap; padding:3px"
{| align="center" style="width:100%; style="background: #D6F3A2; white-space:nowrap; padding:3px"
| align="center" | [[Octo Valley Missions]]
| align="center" | [[Octo Valley (mode)#Missions|Octo Valley missions]]
|}
| width="40%" style="background: #D6F3A2; border-top-right-radius: 20px; border-bottom-right-radius: 20px;" |
{| 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" | {{#if: {{{next}}} | <span style="font-size:1.25em">'''[[{{{next}}}|→]]'''</span> }}
|}
|}
| width="45%"  style="background: #D6F3A2; {{roundyright}}" |
{| align="right" style="width:100%; {{roundyright|15px}}"
| align = "left" | {{#if: {{{next}}} | [[{{{next}}}|<nowiki>#</nowiki>{{{nextnum}}}: {{{next}}}]] }}
| align = "left" | {{#if: {{{next}}} | [[{{{next}}}|→]] }}
|}
|}
|}{{-}}
</includeonly><noinclude>[[Category:Templates]]
</includeonly><noinclude>[[Category:Templates]]


{{documentation}}</noinclude>
{{documentation}}</noinclude>

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