Template:SIMNav: Difference between revisions

Jump to navigation Jump to search
adding station option
(standardizing size, adding {{{DisplayName|}}}, adjusting color switches)
(adding station option)
Line 1: Line 1:
<includeonly>{| class="infobox" width=500px 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|}}}|Off-White=navy|Gold=navy|White=navy|{{{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|Pink=navy|White=navy|{{{Color|}}}=#efe576||}}>'''{{{PrevTitle}}}'''</font>]]|N/A}}</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="40%"|<font color={{#switch: {{{Color|}}}|Off-White=black|Gold=black|Pink=navy|White=black|{{{Color|}}}=white||}}>'''{{#if: {{{Rank|}}}|{{{Rank}}}||}} [[{{#if:{{{LastName|}}}|{{{LastName|}}},||}} {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Off-White=navy|Gold=navy|Pink=navy|White=navy|{{{Color|}}}=#efe576||}}>{{#if: {{{DisplayName|}}}|{{{DisplayName}}}|{{{FirstName|}}} {{#if:{{{LastName|}}}|{{{LastName|}}}||}}}}</font>]]'''<br>{{{Post|}}}<br>{{#if: {{{Station|}}}|[[{{{Station|}}}|<font color={{#switch: {{{Color|}}}|Gold=black|Off-White=black|Pink=black|White=black|{{{Color|}}}=white||}}>''{{{Station|}}}''</font>]]<br>||}}{{#if: {{{Ship|}}}|''[[{{{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|}}}|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>
|width="30%"|<font color={{#switch: {{{Color|}}}|Off-White=black|Gold=black|Pink=black|White=black|{{{Color|}}}=white||}}>Next sim<br />{{#if: {{{NextSIM|}}}|[[{{{NextSIM}}}|<font color={{#switch: {{{Color|}}}|Off-White=navy|Gold=navy|Pink=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

Navigation menu