Template:Tune: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{Name|}}}|{{DISPLAYTITLE:{{{Name}}}}}}}
{{#set:
{{#set:
  |TuneTitle={{{Name}}}
  |TuneTitle={{{Title|}}}
  |TuneTitleAlt={{{Name_alt|}}}
  |TuneAltTitle={{{Name_alt|}}}
  |TuneGenre={{{Genre|}}}
  |TuneGenre={{{Genre|}}}
  |TuneComposer={{{Composer|}}}
  |TuneComposer={{{Composer|}}}
  |TuneLyricist={{{author|}}}
  |TuneLyricist={{{Lyricist|}}}
|TuneAltSearch={{{Tune_altsearch|}}}
}}
}}


'''{{{Name}}}'''{{#if:{{{Name_alt|}}}| ({{{Name_alt}}})}} is a [[{{{Genre}}}]] composed by {{#arraymap:{{{Composer}}}|;;|@@@|[[@@@]]}}.
{{DISPLAYTITLE:{{{Name}}}{{#if:{{{Name_alt|}}}| ({{{Name_alt}}})}}}}
{{#if:{{{author|}}}| The lyrics were written by {{#arraymap:{{{author}}}|;;|@@@|[[@@@]]}}.}}
 
'''{{{Name}}}'''{{#if:{{{Name_alt|}}}| ({{{Name_alt}}})}} is a tango{{#if:{{{Genre|}}}| in the genre '''[[{{{Genre}}}]]'''}}, composed by {{{Composer}}}{{#if:{{{CompositionYear|}}}| in {{{CompositionYear}}}}}{{#if:{{{Lyricist|}}}|, with lyrics by {{{Lyricist}}}}}.


<!-- Optional description -->
<!-- Optional tune description -->
{{#if:{{{Description|}}}|
{{#if:{{{Description|}}}|<p style="margin-top:1em;">{{{Description}}}</p>}}
<div style="margin-top:1em;">{{{Description}}}</div>
}}


== Tune Info ==
<!-- Info Table -->
{| class="tune"
{| class="tune"
|-
|-
! Title
! Title
| [[TuneTitle::{{{Name}}}]]
| [[TuneTitle::{{{Title|}}}]]
|-
|-
! Alternative Title
! Alternative Title
| [[TuneTitleAlt::{{{Name_alt}}}]]
| [[TuneAltTitle::{{{Name_alt|}}}]]
|-
|-
! Genre
! Genre
| [[TuneGenre::{{{Genre}}}]]
| [[TuneGenre::{{{Genre|}}}]]
|-
! Year of composition
| [[TuneCompositionYear::{{{CompositionYear|}}}]]
|-
|-
! Composer(s)
! Composer(s)
| {{#arraymap:{{{Composer}}}|;;|@@@|[[TuneComposer::@@@]] ([[@@@]])<br />}}
| {{#arraymap:{{{Composer|}}}|;;|@@@|[[TuneComposer::@@@]]<br/>}}
|-
|-
! Lyricist(s)
! Lyricist(s)
| {{#arraymap:{{{author}}}|;;|@@@|[[TuneLyricist::@@@]] ([[@@@]])<br />}}
| {{#arraymap:{{{Lyricist|}}}|;;|@@@|[[TuneLyricist::@@@]]<br/>}}
|}
|}


== Recordings ==
== Recordings ==
{{#ask:
{{#ask:
[[Category:Recording]]
  [[RecordingRelatedTuneID::{{FULLPAGENAME}}]]
  [[RecordingRelatedTuneID::{{FULLPAGENAME}}]]
  |?RecordingOrchestraLeader
  |?RecordingOrchestraLeader
Line 60: Line 62:
}}
}}


<small>{{#formlink:form=Recording
<small>{{#formlink:form=Recording|link text=+ add a new recording|link type=link|new window|query string=Recording[RelatedTuneID]={{FULLPAGENAME}}}}</small>
|link text=+ add a new recording
|link type=link
|new window
|query string=Recording[RelatedTuneID]={{FULLPAGENAME}}
}}</small>


[[Category:Tune]]
[[Category:Tune]]
</includeonly>
</includeonly>
<noinclude>[[Category:TuneClass]]</noinclude>
<noinclude>[[Category:TuneClass]]</noinclude>

Revision as of 15:26, 23 April 2025