Template:SIMNav: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Undo revision 157019 by Jackford B. Kolk (talk) nope)
(changing margin size?)
Line 1: Line 1:
<includeonly>{| class="wikitable" id="toc" style="margin: 0.5em auto; clear: both; border-radius: 10px 10px 10px 10px; text-align: center; background:#{{FIBGColor|{{{Color}}}}}"
<includeonly>{| class="wikitable" id="toc" style="margin: 0em auto; clear: both; border-radius: 10px 10px 10px 10px; text-align: center; background:#{{FIBGColor|{{{Color}}}}}"
|-
|-
| width="30%"| <font color=#ffcc99>Previous sim<br>{{#if: {{{PrevSIM|}}}|[[{{{PrevSIM}}}|{{{PrevTitle}}}]]|N/A}}</font>
| width="30%"| <font color=#ffcc99>Previous sim<br>{{#if: {{{PrevSIM|}}}|[[{{{PrevSIM}}}|{{{PrevTitle}}}]]|N/A}}</font>
| width="40%"| <font color=#ffcc99>'''{{{Rank}}} [[{{{LastName|}}}, {{{FirstName|}}}|<font color=6699cc>{{{FirstName|}}} {{{LastName|}}}</font>]]'''<br />'''{{{Post|}}}'''<br />'''''[[{{{Ship|}}}|<font color=6699cc>{{{Ship|}}}</font>]]'' {{{ShipReg|}}}'''</font>
| width="40%"| <font color=#ffcc99>'''{{{Rank}}} [[{{{LastName|}}}, {{{FirstName|}}}|<font color=6699cc>{{{FirstName|}}} {{{LastName|}}}</font>]]'''<br />'''{{{Post|}}}'''<br />'''''[[{{{Ship|}}}|<font color=6699cc>{{{Ship|}}}</font>]]'' {{{ShipReg|}}}'''</font>
| width="30%"| <font color=#ffcc99>Next sim<br />{{#if: {{{NextSIM|}}}|[[{{{NextSIM}}}|{{{NextTitle}}}]]|N/A}}</font>
| width="30%"| <font color=#ffcc99>Next sim<br />{{#if: {{{NextSIM|}}}|[[{{{NextSIM}}}|{{{NextTitle}}}]]|N/A}}</font>
|}</includeonly><noinclude>A template for 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)
Line 11: Line 11:
| LastName = Doe
| LastName = Doe
| Post = character's job
| Post = character's job
| Ship = USS Steampunk
| Ship = ship name (e.g. USS Enterprise)
| ShipReg = NCC-ID10T
| ShipReg = ship registry number (e.g. NCC-1701)
| 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, leave blank)
| 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, leave blank)

Revision as of 15:14, 6 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
| Post = character's job
| Ship = ship name (e.g. USS Enterprise)
| ShipReg = ship registry number (e.g. NCC-1701)
| PrevSIM = page name of the preceding SIM (e.g. SIM: Ens. Doe - "Before Now") - (if non exists, leave blank)
| PrevTitle = shorter name for the link ( e.g. "Before Now") - (if non exists, leave blank)
| NextSIM  = page name of the following SIM (e.g. SIM: Ens. Doe - "After Now") - (if non exists, leave blank)
| NextTitle = shorter name for the link ( e.g. "After Now") - (if non exists, leave blank)
}}

Examples

With other sims listed

Previous sim
"Before Now"
Ensign Jane Doe
Turbolift Janitor
USS Steampunk NCC-ID10T
Next sim
"After Now"

Without other sims listed

Previous sim
N/A
Ensign Jane Doe
Turbolift Janitor
USS Steampunk NCC-ID10T
Next sim
N/A