Template:RotMPrevNextItem: Difference between revisions

From Inkipedia, the Splatoon wiki
(adding construction notice)
(Added a category.)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>|- align="center"
<includeonly>|- align="center"
| width="45%" style="background-color:rgba({{RotMSiteColor|{{{site}}}}}, 0.5); {{roundyleft}}" |
| 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%; {{roundyleft|15px}}"
{| align="right" style="width:100%; border-top-left-radius: 20px; border-bottom-left-radius: 20px;"
| align="right" style="width:36px" | {{#if: {{{prev|}}} | [[{{{prev}}}|{{color|←|{{{textcolor|#000000}}}}}]] }}
| align="right" style="width:32px" | {{#if: {{{prev|}}} | <big>'''[[{{{prev}}}|{{color|←|{{{textcolor|#000000}}}}}]]'''</big> }}
| align="right" | {{#if: {{{prev|}}} | [[{{{prev}}}|{{color|'''{{{site}}}{{{prevnum}}}: {{{prev}}}'''|{{{textcolor|#000000}}}}}]] }}
| align="right" | {{#if: {{{prev|}}} | [[{{{prev}}}|{{color|'''{{{prevnum}}}: {{{prev}}}'''|{{{textcolor|#000000}}}}}]] }}
|}
|}
|  
|  
{| align="center" style="width:100%; style="background:rgba({{RotMSiteColor|{{{site}}}}}, 0.5); white-space:nowrap; padding:3px"
{| align="center" style="width:100%; style="background:rgba({{RotMSiteColor|{{{site}}}}}, 0.5); white-space:nowrap; padding:3px"
| align="center" style="background:white" | [[Return of the Mammalians#Missions|Return of the Mammalians missions]]
| align="center" style="font-size: 11px" | [[Return of the Mammalians#Missions|Return of the Mammalians missions]]
|}
|}
| width="45%" style="background: rgba({{RotMSiteColor|{{{site}}}}}, 0.5); {{roundyright}}" |  
| width="41%" style="background: rgba({{RotMSiteColor|{{{site2}}}}}, 0.5); border-top-right-radius: 20px; border-bottom-right-radius: 20px;" |  
{| align="right" style="width:100%; {{roundyright|15px}}"
{| align="right" style="width:100%; border-top-right-radius: 20px; border-bottom-right-radius: 20px;"
| align = "left" | {{#if: {{{next|}}} | [[{{{next}}}|{{color|'''{{{site}}}{{{nextnum}}}: {{{next}}}'''|{{{textcolor|#000000}}}}}]] }}
| align = "left" | {{#if: {{{next|}}} | [[{{{next}}}|{{color|'''{{{nextnum}}}: {{{next}}}'''|{{{textcolor|#000000}}}}}]] }}
| align = "left" style="width:36px" | {{#if: {{{next|}}} | [[{{{next}}}|{{color|→|{{{textcolor|#000000}}}}}]] }}
| align = "left" style="width:32px" | {{#if: {{{next|}}} | <big>'''[[{{{next}}}|{{color|→|{{{textcolor|#000000}}}}}]]'''</big> }}
|}</includeonly><noinclude>{{Construction}}
|}</includeonly><noinclude>[[Category:Navigation templates]]
To be used only inside RotMPrevNext.
To be used only inside RotMPrevNext.
==Parameters==
==Parameters==
* <code>site</code> - required. <code>Crater</code>,<code>Alterna</code> or <code>Rocket</code>
* <code>site</code> - required. <code>Crater</code>,<code>Alterna</code> or <code>Rocket</code>
* <code>prev</code> - optional. Stage name.
* <code>prev</code> - optional. Stage name.
* <code>prevnum</code> - optional, requires <code>prev</code> to be set. Number on the line, excluding the line letter. '''''This doesn't apply to Return of the Mammalians stages. Will either need to rework it into the site's digits or erase it entirely.'''''
* <code>prevnum</code> - optional, requires <code>prev</code> to be set. Two or four digit stage number.
* <code>next</code> - optional. Stage name.
* <code>next</code> - optional. Stage name.
* <code>nextnum</code> - optional, requires <code>next</code> to be set. Number on the line, excluding the line letter. '''''This doesn't apply to Return of the Mammalians stages. Will either need to rework it into the site's digits or erase it entirely.'''''</noinclude>
* <code>nextnum</code> - optional, requires <code>next</code> to be set. Two or four digit stage number.</noinclude>

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.