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>


<!-- Layout container -->
<!-- Layout: Infobox floats right, FreeText starts top left -->
<div style="overflow: hidden;">
<div style="overflow:auto;">


<!-- FreeText (left side) -->
<!-- Infobox (floats right) -->
{{#if:{{{FreeText|}}}|
<div style="float:right; width:340px; margin-left:1.5em; margin-bottom:1em; border:1px solid #aaa; padding:10px; background:#f9f9f9; font-family:'DM Sans'; font-size:0.9em;">
  <div style="margin-right:360px;">
    {{{FreeText}}}
  </div>
}}
 
<!-- Infobox (right side) -->
<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;">
   {{#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;">
Line 42: Line 35:
     </div>
     </div>
   }}
   }}
   {{#if:{{{Name_real|}}}|
   {{#if:{{{Name_real|}}}|
     <div style="margin: 0.5em 1em;">
     <div style="margin: 0.5em 1em;">
Line 48: Line 40:
     </div>
     </div>
   }}
   }}
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
     <div style="margin: 0.5em 1em;">
     <div style="margin: 0.5em 1em;">
Line 69: Line 60:
     </div>
     </div>
   }}
   }}
</div>


  <!-- Pseudonyms -->
<!-- FreeText on the left -->
  {{#if:{{{Pseudonyms-nicknames|}}}|
<div>
    <div style="margin: 0.5em 1em;">
  {{{FreeText}}}
      <p style="margin-bottom: 0.2em;"><b>Pseudonyms</b></p>
</div>
      <ul style="padding-left: 1.5em;">
        {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|<li>@@@</li>}}
      </ul>
    </div>
  }}


  <!-- Occupation -->
</div> <!-- END layout -->
  {{#if:{{{Occupation|}}}|
    <div style="margin: 0.5em 1em;">
      <p style="margin-bottom: 0.2em;"><b>Occupation</b></p>
      <ul style="padding-left: 1.5em;">
        {{#arraymap:{{{Occupation}}}|;;|@@@|<li>@@@</li>}}
      </ul>
    </div>
  }}
 
  <!-- Instrument -->
  {{#if:{{{instrument|}}}|
    <div style="margin: 0.5em 1em;">
      <p style="margin-bottom: 0.2em;"><b>Instrument</b></p>
      <ul style="padding-left: 1.5em;">
        {{#arraymap:{{{instrument}}}|;;|@@@|<li>@@@</li>}}
      </ul>
    </div>
  }}
 
  <!-- Place of birth -->
  {{#if:{{{birthPlaceLabel|}}}|
    <div style="margin: 0.5em 1em;"><p style="margin: 0;"><b>Place of birth</b> {{{birthPlaceLabel}}}</p></div>
  }}
  {{#if:{{{birthPlaceCountryLabel|}}}|
    <div style="margin: 0.5em 1em;"><p style="margin: 0;"><b>Country of birth</b> {{{birthPlaceCountryLabel}}}</p></div>
  }}
 
  <!-- Citizenship -->
  {{#if:{{{citizenshipLabel|}}}|
    <div style="margin: 0.5em 1em;">
      <p style="margin-bottom: 0.2em;"><b>Citizenship</b></p>
      <ul style="padding-left: 1.5em;">
        {{#arraymap:{{{citizenshipLabel}}}|;;|@@@|<li>@@@</li>}}
      </ul>
    </div>
  }}
 
  <!-- Siblings -->
  {{#if:{{{siblingsLabel|}}}|
    <div style="margin: 0.5em 1em;">
      <p style="margin-bottom: 0.2em;"><b>Siblings</b></p>
      <ul style="padding-left: 1.5em;">
        {{#arraymap:{{{siblingsLabel}}}|;;|@@@|<li>@@@</li>}}
      </ul>
    </div>
  }}
 
  <!-- Spouse -->
  {{#if:{{{spouseLabel|}}}|
    <div style="margin: 0.5em 1em;">
      <p style="margin-bottom: 0.2em;"><b>Spouse</b></p>
      <ul style="padding-left: 1.5em;">
        {{#arraymap:{{{spouseLabel}}}|;;|@@@|<li>@@@</li>}}
      </ul>
    </div>
  }}
 
  <!-- TodoTango -->
  {{#if:{{{Todotango_links|}}}|
    <div style="margin: 0.5em 1em;"><p style="margin: 0;"><b>TodoTango:</b> [{{{Todotango_links}}} Link]</p></div>
  }}
</div>
</div> <!-- end layout container -->


== Orchestras ==
== Orchestras ==
Line 161: Line 85:
{{#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>

Revision as of 18:16, 20 April 2025