Template:MusicalGroup: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{MusicalGroupName|}}}|{{DISPLAYTITLE:{{{MusicalGroupName}}}}}}}
{{#set:
{{#set:
  |MusicalGroupName={{{MusicalGroupName|}}}
  |MusicalGroupName={{{MusicalGroupName|}}}
Line 10: Line 11:


<!-- Infobox -->
<!-- Infobox -->
<div style="float:right; clear:right; width:350px; margin-left: 1em; border:1px solid #aaa; padding:10px; background:#f9f9f9; font-size:95%;">
<div style="float:right; clear:right; width:340px; margin-left: 1em; padding:10px; background:#f9f9f9;">
  <div style="font-size:110%; font-weight:bold; text-align:center; margin-bottom:8px;">
    {{{MusicalGroupName}}}
  </div>


   {{#if:{{{GroupType|}}}|<b>Type:</b> {{{GroupType}}}<br />}}
   {{#if:{{{Commons image URL short|}}}|
  {{#if:{{{GroupGenre|}}}|<b>Genre:</b> {{{GroupGenre}}}<br />}}
    <div style="text-align:center; margin-bottom:10px;">
  {{#if:{{{GroupCountry|}}}|<b>Country:</b> {{{GroupCountry}}} {{#ifexist:File:Flag of {{{GroupCountry}}}.svg|[[File:Flag of {{{GroupCountry}}}.svg|20px]]}}<br />}}
      [[File:{{{Commons image URL short}}}|frameless|300px]]
    </div>
  }}


  {{#if:{{{GroupType|}}}|<b>Type</b>: {{{GroupType}}}<br />}}
  {{#if:{{{GroupGenre|}}}|<b>Genre</b>: {{{GroupGenre}}}<br />}}
  {{#if:{{{GroupCountry|}}}|<b>Country</b>: {{{GroupCountry}}}<br />}}
   {{#if:{{{StartYear|}}}{{{EndYear|}}}|
   {{#if:{{{StartYear|}}}{{{EndYear|}}}|
  <b>Active:</b>
    <b>Active:</b> {{{StartYear}}}{{#if:{{{EndYear|}}}| – {{{EndYear}}}}}<br />
  <span style="white-space:nowrap;">{{{StartYear}}}</span>{{#if:{{{EndYear|}}}|&nbsp;&nbsp;<span style="white-space:nowrap;">{{{EndYear}}}</span>}}<br />
   }}
   }}
</div>
</div>


<!-- Optional descriptive paragraph -->
<!-- Free text description -->
<div style="margin-top: 1em;">
{{#if:{{{GroupFreeText|}}}|
{{{GroupFreeText|}}}
<div style="margin-top:1em;">
{{{GroupFreeText}}}
</div>
</div>
}}


<!-- Categories -->
[[Category:MusicalGroups]]
[[Category:MusicalGroups]]
</includeonly>
</includeonly>
<noinclude>This template stores structured data about a tango musical group.</noinclude>
<noinclude>This template stores structured data about a tango musical group.</noinclude>

Revision as of 13:28, 14 April 2025

This template stores structured data about a tango musical group.