Template:RoundTable: Difference between revisions

→‎Example: adding directions
m (→‎Example: typo)
(→‎Example: adding directions)
Line 4: Line 4:
<noinclude>==Directions==
<noinclude>==Directions==
Used with [[Template:RTRosterSect]] and [[Template:RTREntry]] to make rosters.
Used with [[Template:RTRosterSect]] and [[Template:RTREntry]] to make rosters.
==Directions==
<pre>{{RoundTable|Title|Color|
{{RTRosterSect|DivisionTitle|Color|
{{RTREntry|FirstName|LastName|Rank|Post|Color|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.</pre>
==Example==
==Example==
<pre>{{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}}
}}
}}</pre>
gives you this:
{{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}}}}
{{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}}}}
}}
}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
8,273

edits