Template:RoundTable: Difference between revisions
Jump to navigation
Jump to search
(wondering why it doesn't work) |
(adding float option) |
||
(51 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{|border='0' cellspacing='7' style="background:#{{#if:{{{Color|}}}|{{FCBGColor|{{{Color}}}}}|000000}}; border-radius:20px 20px 20px 20px;" {{#if: {{{Float|}}}|float{{=}}{{{Float}}}|align{{=}}{{#if: {{{Align|}}}|{{{Align}}}|left}} | ||
{| border='0' cellspacing='7' style="background:#{{#if:{{{ | |||
|- | |- | ||
!style="background: | {{#if: {{{1|}}}|!style="background:#{{#if:{{{Color|}}}|{{FCBGColor|{{{Color}}}}}|000000}}"{{!}}<center><font color=#{{#switch: {{{Color|}}}|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|}}}|}<br style="clear:both;" /></includeonly> | ||
{{{2|}}} | <noinclude> | ||
{{{3|}}} | ==Directions== | ||
{{{4|}}} | Used with [[Template:RTRosterSect]] and [[Template:RTREntry]] to make rosters.<br> | ||
{{{5|}}} | Used with [[Template:CHSection]] and [[Template:CHEntry]] to make crew histories. | ||
{{{6|}}} | <pre>{{RoundTable|Title|Color| | ||
{{{7|}}} | {{RTRosterSect|DivisionTitle|Color| | ||
{{{8|}}} | {{RTREntry|FirstName|LastName|Rank|Post|PipColor|PipStyle}}|<--repeat as many times as needed. | ||
{{{9|}}} | }}<--this closes RTRosterSect Template, | ||
{{{10|}}} | repeat "{{RTRosterSect..." to start a new | ||
{{{11|}}} | section, using "{{RTREntry..." as above. | ||
{{{12|}}} | }}<--this closes RoundTable Template.</pre> | ||
{{{13|}}} | Available pip styles are the same as those available for [[Template:Roster]]. | ||
{{{14|}}} | ''Note: If you use RTREntry and run into a missing pip, just leave a note on [[User talk:Jackford B. Kolk|Jack's talk page]] and if it exists he will upload it a.s.a.p.'' | ||
{{{15|}}} | |||
{{{16|}}} | ==Example== | ||
{{{17|}}} | <pre>{{RoundTable|''USS Enterprise'', NCC-1701-D Roster|| | ||
{{{18|}}} | {{RTRosterSect|Command|Red| | ||
{{{19|}}} | {{RTREntry|Jean-Luc|Picard|Captain|Commanding Officer|Red|FC}}| | ||
{{{20|}}} | {{RTREntry|William T.|Riker|Commander|First Officer|Red|FC}}| | ||
{{{21|}}} | {{RTREntry|Wesley|Crusher|Ensign|Captain's Pet|Red|FC}}}}| | ||
{{{22|}}} | {{RTRosterSect|Engineerging, Operations, Security, & Science<br>(because Jean-Luc runs a confusing ship)|Gold| | ||
{{{23|}}} | {{RTREntry|Geordi|LaForge|Lt. Commander|Chief Engineer|Gold|FC}}| | ||
{{{24|}}} | {{RTREntry|Data||Lt. Commander|Chief Operations Officer, Chief Science Officer, & Second Officer|Gold|FC}}| | ||
{{{25|}}} | {{RTREntry|Worf||Lt. Commander|Security Chief|Gold|FC}}| | ||
{{{26|}}} | {{RTREntry|Tasha|Yar|Lieutenant|Dead Person|Gold|FC}}}}| | ||
{{{27|}}} | {{RTRosterSect|Counseling & Medical|Teal| | ||
{{{28|}}} | {{RTREntry|Beverly|Crusher|Commander|Chief Medical Officer|Teal|FC}}| | ||
{{{29|}}} | {{RTREntry|Diana|Troi|Commander|Chief Couselor|Teal|FC}}}} | ||
{{{30|}}}| | }}</pre> | ||
{{ | gives you this: | ||
{{ | {{RoundTable|''USS Enterprise'', NCC-1701-D Roster|| | ||
{{ | {{RTRosterSect|Command|Red| | ||
{{RTREntry|Jean-Luc|Picard|Captain|Commanding Officer|Red|FC}}| | |||
{{ | {{RTREntry|William T.|Riker|Commander|First Officer|Red|FC}}| | ||
{{ | {{RTREntry|Wesley|Crusher|Ensign|Captain's Pet|Red|FC}}}}| | ||
{{RTRosterSect|Engineerging, Operations, Security, & Science<br>(because Jean-Luc runs a confusing ship)|Gold| | |||
{{ | {{RTREntry|Geordi|LaForge|Lt. Commander|Chief Engineer|Gold|FC}}| | ||
{{RTREntry|Data||Lt. Commander|Chief Operations Officer, Chief Science Officer, & Second Officer|Gold|FC}}| | |||
{{ | {{RTREntry|Worf||Lt. Commander|Security Chief|Gold|FC}}| | ||
{{ | {{RTREntry|Tasha|Yar|Lieutenant|Dead Person|Gold|FC}}}}| | ||
{{RTRosterSect|Counseling & Medical|Teal| | |||
{{RTREntry|Beverly|Crusher|Commander|Chief Medical Officer|Teal|FC}}| | |||
{{RTREntry|Diana|Troi|Commander|Chief Couselor|Teal|FC}}}} | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
| | |||
| | |||
}} | }} | ||
[[Category:Templates]] | |||
</noinclude> |
Latest revision as of 16:34, 4 September 2014
Directions
Used with Template:RTRosterSect and Template:RTREntry to make rosters.
Used with Template:CHSection and Template:CHEntry to make crew histories.
{{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 Enterprise'', NCC-1701-D Roster|| {{RTRosterSect|Command|Red| {{RTREntry|Jean-Luc|Picard|Captain|Commanding Officer|Red|FC}}| {{RTREntry|William T.|Riker|Commander|First Officer|Red|FC}}| {{RTREntry|Wesley|Crusher|Ensign|Captain's Pet|Red|FC}}}}| {{RTRosterSect|Engineerging, Operations, Security, & Science<br>(because Jean-Luc runs a confusing ship)|Gold| {{RTREntry|Geordi|LaForge|Lt. Commander|Chief Engineer|Gold|FC}}| {{RTREntry|Data||Lt. Commander|Chief Operations Officer, Chief Science Officer, & Second Officer|Gold|FC}}| {{RTREntry|Worf||Lt. Commander|Security Chief|Gold|FC}}| {{RTREntry|Tasha|Yar|Lieutenant|Dead Person|Gold|FC}}}}| {{RTRosterSect|Counseling & Medical|Teal| {{RTREntry|Beverly|Crusher|Commander|Chief Medical Officer|Teal|FC}}| {{RTREntry|Diana|Troi|Commander|Chief Couselor|Teal|FC}}}} }}
gives you this:
|
---|