Template:Work: Difference between revisions

From Sax.Wiki
Jump to navigation Jump to search
Try fixing table rendering
Tag: Reverted
Second try's the charm
Tag: Reverted
Line 44: Line 44:
{| class="infobox"
{| class="infobox"
! colspan="2" | {{{title}}}
! colspan="2" | {{{title}}}
{{#if:{{{subtitle|}}}|
{{#if:{{{subtitle|}}}|
|-
{{!}}-
! Subtitle
! Subtitle
| {{{subtitle}}}
{{!}} {{{subtitle}}}
}}
}}
{{#if:{{{aliases|}}}|
{{#if:{{{aliases|}}}|
|-
{{!}}-
! Also known as
! Also known as
| {{{aliases}}}
{{!}} {{{aliases}}}
}}
}}
|-
 
{{!}}-
! Composer(s)
! Composer(s)
| {{{composers}}}
{{!}} {{{composers}}}
 
{{#if:{{{librettists|}}}|
{{#if:{{{librettists|}}}|
|-
{{!}}-
! Librettist(s)
! Librettist(s)
| {{{librettists}}}
{{!}} {{{librettists}}}
}}
}}
{{#if:{{{authors|}}}|
{{#if:{{{authors|}}}|
|-
{{!}}-
! Author(s)
! Author(s)
| {{{authors}}}
{{!}} {{{authors}}}
}}
}}
{{#if:{{{commissioners|}}}|
{{#if:{{{commissioners|}}}|
|-
{{!}}-
! Commissioner(s)
! Commissioner(s)
| {{{commissioners}}}
{{!}} {{{commissioners}}}
}}
}}
{{#if:{{{dedicatees|}}}|
{{#if:{{{dedicatees|}}}|
|-
{{!}}-
! Dedicatee(s)
! Dedicatee(s)
| {{{dedicatees}}}
{{!}} {{{dedicatees}}}
}}
}}
{{#if:{{{publishers|}}}|
{{#if:{{{publishers|}}}|
|-
{{!}}-
! Publisher(s)
! Publisher(s)
| {{{publishers}}}
{{!}} {{{publishers}}}
}}
}}
{{#if:{{{catalog_ids|}}}|
{{#if:{{{catalog_ids|}}}|
|-
{{!}}-
! Catalog ID(s)
! Catalog ID(s)
| {{{catalog_ids}}}
{{!}} {{{catalog_ids}}}
}}
}}
{{#if:{{{compose_start_date|}}}|
{{#if:{{{compose_start_date|}}}|
|-
{{!}}-
! Composition started
! Composition started
| {{{compose_start_date}}}
{{!}} {{{compose_start_date}}}
}}
}}
{{#if:{{{compose_end_date|}}}|
{{#if:{{{compose_end_date|}}}|
|-
{{!}}-
! Completed
! Completed
| {{{compose_end_date}}}
{{!}} {{{compose_end_date}}}
}}
}}
{{#if:{{{compose_date|}}}|
{{#if:{{{compose_date|}}}|
|-
{{!}}-
! Composed
! Composed
| {{{compose_date}}}
{{!}} {{{compose_date}}}
}}
}}
{{#if:{{{genres|}}}|
{{#if:{{{genres|}}}|
|-
{{!}}-
! Genre(s)
! Genre(s)
| {{{genres}}}
{{!}} {{{genres}}}
}}
}}
{{#if:{{{difficulty|}}}|
{{#if:{{{difficulty|}}}|
|-
{{!}}-
! Difficulty
! Difficulty
| {{{difficulty}}}
{{!}} {{{difficulty}}}
}}
}}
{{#if:{{{duration|}}}|
{{#if:{{{duration|}}}|
|-
{{!}}-
! Duration
! Duration
| {{{duration}}}
{{!}} {{{duration}}}
}}
}}
|}
|}
[[Category:Works]]
[[Category:Works]]
</includeonly>
</includeonly>

Revision as of 02:41, 8 July 2026

This is the "Work" template.

It should be called in the following format:

{{Work
|title=
|aliases=
|subtitle=
|compose_start_date=
|compose_end_date=
|catalog_ids=
|composers=
|librettists=
|authors=
|commissioners=
|dedicatees=
|publishers=
|compose_date=
|genres=
|difficulty=
|duration=
}}

Edit the page to see the template text.

This template defines the table "works". View table.