Template:MusicalGroup: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
No edit summary
Line 11: Line 11:


<!-- Infobox -->
<!-- Infobox -->
<div style="float:right; clear:right; width:340px; margin-left: 1em; padding:10px; background:#f9f9f9;">
<div style="float:right; clear:right; width:340px; margin-left: 1em; solid #aaa; padding:10px; background:#f9f9f9;">
 
   {{#if:{{{Commons image URL short|}}}|
   {{#if:{{{Commons image URL short|}}}|
     <div style="text-align:center; margin-bottom:10px;">
     <div style="text-align:center; margin-bottom:10px;">
Line 19: Line 18:
   }}
   }}


  {{#if:{{{GroupType|}}}|<b>Type</b>: {{{GroupType}}}<br />}}
{{#if:{{{StartYear|}}}{{{EndYear|}}}|
  {{#if:{{{GroupGenre|}}}|<b>Genre</b>: {{{GroupGenre}}}<br />}}
<b>Active</b> {{#time:j F Y|{{{StartYear}}}}}{{#if:{{{EndYear|}}}|&nbsp;–&nbsp;{{#time:j F Y|{{{EndYear}}}}}}}<br />
  {{#if:{{{GroupCountry|}}}|<b>Country</b>: {{{GroupCountry}}}<br />}}
}}
  {{#if:{{{StartYear|}}}{{{EndYear|}}}|
 
    <b>Active:</b> {{{StartYear}}}{{#if:{{{EndYear|}}}| – {{{EndYear}}}}}<br />
{{#if:{{{GroupType|}}}|<b>Type</b>
  }}
<div style="margin-left: 3em;">
</div>
}}


{{#if:{{{GroupGenre|}}}|<b>Genre</b>
<div style="margin-left: 3em;">
</div>
</div>
}}


<!-- Free text description -->
{{#if:{{{GroupCountry|}}}|<b>Country</b>
{{#if:{{{GroupFreeText|}}}|
<div style="margin-left: 3em;">
<div style="margin-top:1em;">
{{{GroupFreeText}}}
</div>
</div>
}}
}}

Revision as of 13:34, 14 April 2025

This template stores structured data about a tango musical group.