Template:RotMPrevNextItem: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Replacing unneeded roundy templates with CSS)
(Added a category.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>|- align="center"
<includeonly>|- align="center"
| width="41%" style="background-color:rgba({{RotMSiteColor|{{{site1}}}}}, 0.5); border-top-left-radius: 20px; border-bottom-left-radius: 20px; " |
| width="41%" style="background-color:rgba({{RotMSiteColor|{{{site1}}}}}, 0.5); 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: 20px; border-bottom-left-radius: 20px;"
| align="right" style="width:32px" | {{#if: {{{prev|}}} | <big>'''[[{{{prev}}}|{{color|←|{{{textcolor|#000000}}}}}]]'''</big> }}
| align="right" style="width:32px" | {{#if: {{{prev|}}} | <big>'''[[{{{prev}}}|{{color|←|{{{textcolor|#000000}}}}}]]'''</big> }}
| align="right" | {{#if: {{{prev|}}} | [[{{{prev}}}|{{color|'''{{{prevnum}}}: {{{prev}}}'''|{{{textcolor|#000000}}}}}]] }}
| align="right" | {{#if: {{{prev|}}} | [[{{{prev}}}|{{color|'''{{{prevnum}}}: {{{prev}}}'''|{{{textcolor|#000000}}}}}]] }}
Line 10: Line 10:
|}
|}
| width="41%" style="background: rgba({{RotMSiteColor|{{{site2}}}}}, 0.5); border-top-right-radius: 20px; border-bottom-right-radius: 20px;" |  
| width="41%" style="background: rgba({{RotMSiteColor|{{{site2}}}}}, 0.5); 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="right" style="width:100%; border-top-right-radius: 20px; border-bottom-right-radius: 20px;"
| align = "left" | {{#if: {{{next|}}} | [[{{{next}}}|{{color|'''{{{nextnum}}}: {{{next}}}'''|{{{textcolor|#000000}}}}}]] }}
| align = "left" | {{#if: {{{next|}}} | [[{{{next}}}|{{color|'''{{{nextnum}}}: {{{next}}}'''|{{{textcolor|#000000}}}}}]] }}
| align = "left" style="width:32px" | {{#if: {{{next|}}} | <big>'''[[{{{next}}}|{{color|→|{{{textcolor|#000000}}}}}]]'''</big> }}
| align = "left" style="width:32px" | {{#if: {{{next|}}} | <big>'''[[{{{next}}}|{{color|→|{{{textcolor|#000000}}}}}]]'''</big> }}
|}</includeonly><noinclude>
|}</includeonly><noinclude>[[Category:Navigation templates]]
To be used only inside RotMPrevNext.
To be used only inside RotMPrevNext.
==Parameters==
==Parameters==

Latest revision as of 23:27, 23 December 2023

To be used only inside RotMPrevNext.

Parameters

  • site - required. Crater,Alterna or Rocket
  • prev - optional. Stage name.
  • prevnum - optional, requires prev to be set. Two or four digit stage number.
  • next - optional. Stage name.
  • nextnum - optional, requires next to be set. Two or four digit stage number.