Template:RTREntry: Difference between revisions

adjusting switch
(adding font color switch)
(adjusting switch)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>|{{Pips|{{{3}}}|{{{5}}}|{{{6|}}}}}
<includeonly>|style="background:#{{FCBGColor|Silver}};"|{{Pips|{{{3}}}|{{{5}}}|{{{6|}}}}}
!<font color=#{{#switch: {{{5|}}}|Gold=000000|Silver=000000|White=000000|Off-White=000000|Pink=000000|efe576}}>{{{3}}}</font>
!style="background:#{{FCBGColor|White}};"|{{{3}}}
![[{{#if: {{{2|}}}|{{{2}}}, |}}{{{1}}}|<font color=#{{#switch: {{{5|}}}|Gold=000000|Silver=000000|White=000000|Off-White=000000|Pink=000000|efe576}}>{{{1}}}{{#if: {{{2|}}}|<font> {{{2}}}</font>|}}</font>]]
!style="background:#{{FCBGColor|White}};"|[[{{#if: {{{2|}}}|{{{2}}},|}} {{{1}}}|{{{1}}}{{#if: {{{2|}}}|<font> {{{2}}}</font>|}}]]
!style="background:lightgrey"|<font color=#{{FCBGColor|{{{5}}}}}>{{{4}}}</font>
!style="background:#{{FCBGColor|{{#switch: {{{5|}}}|Gold=Black|Silver=Black|Off-White=Black|White=Black|White}}}};"|<font color=#{{FCBGColor|{{{5}}}}}>{{{4}}}</font>
</includeonly>
</includeonly>
<noinclude>For use within [[Template:RRSection]], which is used within [[Template:RoundRoster]]<br>
<noinclude>For use within [[Template:RTRosterSect]], which can be used within [[Template:RoundTable]]. See below for example.<br>
1=FirstName, 2=LastName, 3=Rank, 4=Post, 5=Color, 6=Style</noinclude>
<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>
8,273

edits