Template:MusicalGroup: Difference between revisions
From TANGOWIKI-TITAF
No edit summary |
No edit summary |
||
| (90 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{MusicalGroupName|}}}|{{DISPLAYTITLE:{{{MusicalGroupName}}}}}}} | |||
<!-- Float the infobox right for desktop --> | |||
<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%;"> | |||
<!-- Image: prefer GroupPix, fallback to Commons --> | |||
{{#if:{{{GroupPix|}}} | |||
| <div style="text-align:center; margin-bottom:10px;"> | |||
[[File:{{{GroupPix}}}|frameless|300px]] | |||
</div> | |||
| {{#if:{{{Commons image URL short|}}} | |||
| <div style="text-align:center; margin-bottom:10px;"> | |||
[[File:{{{Commons image URL short}}}|frameless|300px]] | |||
</div> | |||
}} | |||
}} | |||
{{#if:{{{GroupStartYear|}}}{{{GroupEndYear|}}}| | |||
<p><b>Active</b> {{{GroupStartYear}}}{{#if:{{{GroupEndYear|}}}| – {{{GroupEndYear}}}}}</p> | |||
}} | |||
{{#if:{{{GroupType|}}}| | |||
<p><b>Type:</b> {{{GroupType}}}</p> | |||
}} | |||
{{#if:{{{GroupGenre|}}}| | |||
<p><b>Genre:</b> {{{GroupGenre}}}</p> | |||
}} | |||
{{#if:{{{GroupCountry|}}}| | |||
<p><b>Country:</b> {{{GroupCountry}}}</p> | |||
}} | |||
{{#if:{{{GroupHomepage|}}}| | |||
<p><b>Homepage:</b> [{{{GroupHomepage}}} Link]</p> | |||
}} | |||
{{#if:{{{GroupFreeTextInfoBox|}}}| | |||
<p>{{{GroupFreeTextInfoBox}}}</p> | |||
}} | |||
</div> | |||
<!-- Semantic data --> | |||
{{#set: | {{#set: | ||
|MusicalGroupName={{MusicalGroupName}} | |MusicalGroupName={{{MusicalGroupName|{{FULLPAGENAME}}}}} | ||
|GroupType={{GroupType}} | |GroupType={{{GroupType|}}} | ||
| | |GroupGenre={{{GroupGenre|}}} | ||
| | |GroupStartYear={{{GroupStartYear|}}} | ||
| | |GroupEndYear={{{GroupEndYear|}}} | ||
| | |GroupCountry={{{GroupCountry|}}} | ||
|GroupHomepage={{{GroupHomepage|}}} | |||
|GroupPix={{{GroupPix|}}} | |||
}} | }} | ||
<!-- Clear float for mobile and allow long text --> | |||
<div class="mobile-only-clear" style="clear:both;"></div> | |||
<!-- Main description --> | |||
{{#if:{{{GroupFreeText|}}}| | |||
<div style="margin-top:1.5em;"> | |||
{{{GroupFreeText}}} | |||
</div> | |||
}} | |||
<div | {{#ask: | ||
{{ | [[Group::{{FULLPAGENAME}}]] | ||
| ?PersonInGroup=Person | |||
| ?RolePersonInGroup=Role | |||
| ?StartYearPersonInGroup=StartYear | |||
| ?EndYearPersonInGroup=EndYear | |||
| format=template | |||
| template=GroupMemberInstrumentDisplay | |||
| named args=yes | |||
| limit=100 | |||
| default=No known group memberships. | |||
}} | |||
== Recordings == | |||
<div style="font-size:90%; line-height:1.3em;"> | |||
{{#ask: | |||
[[Category:Recording]] | |||
[[RecordingOrchestraLeader::{{FULLPAGENAME}}]] | |||
|?RecordingSinger | |||
|?RecordingRecDate | |||
|?RecordingLabel | |||
|?RecordingDiscType | |||
|?RecordingDiscoNo | |||
|?RecordingMatrixNo | |||
|?RecordingSide | |||
|?RecordingSoundfile | |||
|mainlabel=Recording | |||
|format=template | |||
|template=TuneRecordings | |||
|introtemplate=TuneRecordingsIntro | |||
|outrotemplate=TuneRecordingsOutro | |||
|headers=plain | |||
|link=all | |||
|limit=100 | |||
|default=''No recordings found for this group.'' | |||
}} | |||
</div> | </div> | ||
[[Category:MusicalGroups]] | |||
</includeonly> | </includeonly> | ||
</noinclude> | <noinclude>This template stores structured data about a tango musical group.</noinclude> | ||
Latest revision as of 08:20, 11 June 2025
This template stores structured data about a tango musical group.