Template:RoundTable: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(adding more colors to switch)
(adding float option)
 
(36 intermediate revisions by the same user not shown)
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|{{{Color}}}}}|000000}}; border-radius:20px 20px 20px 20px;" {{#if: {{{Float|}}}|float{{=}}{{{Float}}}|align{{=}}{{#if: {{{Align|}}}|{{{Align}}}|left}}
|-
|-
!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>
{{#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>
{{{3|}}}|-
<noinclude>
{{{4|}}}|-
==Directions==
{{{5|}}}|-
Used with [[Template:RTRosterSect]] and [[Template:RTREntry]] to make rosters.<br>
{{{6|}}}|-
Used with [[Template:CHSection]] and [[Template:CHEntry]] to make crew histories.
{{{7|}}}|-
<pre>{{RoundTable|Title|Color|
{{{8|}}}|-
{{RTRosterSect|DivisionTitle|Color|
{{{9|}}}|-
{{RTREntry|FirstName|LastName|Rank|Post|PipColor|PipStyle}}|<--repeat as many times as needed.
{{{10|}}}|-
}}<--this closes RTRosterSect Template,
{{{11|}}}|-
repeat "{{RTRosterSect..." to start a new
{{{12|}}}|-
section, using "{{RTREntry..." as above.
{{{13|}}}|-
}}<--this closes RoundTable Template.</pre>
{{{14|}}}|-
Available pip styles are the same as those available for [[Template:Roster]].
{{{15|}}}|-
''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.''
{{{16|}}}|-
 
{{{17|}}}|-
{{{18|}}}|-
{{{19|}}}|-
{{{20|}}}|-
{{{21|}}}|-
{{{22|}}}|-
{{{23|}}}|-
{{{24|}}}|-
{{{25|}}}|-
{{{26|}}}|-
{{{27|}}}|-
{{{28|}}}|-
{{{29|}}}|-
{{{30|}}}|-
{{{31|}}}|-
{{{32|}}}|-
{{{33|}}}|-
{{{34|}}}|-
{{{35|}}}|-
{{{36|}}}|-
{{{37|}}}|-
{{{38|}}}|-
{{{39|}}}|-
{{{40|}}}|-
{{{41|}}}|-
{{{42|}}}|-
{{{43|}}}|-
{{{44|}}}|-
{{{45|}}}|-
{{{46|}}}|-
{{{47|}}}|-
{{{48|}}}|-
{{{49|}}}|-
{{{50|}}}|-
{{{51|}}}|-
{{{52|}}}|-
{{{53|}}}|-
{{{54|}}}|-
{{{55|}}}|-
{{{56|}}}|-
{{{57|}}}|-
{{{58|}}}|-
{{{59|}}}|-
{{{60|}}}|-
{{{61|}}}|-
{{{62|}}}|-
{{{63|}}}|-
{{{64|}}}|-
{{{65|}}}|-
{{{66|}}}|-
{{{67|}}}|-
{{{68|}}}|-
{{{69|}}}|-
{{{70|}}}|-
{{{71|}}}|-
{{{72|}}}|-
{{{73|}}}|-
{{{74|}}}|-
{{{75|}}}|-
{{{76|}}}|-
{{{77|}}}|-
{{{78|}}}|-
{{{79|}}}|-
{{{80|}}}|-
{{{81|}}}|-
{{{82|}}}|-
{{{83|}}}|-
{{{84|}}}|-
{{{85|}}}|-
{{{86|}}}|-
{{{87|}}}|-
{{{88|}}}|-
{{{89|}}}|-
{{{90|}}}|-
{{{91|}}}|-
{{{92|}}}|-
{{{93|}}}|-
{{{94|}}}|-
{{{95|}}}|-
{{{96|}}}|-
{{{97|}}}|-
{{{98|}}}|-
{{{99|}}}|-
{{{100|}}}|-
|}</includeonly>
<noinclude>==Directions==
Used with [[Template:RRSection]] and [[Template:RREntry]] to make rosters.
==Example==
==Example==
{{RoundRoster|Test||{{RRSection|Command|Red}}}}
<pre>{{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}}}}
}}</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>
</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:

USS Enterprise, NCC-1701-D Roster
Command
Rank Character Name Current Post
FC-06-Capt-Red.png
Captain Jean-Luc Picard Commanding Officer
FC-05-Cmdr-Red.png
Commander William T. Riker First Officer
FC-01-Ens-Red.png
Ensign Wesley Crusher Captain's Pet
Engineerging, Operations, Security, & Science
(because Jean-Luc runs a confusing ship)
Rank Character Name Current Post
FC-04-LtCmdr-Gold.png
Lt. Commander Geordi LaForge Chief Engineer
FC-04-LtCmdr-Gold.png
Lt. Commander Data Chief Operations Officer, Chief Science Officer, & Second Officer
FC-04-LtCmdr-Gold.png
Lt. Commander Worf Security Chief
FC-03-Lt-Gold.png
Lieutenant Tasha Yar Dead Person
Counseling & Medical
Rank Character Name Current Post
FC-05-Cmdr-Teal.png
Commander Beverly Crusher Chief Medical Officer
FC-05-Cmdr-Teal.png
Commander Diana Troi Chief Couselor