Template:RoundTable

From 118Wiki
Revision as of 21:26, 1 September 2014 by James T. Kolk (talk | contribs) (adding align variable and making {{{1}}} optional)
Jump to navigation Jump to search

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:

Template:(-
USS Ronin Roster
Command
Rank Character Name Current Post
FC-06-Capt-Red.png
Captain Benjamin Walker Commanding Officer
FC-05-Cmdr-Red.png
Commander Jackford B. Kolk First Officer
Science
Rank Character Name Current Post
FC-01-Ens-Navy.png
Ensign Orsisius Kizito Science Officer
FC-01-Ens-Navy.png
Ensign James T. Kolk Science Officer