Template:RotMPrevNextItem: Difference between revisions
From Inkipedia, the Splatoon wiki
Princewave (talk | contribs) (made a very preliminary template out of octo expansion's. will need work in the future, as my template knowledge is limited.) |
(Added a category.) |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- align="center" | <includeonly>|- align="center" | ||
| width=" | | 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%; | {| align="right" style="width:100%; border-top-left-radius: 20px; border-bottom-left-radius: 20px;" | ||
| align="right" style="width: | | align="right" style="width:32px" | {{#if: {{{prev|}}} | <big>'''[[{{{prev}}}|{{color|←|{{{textcolor|#000000}}}}}]]'''</big> }} | ||
| align="right" | {{#if: {{{prev|}}} | [[{{{prev}}}|{{color|''' | | 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=" | | align="center" style="font-size: 11px" | [[Return of the Mammalians#Missions|Return of the Mammalians missions]] | ||
|} | |} | ||
| width=" | | width="41%" style="background: rgba({{RotMSiteColor|{{{site2}}}}}, 0.5); border-top-right-radius: 20px; border-bottom-right-radius: 20px;" | | ||
{| align="right" style="width:100%; | {| align="right" style="width:100%; border-top-right-radius: 20px; border-bottom-right-radius: 20px;" | ||
| align = "left" | {{#if: {{{next|}}} | [[{{{next}}}|{{color|''' | | align = "left" | {{#if: {{{next|}}} | [[{{{next}}}|{{color|'''{{{nextnum}}}: {{{next}}}'''|{{{textcolor|#000000}}}}}]] }} | ||
| align = "left" style="width: | | align = "left" style="width:32px" | {{#if: {{{next|}}} | <big>'''[[{{{next}}}|{{color|→|{{{textcolor|#000000}}}}}]]'''</big> }} | ||
|}</includeonly><noinclude>To be used only inside RotMPrevNext. | |}</includeonly><noinclude>[[Category:Navigation templates]] | ||
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. | * <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. | * <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
orRocket
prev
- optional. Stage name.prevnum
- optional, requiresprev
to be set. Two or four digit stage number.next
- optional. Stage name.nextnum
- optional, requiresnext
to be set. Two or four digit stage number.