Template:RoundTable: Difference between revisions

trying naming to color variable
(can't imagine needing 30 sections, but adding 21-30 back in anyway, just in case...)
(trying naming to color variable)
Line 1: Line 1:
<includeonly>{|border='0' cellspacing='7' style="background:#{{#if:{{{2|}}}|{{FCBGColor|{{{2}}}}}|000000}}; border-radius:20px 20px 20px 20px;"
<includeonly>{|border='0' cellspacing='7' style="background:#{{#if:{{{Color|}}}|{{FCBGColor|{{{2}}}}}|000000}}; border-radius:20px 20px 20px 20px;"
|-
|-
!style="background:#{{#if:{{{2|}}}|{{FCBGColor|{{{2}}}}}|000000}}; width:700px;"|<center>[[{{{1}}}|<font color=#{{#switch: {{{2|}}}|Gold=000000|Silver=000000|White=000000|Off-White=000000|Pink=000000|efe576}}>{{{1}}} Roster</font>]]</center>{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{21|}}}{{{22|}}}{{{23|}}}{{{24|}}}{{{25|}}}{{{26|}}}{{{27|}}}{{{28|}}}{{{29|}}}{{{30|}}}|}</includeonly>
!style="background:#{{#if:{{{2|}}}|{{FCBGColor|{{{2}}}}}|000000}}; width:700px;"|<center>[[{{{1}}}|<font color=#{{#switch: {{{2|}}}|Gold=000000|Silver=000000|White=000000|Off-White=000000|Pink=000000|efe576}}>{{{1}}} Roster</font>]]</center>{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{21|}}}{{{22|}}}{{{23|}}}{{{24|}}}{{{25|}}}{{{26|}}}{{{27|}}}{{{28|}}}{{{29|}}}{{{30|}}}|}</includeonly>
<noinclude>==Directions==
<noinclude>==Directions==
Used with [[Template:RRSection]] and [[Template:RREntry]] to make rosters.
Used with [[Template:RRSection]] and [[Template:RREntry]] to make rosters.
==Example==
==Example==
{{RoundRoster|USS Ronin|
{{RoundRoster|USS Ronin|{{RRSection|Command|Red|{{RREntry|Benjamin|Walker|Captain|Commanding Officer|Red|FC}}|{{RREntry|Jackford B.|Kolk|Commander|First Officer|Red|FC}}}}|{{RRSection|Science|Navy|{{RREntry|Orsisius|Kizito|Ensign|Science Officer|Navy|FC}}|{{RREntry|James T.|Kolk|Ensign|Science Officer|Navy|FC}}}}
|{{RRSection|Command|Red|{{RREntry|Benjamin|Walker|Captain|Commanding Officer|Red|FC}}|{{RREntry|Jackford B.|Kolk|Commander|First Officer|Red|FC}}}}
|{{RRSection|Science|Navy|{{RREntry|Orsisius|Kizito|Ensign|Science Officer|Navy|FC}}|{{RREntry|James T.|Kolk|Ensign|Science Officer|Navy|FC}}}}
}}
}}
</noinclude>
</noinclude>
8,273

edits