FHODSArchive (talk | contribs) 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..." |
FHODSArchive (talk | contribs) 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 === | |||
* <code>section1_label</code>, <code>section1</code> — first section heading and its CrewRow entries | |||
* <code>section2_label</code>, <code>section2</code> — second section (and so on up to 6) | |||
=== Example === | === Example === | ||
<pre> | <pre> | ||
| Line 22: | Line 19: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude><includeonly><div class="fhods-crew-wrapper"> | </noinclude><includeonly><div class="fhods-crew-wrapper">{{#if:{{{section1|}}}|<div class="fhods-crew-section-label">{{{section1_label|Credits}}}</div> | ||
{{#if:{{{section1|}}}|<div class="fhods-crew-section-label">{{{section1_label|Credits}}}</div> | |||
{| class="fhods-crew-table wikitable" | {| class="fhods-crew-table wikitable" | ||
{{{section1}}} | {{{section1}}} | ||
|}}} | |} }}{{#if:{{{section2|}}}|<div class="fhods-crew-section-label">{{{section2_label|}}}</div> | ||
{{#if:{{{section2|}}}|<div class="fhods-crew-section-label">{{{section2_label|}}}</div> | |||
{| class="fhods-crew-table wikitable" | {| class="fhods-crew-table wikitable" | ||
{{{section2}}} | {{{section2}}} | ||
|}}} | |} }}{{#if:{{{section3|}}}|<div class="fhods-crew-section-label">{{{section3_label|}}}</div> | ||
{{#if:{{{section3|}}}|<div class="fhods-crew-section-label">{{{section3_label|}}}</div> | |||
{| class="fhods-crew-table wikitable" | {| class="fhods-crew-table wikitable" | ||
{{{section3}}} | {{{section3}}} | ||
|}}} | |} }}{{#if:{{{section4|}}}|<div class="fhods-crew-section-label">{{{section4_label|}}}</div> | ||
{{#if:{{{section4|}}}|<div class="fhods-crew-section-label">{{{section4_label|}}}</div> | |||
{| class="fhods-crew-table wikitable" | {| class="fhods-crew-table wikitable" | ||
{{{section4}}} | {{{section4}}} | ||
|}}} | |} }}{{#if:{{{section5|}}}|<div class="fhods-crew-section-label">{{{section5_label|}}}</div> | ||
{{#if:{{{section5|}}}|<div class="fhods-crew-section-label">{{{section5_label|}}}</div> | |||
{| class="fhods-crew-table wikitable" | {| class="fhods-crew-table wikitable" | ||
{{{section5}}} | {{{section5}}} | ||
|}}} | |} }}{{#if:{{{section6|}}}|<div class="fhods-crew-section-label">{{{section6_label|}}}</div> | ||
{{#if:{{{section6|}}}|<div class="fhods-crew-section-label">{{{section6_label|}}}</div> | |||
{| class="fhods-crew-table wikitable" | {| class="fhods-crew-table wikitable" | ||
{{{section6}}} | {{{section6}}} | ||
|}}} | |} }}</div></includeonly> | ||
</div></includeonly> | |||
Revision as of 11:41, 16 June 2026
Template:CrewTable
Sectioned production crew table. Supports up to 6 named sections, each built from Template:CrewRow entries.
Parameters
section1_label,section1— first section heading and its CrewRow entriessection2_label,section2— second section (and so on up to 6)
Example
{{CrewTable
| section1_label = Direction & Music
| section1 =
{{CrewRow | role = Director | name = [[Michelle Hartley]] }}
{{CrewRow | role = Musical Director | name = [[Andy Hartley]] }}
| section2_label = Production
| section2 =
{{CrewRow | role = Producers | name = [[Steve Davis]] & [[Emma Franks]] }}
}}
