Template:SIMNav: Difference between revisions

standardizing size, adding {{{DisplayName|}}}, adjusting color switches
(more colors)
(standardizing size, adding {{{DisplayName|}}}, adjusting color switches)
Line 1: Line 1:
<includeonly>{| class="infobox" style="margin: 0.5em auto; clear: both; border-radius: 10px 10px 10px 10px; text-align: center; background:#{{FCBGColor|{{{Color}}}}}"
<includeonly>{| class="infobox" width=500px style="margin: 0.5em auto; clear: both; border-radius: 10px 10px 10px 10px; text-align: center; background:#{{FCBGColor|{{{Color}}}}}"
|-
|-
| width="30%"| <font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>Previous sim<br>{{#if: {{{PrevSIM|}}}|[[{{{PrevSIM}}}|<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>'''{{{PrevTitle}}}'''</font>]]|N/A}}</font>
|width="30%"|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>Previous sim<br>{{#if: {{{PrevSIM|}}}|[[{{{PrevSIM}}}|<font color={{#switch: {{{Color|}}}|Off-White=navy|Gold=navy|White=navy|{{{Color|}}}=#efe576||}}>'''{{{PrevTitle}}}'''</font>]]|N/A}}</font>
| width="40%"| <font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>'''{{#if: {{{Rank|}}}|{{{Rank}}}||}} [[{{#if:{{{LastName|}}}|{{{LastName|}}},||}} {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{{FirstName|}}} {{#if:{{{LastName|}}}|{{{LastName|}}}||}}</font>]]'''<br />'''{{{Post|}}}'''<br />'''''[[{{{Ship|}}}|<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{{Ship|}}}</font>]]'' {{#if: {{{ShipReg|}}}|{{{ShipReg|}}}||}}'''</font>
|width="40%"|<font color={{#switch: {{{Color|}}}|Off-White=black|Gold=black|White=black|{{{Color|}}}=white||}}>'''{{#if: {{{Rank|}}}|{{{Rank}}}||}} [[{{#if:{{{LastName|}}}|{{{LastName|}}},||}} {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Off-White=navy|Gold=navy|White=navy|{{{Color|}}}=#efe576||}}>{{#if: {{{DisplayName|}}}|{{{DisplayName}}}|{{{FirstName|}}} {{#if:{{{LastName|}}}|{{{LastName|}}}||}}}}</font>]]'''<br />'''{{{Post|}}}'''<br />'''''[[{{{Ship|}}}|<font color={{#switch: {{{Color|}}}|Off-White=navy|Gold=navy|White=navy|{{{Color|}}}=#efe576||}}>{{{Ship|}}}</font>]]'' {{#if: {{{ShipReg|}}}|{{{ShipReg|}}}||}}'''</font>
| width="30%"| <font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>Next sim<br />{{#if: {{{NextSIM|}}}|[[{{{NextSIM}}}|<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>'''{{{NextTitle}}}'''</font>]]|N/A}}</font>
|width="30%"|<font color={{#switch: {{{Color|}}}|Off-White=black|Gold=black|White=black|{{{Color|}}}=white||}}>Next sim<br />{{#if: {{{NextSIM|}}}|[[{{{NextSIM}}}|<font color={{#switch: {{{Color|}}}|Off-White=navy|Gold=navy|White=navy|{{{Color|}}}=#efe576||}}>'''{{{NextTitle}}}'''</font>]]|N/A}}</font>
|}</includeonly><noinclude>A template for navigating through various SIMs in chronological order. To use, type the following at the bottom of your SIM Archive Page:
|}</includeonly><noinclude>A template for navigating through various SIMs in chronological order. To use, type the following at the bottom of your SIM Archive Page:
<pre>{{SIMNav
<pre>{{SIMNav
8,273

edits