Template:SIMNav: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(→‎Without other sims listed: showing station in example)
(shipnick)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" width=500px style="margin: 0.5em auto; clear: both; border-radius: 20px 20px 20px 20px; text-align: center; background:#{{FCBGColor|{{{Color}}}}}"
<onlyinclude>{| 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="25%" rowspan=2|<font color={{#switch: {{{Color|}}}|Gold=black|Orange=black|Pink=black|Silver=black|White=black|{{{Color|}}}=white||}}>Previous sim<br>{{#if: {{{PrevSIM|}}}|[[{{{PrevSIM}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Orange=navy|Pink=navy|Silver=navy|Off-White=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; 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|}}}|[[{{#switch: {{{Station|}}}|Starbase 118=Starbase 118 Ops|{{{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="50%" style="border:thin #{{#switch: {{{Color|}}}|Gold=000000|Orange=000000|Pink=000000|Silver=000000|Off-White=000000|White=000000|{{{Color|}}}=ffffff||}} solid; border-radius: 10px 10px 10px 10px;"|<font color={{#switch: {{{Color|}}}|Gold=black|Orange=black|Pink=black|Silver=black|Off-White=black|White=black|{{{Color|}}}=white||}}>'''{{#if: {{{Rank|}}}|{{{Rank}}}||}} [[{{#if:{{{LastName|}}}|{{{LastName|}}},||}} {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Orange=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=#efe576||}}>{{#if: {{{DisplayName|}}}|{{{DisplayName}}}|{{{FirstName|}}} {{#if:{{{LastName|}}}|{{{LastName|}}}||}}}}</font>]]'''<br>{{{Post|}}}<br>{{#if: {{{Station|}}}|[[{{#switch: {{{Station|}}}|Starbase 118=Starbase 118 Ops|{{{Station|}}}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Orange=navy|Pink=navy|Silver=navy|Off-White=navy|White=navy|{{{Color|}}}=#efe576||}}>{{{Station|}}}</font>]]<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Orange=navy|Pink=navy|Silver=navy|Off-White=navy|White=navy|{{{Color|}}}=#efe576||}}>''{{#if: {{{ShipNick|}}}|{{{ShipNick}}}|{{{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="25%" rowspan=2|<font color={{#switch: {{{Color|}}}|Gold=black|Orange=black|Pink=black|Silver=black|Off-White=black|White=black|{{{Color|}}}=white||}}>Next sim<br />{{#if: {{{NextSIM|}}}|[[{{{NextSIM}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Orange=navy|Pink=navy|Silver=navy|Off-White=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:
|- style="border:thin #{{#switch: {{{Color|}}}|Gold=000000|Orange=000000|Pink=000000|Silver=000000|Off-White=000000|White=000000|{{{Color|}}}=ffffff|ffffff|}} solid; border-radius: 10px 10px 10px 10px;"
|[[:Template:SIMNav|<font size=1 color={{#switch: {{{Color|}}}|Gold=navy|Orange=navy|Pink=navy|Silver=navy|Off-White=navy|White=navy|{{{Color|}}}=#efe576||}}>View Template</font>]]
|}</onlyinclude><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
| 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)
| 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)

Latest revision as of 13:23, 8 September 2014

Previous sim
N/A
[[ |]]

Next sim
N/A
View Template

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
| Station = (e.g. Starbase 118)
| 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"
View Template

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
View Template
Previous sim
N/A
Crewman Scrub Brush
Turbolift Janitor
Starbase 118
Next sim
N/A
View Template
Previous sim
N/A
Lieutenant Scanwitta Tricorder
Lifeform Finder
USS Where-U-At
Next sim
N/A
View Template
Previous sim
N/A
Girlnan
Guinan's Brother
USS Enterprise NCC-1701-D
Next sim
N/A
View Template