Template:RoundTable: Difference between revisions
Jump to navigation
Jump to search
(adding align variable and making {{{1}}} optional) |
m (typo) |
||
Line 1: | Line 1: | ||
<includeonly>{|border='0' cellspacing='7' style="background:#{{#if:{{{Color|}}}|{{FCBGColor|{{{2}}}}}|000000}}; border-radius:20px 20px 20px 20px;" align={{#if: {{{Align|}}}|{{{Align}}}|left}} | <includeonly>{|border='0' cellspacing='7' style="background:#{{#if:{{{Color|}}}|{{FCBGColor|{{{2}}}}}|000000}}; border-radius:20px 20px 20px 20px;" align={{#if: {{{Align|}}}|{{{Align}}}|left}} | ||
{{#if: {{{1|}}}|{{ | {{#if: {{{1|}}}|{{!-}} | ||
!style="background:#{{#if:{{{2|}}}|{{FCBGColor|{{{2}}}}}|000000}}; width:700px;"{{!}}<center><font color=#{{#switch: {{{2|}}}|Gold=000000|Silver=000000|White=000000|Off-White=000000|Pink=000000|efe576}}>{{{1|}}}</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> | !style="background:#{{#if:{{{2|}}}|{{FCBGColor|{{{2}}}}}|000000}}; width:700px;"{{!}}<center><font color=#{{#switch: {{{2|}}}|Gold=000000|Silver=000000|White=000000|Off-White=000000|Pink=000000|efe576}}>{{{1|}}}</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== |
Revision as of 21:26, 1 September 2014
Directions
Used with Template:RTRosterSect and Template:RTREntry to make rosters.
Directions
{{RoundTable|Title|Color| {{RTRosterSect|DivisionTitle|Color| {{RTREntry|FirstName|LastName|Rank|Post|PipColor|PipStyle}}|<--repeat as many times as needed. }}<--this closes RTRosterSect Template, repeat "{{RTRosterSect..." to start a new section, using "{{RTREntry..." as above. }}<--this closes RoundTable Template.
Available pip styles are the same as those available for Template:Roster. Note: If you use RTREntry and run into a missing pip, just leave a note on Jack's talk page and if it exists he will upload it a.s.a.p.
Example
{{RoundTable|''USS Ronin'' Roster| {{RTRosterSect|Command|Red| {{RTREntry|Benjamin|Walker|Captain|Commanding Officer|Red|FC}}| {{RTREntry|Jackford B.|Kolk|Commander|First Officer|Red|FC}}}}| {{RTRosterSect|Science|Navy| {{RTREntry|Orsisius|Kizito|Ensign|Science Officer|Navy|FC}}| {{RTREntry|James T.|Kolk|Ensign|Science Officer|Navy|FC}} }} }}
gives you this:
|
---|