Template:SIMNav: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(→‎Examples: adding color to example)
m (correcging typo)
Line 4: Line 4:
| 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><noinlcude>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 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)

Revision as of 15:03, 6 August 2014

A template for 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
| 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
[[|]]
Next sim
"After Noe"

Without other sims listed

Previous sim
N/A
Ensign Jane Doe
Turbolift Janitor
[[|]]
Next sim
N/A