Template:SIMNav: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(→‎With other sims listed: making example cooler)
(making Rank optional)
Line 2: Line 2:
|-
|-
| 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}}} [[{{#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|}}}|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="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
| Color = your character's department color (Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, & White available)
| Color = your character's department color (Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, & White available)
| Rank = character's rank
| Rank = character's rank (optional - delete line if not wanted)
| FirstName = Jane
| FirstName = Jane
| LastName = Doe (optional - delete line if they only have one name)
| LastName = Doe (optional - delete line if they only have one name)
Line 59: Line 59:
| Post = Lifeform Finder
| Post = Lifeform Finder
| Ship = USS Where-U-At
| Ship = USS Where-U-At
}}
{{SIMNav
| Color = White
| FirstName = Girlnan
| Post = Guinan's Brother
| Ship = USS Enterprise
| ShipReg = NCC-1701-D
}}
}}
[[Category:Kolk]]
[[Category:Kolk]]
[[Category:Templates]]<noinclude>
[[Category:Templates]]<noinclude>

Revision as of 04:15, 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 (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