Template:Work infobox: Difference between revisions
Appearance
Phase 2: work infobox template |
Usage docs: show score as a thumbnail + download link |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
! colspan="2" style="background:#B2472F; color:#F7F1E6; font-family:Georgia,'Times New Roman',serif;" | {{{title|{{PAGENAME}}}}} | ! colspan="2" style="background:#B2472F; color:#F7F1E6; font-family:Georgia,'Times New Roman',serif;" | {{{title|{{PAGENAME}}}}} | ||
|- | |- | ||
{{#if:{{{composer|}}} | | '''Composer''' || {{#if:{{{composer|}}}|[[{{{composer}}}]]|—}} | ||
|- | |- | ||
| '''Genre''' || {{#if:{{{genre|}}}|[[:Category:{{{genre}}}|{{{genre}}}]]|—}} | |||
| '''Genre''' || | |||
{{#if:{{{ | |||
|- | |- | ||
| '''Country''' || {{#if:{{{country|}}}|[[:Category:Composers from {{{country}}}|{{{country}}}]]|—}} | |||
{{#if:{{{ | |||
|- | |- | ||
| '''Year''' || {{{year|—}}} | |||
| ''' | |||
|- | |- | ||
}} | | '''Instrumentation''' || {{{instrumentation|—}}} | ||
|} | |} | ||
{{{description|}}} | {{{description|}}} | ||
| Line 47: | Line 36: | ||
<pre> | <pre> | ||
== Score == | == Score == | ||
* [[ | [[File:Arrullo - Blas Galindo.pdf|thumb|none|300px|Score, 2 pages]] | ||
* [[Media:Arrullo - Blas Galindo.pdf|Download the PDF]] | |||
</pre> | </pre> | ||
Always keep <code>|thumb|none|300px|…</code> — a bare <code><nowiki>[[File:X.pdf]]</nowiki></code> shows page 1 at full size and overflows the page. | |||
See also: [[Template:Composer infobox]], [[PentaLatin:Naming conventions]]. | See also: [[Template:Composer infobox]], [[PentaLatin:Naming conventions]]. | ||
Latest revision as of 03:08, 13 November 2026
This template renders a standard infobox for Work/Piece/Song pages.
Usage:
{{Work infobox
|title=Arrullo
|composer=Blas Galindo
|genre=Voz y piano
|country=Mexico
|year=
|instrumentation=Voice and piano
|description=Short description of the piece goes here.
}}
Link to the score/recording file separately in the article body, e.g.:
== Score == [[File:Arrullo - Blas Galindo.pdf|thumb|none|300px|Score, 2 pages]] * [[Media:Arrullo - Blas Galindo.pdf|Download the PDF]]
Always keep |thumb|none|300px|… — a bare [[File:X.pdf]] shows page 1 at full size and overflows the page.
See also: Template:Composer infobox, PentaLatin:Naming conventions.