×
Create a new article
Write your page title here:
We currently have 454 articles on FHODS Archive. Type your article name above or click on one of the titles below and start writing!



FHODS Archive
454Articles

Template:CrewTable: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
== Template:CrewTable ==
== Template:CrewTable ==
Sectioned production crew table. Supports up to 6 named sections, each built from [[Template:CrewRow]] entries.


=== Parameters ===
Opens a styled crew table. Must be closed with <code>{{CrewTableEnd}}</code>.
* <code>section1_label</code>, <code>section1</code> — first section heading and its CrewRow entries
Use <code>{{CrewSection|Label}}</code> to add section dividers between rows.
* <code>section2_label</code>, <code>section2</code> — second section (and so on up to 6)
Use <code>{{CrewRow}}</code> for individual credits.


=== Example ===
=== Example ===
<pre>
<pre>
{{CrewTable
{{CrewTable}}
| section1_label = Direction & Music
{{CrewSection|Direction & Music}}
| section1 =
{{CrewRow | role = Director | name = [[Michelle Hartley]] }}
{{CrewRow | role = Director | name = [[Michelle Hartley]] }}
{{CrewRow | role = Musical Director | name = [[Andy Hartley]] }}
{{CrewRow | role = Musical Director | name = [[Andy Hartley]] }}
| section2_label = Production
{{CrewSection|Production}}
| section2 =
{{CrewRow | role = Producers | name = [[Steve Davis]] & [[Emma Franks]] }}
{{CrewRow | role = Producers | name = [[Steve Davis]] & [[Emma Franks]] }}
}}
{{CrewTableEnd}}
</pre>
</pre>


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude><includeonly><div class="fhods-crew-wrapper">{{#if:{{{section1|}}}|<div class="fhods-crew-section-label">{{{section1_label|Credits}}}</div>
</noinclude><includeonly><div class="fhods-crew-wrapper">{| class="fhods-crew-table wikitable"</includeonly>
{| class="fhods-crew-table wikitable"
{{{section1}}}
|} }}{{#if:{{{section2|}}}|<div class="fhods-crew-section-label">{{{section2_label|}}}</div>
{| class="fhods-crew-table wikitable"
{{{section2}}}
|} }}{{#if:{{{section3|}}}|<div class="fhods-crew-section-label">{{{section3_label|}}}</div>
{| class="fhods-crew-table wikitable"
{{{section3}}}
|} }}{{#if:{{{section4|}}}|<div class="fhods-crew-section-label">{{{section4_label|}}}</div>
{| class="fhods-crew-table wikitable"
{{{section4}}}
|} }}{{#if:{{{section5|}}}|<div class="fhods-crew-section-label">{{{section5_label|}}}</div>
{| class="fhods-crew-table wikitable"
{{{section5}}}
|} }}{{#if:{{{section6|}}}|<div class="fhods-crew-section-label">{{{section6_label|}}}</div>
{| class="fhods-crew-table wikitable"
{{{section6}}}
|} }}</div></includeonly>

Latest revision as of 11:47, 16 June 2026

Template:CrewTable

Opens a styled crew table. Must be closed with |}.

Use |- | colspan="2" class="fhods-crew-section-label" | Label to add section dividers between rows. Use |- ! class="fhods-crew-role" | {{{role}}} | class="fhods-crew-name" | {{{name}}} for individual credits.

Example

{{CrewTable}}
{{CrewSection|Direction & Music}}
{{CrewRow | role = Director | name = [[Michelle Hartley]] }}
{{CrewRow | role = Musical Director | name = [[Andy Hartley]] }}
{{CrewSection|Production}}
{{CrewRow | role = Producers | name = [[Steve Davis]] & [[Emma Franks]] }}
{{CrewTableEnd}}