Difference between revisions of "Template:RTREntry"

From 118Wiki
Jump to navigation Jump to search
(removing switch for gold)
(creating background color switch)
Line 2: Line 2:
 
!style="background:#{{FCBGColor|White}};"|{{{3}}}
 
!style="background:#{{FCBGColor|White}};"|{{{3}}}
 
!style="background:#{{FCBGColor|White}};"|[[{{#if: {{{2|}}}|{{{2}}},|}} {{{1}}}|{{{1}}}{{#if: {{{2|}}}|<font> {{{2}}}</font>|}}]]
 
!style="background:#{{FCBGColor|White}};"|[[{{#if: {{{2|}}}|{{{2}}},|}} {{{1}}}|{{{1}}}{{#if: {{{2|}}}|<font> {{{2}}}</font>|}}]]
!style="background:#{{FCBGColor|White}};"|<font color=#{{FCBGColor|{{{5}}}}}>{{{4}}}</font>
+
!style="background:#{{FCBGColor|{{#switch: {{{5|}}}|Gold=Silver|White}}}};"|<font color=#{{FCBGColor|{{{5}}}}}>{{{4}}}</font>
 
</includeonly>
 
</includeonly>
 
<noinclude>For use within [[Template:RTRosterSect]], which can be used within [[Template:RoundTable]]. See below for example.<br>
 
<noinclude>For use within [[Template:RTRosterSect]], which can be used within [[Template:RoundTable]]. See below for example.<br>
 
<pre>{{RTRosterSect|Music Department|Lavender|{{RTREntry|James|Taylor|Ensign|Chief Musician|Lavender|FC}}}}</pre>
 
<pre>{{RTRosterSect|Music Department|Lavender|{{RTREntry|James|Taylor|Ensign|Chief Musician|Lavender|FC}}}}</pre>
 
{{RTRosterSect|Music Department|Lavender|{{RTREntry|James|Taylor|Ensign|Chief Musician|Lavender|FC}}}}</noinclude>
 
{{RTRosterSect|Music Department|Lavender|{{RTREntry|James|Taylor|Ensign|Chief Musician|Lavender|FC}}}}</noinclude>

Revision as of 13:07, 3 September 2014

For use within Template:RTRosterSect, which can be used within Template:RoundTable. See below for example.

{{RTRosterSect|Music Department|Lavender|{{RTREntry|James|Taylor|Ensign|Chief Musician|Lavender|FC}}}}
Music Department
Rank Character Name Current Post
FC-01-Ens-Lavender.png
Ensign James Taylor Chief Musician