Template:SIMNav: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(applying color switch to border)
(rounding border)
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: 20px 20px 20px 20px; 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|Pink=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%" style="border:thin #{{#switch: {{{Color|}}}|Off-White=000000|Gold=000000|Pink=000000|White=000000|{{{Color|}}}=ffffff||}} solid"|<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="40%" style="border:thin #{{#switch: {{{Color|}}}|Off-White=000000|Gold=000000|Pink=000000|White=000000|{{{Color|}}}=ffffff||}} solid; border-radius: 5px 5px 5px 5px;"|<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|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>
|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:

Revision as of 14:30, 6 September 2014

A template for navigating through various SIMs in chronological order. To use, type the following at the bottom of your SIM Archive Page:

{{SIMNav
| Color = your character's department color (Maroon, Red, Orange, Gold, Olive, Green, Teal, Blue, Navy, Lavender, Violet, Dust, Brown  Black, Silver, Off-White, & White available)
| Rank = character's rank (optional - delete line if not wanted)
| FirstName = Jane
| LastName = Doe (optional - delete line if they only have one name)
| Post = character's job
| Ship = ship name (e.g. USS Enterprise)
| ShipReg = ship registry number (e.g. NCC-1701) - (optional, delete line if not included)
| PrevSIM = page name of the preceding SIM (e.g. SIM: Ens. Doe - "Before Now") - (if non exists, delete line)
| PrevTitle = shorter name for the link ( e.g. "Before Now") - (if non exists, delete line)
| NextSIM  = page name of the following SIM (e.g. SIM: Ens. Doe - "After Now") - (if non exists, delete line)
| NextTitle = shorter name for the link ( e.g. "After Now") - (if non exists, delete line)
}}

Examples

With other sims listed

Previous sim
"Casino Royale"
Commander James Bond
007
USS Jaguar MI-6
Next sim
"Goldfinger"

Without other sims listed

Previous sim
N/A
Ensign Wannaby Commandy
Assistant to the
First Officer's
Chief Yeoman's
Cat
USS Steampunk NCC-ID10T
Next sim
N/A
Previous sim
N/A
Crewman Scrub Brush
Turbolift Janitor
USS Up-N-Down
Next sim
N/A
Previous sim
N/A
Lieutenant Scanwitta Tricorder
Lifeform Finder
USS Where-U-At
Next sim
N/A
Previous sim
N/A
Girlnan
Guinan's Brother
USS Enterprise NCC-1701-D
Next sim
N/A