Template:Tune: Difference between revisions
From TANGOWIKI-TITAF
No edit summary |
No edit summary |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#set: | {{#set: | ||
|TuneTitle={{{ | |TuneTitle={{{TuneName|}}} | ||
|TuneName={{{TuneName|}}} | |||
|TuneAltTitle={{{Name_alt|}}} | |TuneAltTitle={{{Name_alt|}}} | ||
|TuneGenre={{{Genre|}}} | |TuneGenre={{{Genre|}}} | ||
|TuneAltSearch={{{Tune_altsearch|}}} | |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:{{{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|}}}| | |||
<p>{{{Description}}}</p> | |||
}} | |||
<!-- Infobox --> | <!-- Infobox --> | ||
| Line 33: | Line 45: | ||
</div> | </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 59: | Line 75: | ||
}} | }} | ||
<small>{{#formlink:form=Recording|link text=+ add a new recording|link type=link|new window|query string=Recording[RelatedTuneID]={{ | <small>{{#formlink:form=Recording|link text=+ add a new recording|link type=link|new window|query string=Recording[RelatedTuneID]={{PAGENAME}}}}</small> | ||
</div> | |||
[[Category:Tune]] | [[Category:Tune]] | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Category:TuneClass]]</noinclude> | <noinclude>[[Category:TuneClass]]</noinclude> | ||