×
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

Created page with "{{!}}-- ============================================================ Template:CrewTable Sectioned production crew table. Supports up to 6 named sections, each with a label and a block of CrewRow entries. ============================================================ --}} <noinclude> == Template:CrewTable == Renders the full crew table with grouped sections. Each section needs a <code>sectionN_label</code> and a <code>sectionN</code> parameter contai..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{!}}-- ============================================================
    Template:CrewTable
    Sectioned production crew table. Supports up to 6 named sections,
    each with a label and a block of CrewRow entries.
    ============================================================ --}}
<noinclude>
<noinclude>
== Template:CrewTable ==
== Template:CrewTable ==
 
Renders the full crew table with grouped sections. Each section needs a <code>sectionN_label</code> and a <code>sectionN</code> parameter containing <code>{{CrewRow}}</code> entries.
Opens a styled crew table. Must be closed with <code>{{CrewTableEnd}}</code>.
Use <code>{{CrewSection|Label}}</code> to add section dividers between rows.
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">
</noinclude><includeonly><div class="fhods-crew-wrapper">{| class="fhods-crew-table wikitable"</includeonly>
{{#if:{{{section1|}}}|<div class="fhods-crew-section-label">{{{section1_label|Credits}}}</div>
{| 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}}