Template:Tune: Difference between revisions

From TANGOWIKI-TITAF
Created page with "<includeonly> {{#set: |TuneTitle={{{Title|}}} |TuneAltTitle={{{TitleAlt|}}} |TuneGenre={{{Genre|}}} |TuneComposer={{{Composer|}}} |TuneLyricist={{{Lyricist|}}} |TuneCompositionYear={{{CompositionYear|}}} }} {{DISPLAYTITLE:{{{Title}}}{{#if:{{{TitleAlt|}}}| ({{{TitleAlt}}})}}}} '''{{{Title}}}'''{{#if:{{{TitleAlt|}}}| ({{{TitleAlt}}})}} is a tango{{#if:{{{Genre|}}}| in the genre '''[[{{{Genre}}}]]'''}}, composed by {{{Composer}}}{{#if:{{{CompositionYear|}}..."
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{Name|}}}|{{DISPLAYTITLE:{{{Name}}}}}}}
{{#set:
{{#set:
  |TuneTitle={{{Title|}}}
  |TuneTitle={{{Name}}}
  |TuneAltTitle={{{TitleAlt|}}}
  |TuneTitleAlt={{{Name_alt|}}}
  |TuneGenre={{{Genre|}}}
  |TuneGenre={{{Genre|}}}
  |TuneComposer={{{Composer|}}}
  |TuneComposer={{{Composer|}}}
  |TuneLyricist={{{Lyricist|}}}
  |TuneLyricist={{{author|}}}
|TuneCompositionYear={{{CompositionYear|}}}
}}
}}


{{DISPLAYTITLE:{{{Title}}}{{#if:{{{TitleAlt|}}}|&nbsp;({{{TitleAlt}}})}}}}
'''{{{Name}}}'''{{#if:{{{Name_alt|}}}| ({{{Name_alt}}})}} is a [[{{{Genre}}}]] composed by {{#arraymap:{{{Composer}}}|;;|@@@|[[@@@]]}}.
{{#if:{{{author|}}}| The lyrics were written by {{#arraymap:{{{author}}}|;;|@@@|[[@@@]]}}.}}


'''{{{Title}}}'''{{#if:{{{TitleAlt|}}}|&nbsp;({{{TitleAlt}}})}} is a tango{{#if:{{{Genre|}}}| in the genre '''[[{{{Genre}}}]]'''}}, composed by {{{Composer}}}{{#if:{{{CompositionYear|}}}| in {{{CompositionYear}}}}}{{#if:{{{Lyricist|}}}|, with lyrics by {{{Lyricist}}}}}.
<!-- Optional description -->
 
{{#if:{{{Description|}}}|
<!-- Optional tune description -->
<div style="margin-top:1em;">{{{Description}}}</div>
{{#if:{{{Description|}}}|<p style="margin-top:1em;">{{{Description}}}</p>}}
}}


<!-- Info Table -->
== Tune Info ==
{| class="tune"
{| class="tune"
|-
|-
! Title
! Title
| [[TuneTitle::{{{Title|}}}]]
| [[TuneTitle::{{{Name}}}]]
|-
|-
! Alternative Title
! Alternative Title
| [[TuneAltTitle::{{{TitleAlt|}}}]]
| [[TuneTitleAlt::{{{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:{{{Lyricist|}}}|;;|@@@|[[TuneLyricist::@@@]]<br/>}}
| {{#arraymap:{{{author}}}|;;|@@@|[[TuneLyricist::@@@]] ([[@@@]])<br />}}
|}
|}


<!-- Recordings Section -->
== Recordings ==
== Recordings ==
{{#ask:
{{#ask:
[[Category:Recording]]
  [[RecordingRelatedTuneID::{{FULLPAGENAME}}]]
  [[RecordingRelatedTuneID::{{FULLPAGENAME}}]]
  |?RecordingOrchestraLeader
  |?RecordingOrchestraLeader
Line 63: Line 60:
}}
}}


<!-- Optional Add Recording Button -->
<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 13:46, 23 April 2025