Template:SIMNav: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(inserting missing "<font ")
(bolding sim titles, making LastName & ShipReg optional & adding more color examples & directions)
Line 1: Line 1:
<includeonly>{| class="table" id="toc" style="margin: 0.5em auto; clear: both; border-radius: 10px 10px 10px 10px; text-align: center; background:#{{FIBGColor|{{{Color}}}}}"
<includeonly>{| class="table" id="toc" style="margin: 0.5em auto; clear: both; border-radius: 10px 10px 10px 10px; text-align: center; background:#{{FIBGColor|{{{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|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>'''{{{PrevTitle}}}'''</font>]]|N/A}}</font>
| width="40%"| <font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>'''{{{Rank}}} [[{{{LastName|}}}, {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{{FirstName|}}} {{{LastName|}}}</font>]]'''<br />'''{{{Post|}}}'''<br />'''''[[{{{Ship|}}}|<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{{Ship|}}}</font>]]'' {{{ShipReg|}}}'''</font>
| width="40%"| <font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>'''{{{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="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|}}}|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>
|}</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
Line 9: Line 9:
| Rank = character's rank
| Rank = character's rank
| FirstName = Jane
| FirstName = Jane
| LastName = Doe
| LastName = Doe (optional - delete line if they only have one name)
| Post = character's job
| Post = character's job
| Ship = ship name (e.g. USS Enterprise)
| Ship = ship name (e.g. USS Enterprise)
| ShipReg = ship registry number (e.g. NCC-1701)
| 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, leave blank)
| 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, leave blank)
| 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, leave blank)
| 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, leave blank)
| NextTitle = shorter name for the link ( e.g. "After Now") - (if non exists, delete line)
}}</pre>
}}</pre>
==Examples==
==Examples==
Line 35: Line 35:


===Without other sims listed===
===Without other sims listed===
{{SIMNav
| Color = Red
| Rank = Ensign
| FirstName = Commandy
| LastName = Sue
| Post = Assistant to the<br>First Officer's<br>Chief Yeoman's<br>Cat
| Ship = USS Steampunk
| ShipReg = NCC-ID10T
}}
{{SIMNav
{{SIMNav
| Color = Gold
| Color = Gold
| Rank = Ensign
| FirstName = Scrub
| LastName = Brush
| Post = Turbolift Janitor
| Ship = USS Up-N-Down
| ShipReg = NCC-ID10T
}}
{{SIMNav
| Color = Blue
| Rank = Ensign
| Rank = Ensign
| FirstName = Jane
| FirstName = Jane

Revision as of 04:03, 8 August 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 (Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, & White available)
| Rank = character's rank
| 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
"Before Now"
Ensign JaneDoe
Turbolift Janitor
USS Steampunk NCC-ID10T
Next sim
"After Now"

Without other sims listed

Previous sim
N/A
Ensign CommandySue
Assistant to the
First Officer's
Chief Yeoman's
Cat

USS Steampunk NCC-ID10T
Next sim
N/A
Previous sim
N/A
Ensign ScrubBrush
Turbolift Janitor
USS Up-N-Down NCC-ID10T
Next sim
N/A
Previous sim
N/A
Ensign JaneDoe
Turbolift Janitor
USS Steampunk NCC-ID10T
Next sim
N/A