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 |
||
| (42 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#set: | {{#set: | ||
|TuneTitle={{{ | |TuneTitle={{{TuneName|}}} | ||
|TuneAltTitle={{{ | |TuneName={{{TuneName|}}} | ||
|TuneAltTitle={{{Name_alt|}}} | |||
|TuneGenre={{{Genre|}}} | |TuneGenre={{{Genre|}}} | ||
| | |TuneAltSearch={{{Tune_altsearch|}}} | ||
| | |TuneDescription={{{Description|}}} | ||
| | |CompositionYear={{{CompositionYear|}}} | ||
|TuneFirstLetter={{#invoke:FirstLetter|letter|{{{TuneName|}}}}} | |||
|TuneIndex={{#invoke:FirstLetter|block|{{{TuneName|}}}}} | |||
}} | }} | ||
<div style="display:none"> | |||
{{#arraymap:{{{Composer|}}}|;;|@@@|[[TuneComposer::@@@]]}} | |||
{{#arraymap:{{{Lyricist|}}}|;;|@@@|[[TuneLyricist::@@@]]}} | |||
</div> | |||
{{DISPLAYTITLE:{{{ | {{DISPLAYTITLE:{{{TuneName}}}}} | ||
'''{{{ | '''{{{TuneName}}}'''{{#if:{{{Name_alt|}}}| ({{{Name_alt}}})}} {{#if:{{{Genre|}}}|is a '''[[{{{Genre}}}]]'''}}{{#if:{{{Composer|}}}|, composed by {{#arraymap:{{{Composer|}}}|;;|@@@|[[@@@]]| and }}}}{{#if:{{{Lyricist|}}}|, with lyrics by {{#arraymap:{{{Lyricist}}}|;;|@@@|[[@@@]]|, }}}}. | ||
{{#if:{{{Description|}}}| | |||
{{#if:{{{Description|}}}|<p | <p>{{{Description}}}</p> | ||
}} | |||
<!-- | <!-- Infobox --> | ||
<div style="float:right; clear:right; width:340px; margin-left: 1em; padding:10px; background:#f9f9f9; border:1px solid #ccc; border-radius:10px; font-size:95%; font-family:'DM Sans', sans-serif;"> | |||
{{#if:{{{Genre|}}}| | |||
<p><b>Genre:</b> [[{{{Genre}}}]]</p> | |||
| | }} | ||
{{#if:{{{CompositionYear|}}}| | |||
<p><b>Year of composition:</b> {{{CompositionYear}}}</p> | |||
}} | |||
| | {{#if:{{{Composer|}}}| | ||
<p><b>Composer(s):</b> {{#arraymap:{{{Composer}}}|;;|@@@|[[@@@]]|, }}</p> | |||
}} | |||
| | |||
{{#if:{{{Lyricist|}}}| | |||
<p><b>Lyricist(s):</b> {{#arraymap:{{{Lyricist}}}|;;|@@@|[[@@@]]|, }}</p> | |||
| | }} | ||
</div> | |||
<!-- Ensure content starts below infobox if there's no FreeText --> | |||
<div style="clear:both;"></div> | |||
<!-- Recordings Section --> | <!-- Recordings Section --> | ||
== Recordings == | == Recordings == | ||
<div style="font-size:90%; line-height:1.3em;"> | |||
{{#ask: | {{#ask: | ||
[[Category:Recording]] | [[Category:Recording]] | ||
| Line 63: | Line 75: | ||
}} | }} | ||
<small>{{#formlink:form=Recording|link text=+ add a new recording|link type=link|new window|query string=Recording[RelatedTuneID]={{PAGENAME}}}}</small> | |||
<small>{{#formlink:form=Recording|link text=+ add a new recording|link type=link|new window|query string=Recording[RelatedTuneID]={{ | </div> | ||
[[Category:Tune]] | [[Category:Tune]] | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Category:TuneClass]]</noinclude> | <noinclude>[[Category:TuneClass]]</noinclude> | ||