Template:Person: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
No edit summary
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{Name|}}}|{{DISPLAYTITLE:{{{Name}}}}}}}
<div class="cirrus-search-helper">{{{PersonName|}}}</div>
{{#if:{{{PersonName|}}}|{{DISPLAYTITLE:{{{PersonName}}}}}}}
 
{{#set:
{{#set:
  |wikidataID={{{wikidataID|}}}
  |wikidataID={{{wikidataID|}}}
  |Name={{{Name|}}}
  |PersonName={{{PersonName|{{FULLPAGENAME}}}}}
  |Name_real={{{Name_real|}}}
  |Name_real={{{Name_real|}}}
  |instanceOf={{{instanceOf|}}}
  |instanceOf={{{instanceOf|}}}
Line 21: Line 23:
  |siblingsLabel={{{siblingsLabel|}}}
  |siblingsLabel={{{siblingsLabel|}}}
  |spouseLabel={{{spouseLabel|}}}
  |spouseLabel={{{spouseLabel|}}}
|PersonWebsite={{{PersonWebsite|}}}
  |Todotango_links={{{Todotango_links|}}}
  |Todotango_links={{{Todotango_links|}}}
}}
}}
<span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span>
<span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span>


<!-- Layout with infobox right, FreeText left -->
<!-- Infobox goes first so it floats to the right of the content -->
<div style="display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2em;">
<div style="float:right; clear:right; width:350px; margin-left: 1em; padding:10px; background:#f9f9f9; border:1px solid #ccc; border-radius:10px; font-size:95%;">
 
<!-- Left column: FreeText -->
<div style="flex: 1 1 60%;">
  {{{FreeText}}}
</div>
 
<!-- Right column: Infobox -->
<div style="flex: 0 0 340px; border:1px solid #aaa; padding:10px; background:#f9f9f9; font-family:'DM Sans'; font-size:0.9em;">
   {{#if:{{{Commons image URL short|}}}|
   {{#if:{{{Commons image URL short|}}}|
     <div style="margin-bottom: 10px; text-align: center;">
     <div style="text-align:center; margin-bottom:10px;">
       [[File:{{{Commons image URL short}}}|frameless|300px]]
       [[File:{{{Commons image URL short}}}|frameless|300px]]
     </div>
     </div>
   }}
   }}
   {{#if:{{{Name_real|}}}|
   {{#if:{{{Name_real|}}}|
     <p><b>Real name:</b> {{{Name_real}}}</p>
     <p><b>Real name</b> {{{Name_real}}}</p>
   }}
   }}
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
    <p><b>Life:</b>
  <p><b>Life</b>
    {{#if:{{{birthDate|}}}|
       {{#switch:{{#len:{{{birthDate}}}}}
       {{#switch:{{#len:{{{birthDate}}}}}
         |4={{{birthDate}}}
         |4={{{birthDate}}}
Line 51: Line 47:
         |#default={{{birthDate}}}
         |#default={{{birthDate}}}
       }}
       }}
      {{#if:{{{birthDate|}}{{{deathDate|}}}| – }}
    }}
    {{#if:{{{birthDate|}}}{{{deathDate|}}}| – }}
    {{#if:{{{deathDate|}}}|
       {{#switch:{{#len:{{{deathDate}}}}}
       {{#switch:{{#len:{{{deathDate}}}}}
         |4={{{deathDate}}}
         |4={{{deathDate}}}
Line 58: Line 56:
         |#default={{{deathDate}}}
         |#default={{{deathDate}}}
       }}
       }}
    }}
  </p>
}}
{{#if:{{{Pseudonyms-nicknames|}}}|
    <p><b>Pseudonyms</b><br />
    <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
  {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}
  </ul>
     </p>
     </p>
   }}
   }}
 
{{#if:{{{Occupation|}}}|
  {{#if:{{{Pseudonyms-nicknames|}}}|
     <p><b>Occupation</b><br />
     <p><b>Pseudonyms:</b><br />
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
     {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}</p>
  {{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}}
  </ul>
    </p>
   }}
   }}
  {{#if:{{{Occupation|}}}|
    <p><b>Occupation:</b><br />
    {{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}}</p>
  }}
   {{#if:{{{instrument|}}}|
   {{#if:{{{instrument|}}}|
     <p><b>Instrument:</b><br />
     <p><b>Instrument</b><br />
     {{#arraymap:{{{instrument}}}|;;|@@@|• @@@<br />|}}</p>
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
  {{#arraymap:{{{instrument}}}|;;|@@@|• @@@<br />|}}
  </ul>
    </p>
   }}
   }}
   {{#if:{{{birthPlaceLabel|}}}|
   {{#if:{{{birthPlaceLabel|}}}|
     <p><b>Place of birth:</b> {{{birthPlaceLabel}}}</p>
     <p><b>Place of birth</b> {{{birthPlaceLabel}}}</p>
   }}
   }}
   {{#if:{{{birthPlaceCountryLabel|}}}|
   {{#if:{{{birthPlaceCountryLabel|}}}|
     <p><b>Country of birth:</b> {{{birthPlaceCountryLabel}}}</p>
     <p><b>Country of birth</b> {{{birthPlaceCountryLabel}}}</p>
   }}
   }}
 
{{#if:{{{citizenshipLabel|}}}|
  {{#if:{{{citizenshipLabel|}}}|
     <p><b>Citizenship</b><br />
     <p><b>Citizenship:</b><br />
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
     {{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}}</p>
  {{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}}
  </ul>
    </p>
   }}
   }}
 
   {{#if:{{{PersonWebsite|}}}|
  {{#if:{{{siblingsLabel|}}}|
     <p><b>Website:</b> [{{{PersonWebsite}}} Visit site]</p>
    <p><b>Siblings:</b><br />
    {{#arraymap:{{{siblingsLabel}}}|;;|@@@|• @@@<br />|}}</p>
  }}
 
   {{#if:{{{spouseLabel|}}}|
     <p><b>Spouse:</b><br />
    {{#arraymap:{{{spouseLabel}}}|;;|@@@|• @@@<br />|}}</p>
   }}
   }}
{{#if:{{{siblingsLabel|}}}|
  <div style="margin: 0.5em 1em;">
  <p style="margin-bottom: 0.2em;"><b>Siblings</b></p>
  <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
  {{#arraymap:{{{siblingsLabel}}}|;;|@@@|• [[@@@]]<br />|}}
  </ul>
  </div>
}}


{{#if:{{{spouseLabel|}}}|
  <div style="margin: 0.5em 1em;">
  <p style="margin-bottom: 0.2em;"><b>Spouse</b></p>
  <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
  {{#arraymap:{{{spouseLabel}}}|;;|@@@|• [[@@@]]<br />|}}
  </ul>
  </div>
}}
   {{#if:{{{Todotango_links|}}}|
   {{#if:{{{Todotango_links|}}}|
     <p><b>TodoTango:</b> [{{{Todotango_links}}} Link]</p>
     <p><b>TodoTango:</b> [{{{Todotango_links}}} Link]</p>
Line 104: Line 118:
</div>
</div>


{{#if:{{{PersonFreeText|}}}|
<div class="mobile-only-clear"></div>
<div style="margin-top:1.5em;">
{{{PersonFreeText}}}
</div>
</div>
}}
<!-- Ensure content starts below infobox if there's no FreeText -->
<div style="clear:both;"></div>


<!-- Membership section -->
== Orchestras ==
== Orchestras ==
{{#ask:
{{#ask:
Line 120: Line 141:
  | default=No known group memberships.
  | default=No known group memberships.
}}
}}
== Recordings ==
{{#ask:
[[RecordingSinger::{{FULLPAGENAME}}]]
| ?RecordingRelatedTuneID=Tune
| ?RecordingRecDate=Date
| ?RecordingOrchestraLeader=Orchestra
| ?RecordingAccompaniment=Accompaniment
| ?RecordingLabel=Label
| ?RecordingDiscoNo=Disc No
| ?RecordingMatrixNo=Matrix
| format=table
| headers=plain
| mainlabel=Recording ID
| default=No recordings found.
| limit=500
}}
== Opus ==
<div style="font-size:90%; line-height:1.4em;">
{{#ask:
[[Category:Tune]]
[[TuneComposer::{{FULLPAGENAME}}]] OR [[TuneLyricist::{{FULLPAGENAME}}]]
| ?TuneGenre=Genre
| ?TuneAltTitle=Alt. title
| ?CompositionYear=Comp. Year
| format=table
| headers=plain
| mainlabel=Title
| default=No compositions or lyrics found.
| limit=500
}}
</div>


{{#if:{{{nocat|}}}||[[Category:Person]][[Category:TangoPeople]]}}
{{#if:{{{nocat|}}}||[[Category:Person]][[Category:TangoPeople]]}}
</includeonly>
</includeonly>
<noinclude>This template stores structured data about a Tango-related person.</noinclude>
<noinclude>This template stores structured data about a Tango-related person.</noinclude>

Latest revision as of 13:13, 4 June 2025

This template stores structured data about a Tango-related person.