Template:Person: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
No edit summary
Line 25: Line 25:
<span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span>
<span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span>


<!-- Infobox -->
<!-- Layout container: free text on left, infobox on right -->
<div style="overflow: hidden;">
 
<!-- Infobox on the right -->
<div style="float:right; clear:right; width:340px; margin-left: 1em; border:1px solid #aaa; padding:10px; background:#f9f9f9; font-family:'DM Sans'; font-size:0.9em;">
<div style="float:right; clear:right; width:340px; margin-left: 1em; border:1px solid #aaa; padding:10px; background:#f9f9f9; font-family:'DM Sans'; font-size:0.9em;">
<!-- Image and Real Name block -->
  <!-- Infobox content (unchanged) -->
{{#if:{{{Commons image URL short|}}}|
  {{#if:{{{Commons image URL short|}}}|
  <div style="margin: 0.5em 1em 1em 1em; text-align: center;">
    <div style="margin: 0.5em 1em 1em 1em; text-align: center;">
    [[File:{{{Commons image URL short}}}|frameless|300px]]
      [[File:{{{Commons image URL short}}}|frameless|300px]]
  </div>
     </div>
}}
{{#if:{{{Name_real|}}}|
  <div style="margin: 0.5em 1em;">
     <p style="margin: 0;"><b>Real name  </b> {{{Name_real}}}</p>
  </div>
}}
<!-- Life line -->
{{#if:{{{birthDate|}}}{{{deathDate|}}}|
<div style="margin: 0.5em 1em;">
  <p style="margin-bottom: 0.2em;"><b>Life  </b>
  {{#if:{{{birthDate|}}}|
    {{#switch:{{#len:{{{birthDate}}}}}
    |4={{{birthDate}}}
    |7={{#time:F Y|{{{birthDate}}}}}
    |10={{#time:j F Y|{{{birthDate}}}}}
    |#default={{{birthDate}}}
    }}
  }}{{#if:{{{birthDate|}}{{{deathDate|}}}|&nbsp;–&nbsp;}}{{#if:{{{deathDate|}}}|
    {{#switch:{{#len:{{{deathDate}}}}}
    |4={{{deathDate}}}
    |7={{#time:F Y|{{{deathDate}}}}}
    |10={{#time:j F Y|{{{deathDate}}}}}
    |#default={{{deathDate}}}
    }}
  }}</p>
</div>
}}
  <!-- nicknames -->
  {{#if:{{{Pseudonyms-nicknames|}}}|
  <div style="margin: 0.5em 1em;">
  <p style="margin-bottom: 0.2em;"><b>Pseudonyms</b></p>
  <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>
  </div>
}}
<!-- Occupation list -->
  {{#if:{{{Occupation|}}}|
  <div style="margin: 0.5em 1em;">
  <p style="margin-bottom: 0.2em;"><b>Occupation </b></p>
  <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
  {{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}}
  </ul>
</div>
}}
<!-- instrument -->
  {{#if:{{{instrument|}}}|
  <div style="margin: 0.5em 1em;">
  <p style="margin-bottom: 0.2em;"><b>Instrument</b></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>
</div>
}}
  {{#if:{{{birthPlaceLabel|}}}|
  <div style="margin: 0.5em 1em;">
    <p style="margin: 0;"><b>Place of birth</b> {{{birthPlaceLabel}}}</p>
  </div>
   }}
   }}
   {{#if:{{{birthPlaceCountryLabel|}}}|
   {{#if:{{{Name_real|}}}|
  <div style="margin: 0.5em 1em;">
    <div style="margin: 0.5em 1em;">
    <p style="margin: 0;"><b>Country of birth</b> {{{birthPlaceCountryLabel}}}</p>
      <p style="margin: 0;"><b>Real name</b> {{{Name_real}}}</p>
  </div>
    </div>
   }}
   }}
   {{#if:{{{citizenshipLabel|}}}|
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
  <div style="margin: 0.5em 1em;">
    <div style="margin: 0.5em 1em;">
  <p style="margin-bottom: 0.2em;"><b>Citizenship</b></p>
      <p style="margin-bottom: 0.2em;"><b>Life</b>
  <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
      {{#if:{{{birthDate|}}}|
  {{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}}
        {{#switch:{{#len:{{{birthDate}}}}}
  </ul>
        |4={{{birthDate}}}
  </div>
        |7={{#time:F Y|{{{birthDate}}}}}
  }}
        |10={{#time:j F Y|{{{birthDate}}}}}
  {{#if:{{{siblingsLabel|}}}|
        |#default={{{birthDate}}}
  <div style="margin: 0.5em 1em;">
        }}
  <p style="margin-bottom: 0.2em;"><b>Siblings</b></p>
      }}{{#if:{{{birthDate|}}{{{deathDate|}}}| – }}{{#if:{{{deathDate|}}}|
  <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
        {{#switch:{{#len:{{{deathDate}}}}}
  {{#arraymap:{{{siblingsLabel}}}|;;|@@@|• @@@<br />|}}
        |4={{{deathDate}}}
  </ul>
        |7={{#time:F Y|{{{deathDate}}}}}
  </div>
        |10={{#time:j F Y|{{{deathDate}}}}}
  }}
        |#default={{{deathDate}}}
  {{#if:{{{spouseLabel|}}}|
        }}
  <div style="margin: 0.5em 1em;">
      }}</p>
  <p style="margin-bottom: 0.2em;"><b>Spouse</b></p>
    </div>
  <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|}}}|
  <div style="margin: 0.5em 1em;">
    <p style="margin: 0;"><b>TodoTango</b> {{{Todotango_links}}}</p>
  </div>
   }}
   }}
  <!-- Continue infobox fields as in your version... -->
</div>
</div>


 
<!-- Free text (to the left of infobox) -->
{{#if:{{{FreeText|}}}|
<div style="margin-right:360px;">
<div class="mobile-only-clear"></div>
  {{{FreeText}}}
<div style="margin-top:1.5em;">
{{{FreeText}}}
</div>
</div>
}}


</div> <!-- end layout container -->


== Orchestras ==
== Orchestras ==
Line 150: Line 84:
  | default=No known group memberships.
  | default=No known group memberships.
}}
}}
{{#if:{{{nocat|}}}||[[Category:Person]][[Category:TangoPeople]]}}
{{#if:{{{nocat|}}}||[[Category:Person]][[Category:TangoPeople]]}}
</includeonly>
<noinclude>This template stores structured data about a Tango-related person.</noinclude>

Revision as of 17:51, 20 April 2025