Template:Person: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
No edit summary
Tag: Reverted
Line 23: Line 23:
  |Todotango_links={{{Todotango_links|}}}
  |Todotango_links={{{Todotango_links|}}}
}}
}}
<!-- Store multiple alternative_search values -->
<!-- Store multiple alternative_search values -->
<span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span>
<span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span>


<!-- BIO SECTION (to the left of the infobox) -->
<!-- Float the infobox first -->
<div style="overflow:auto;">
<div style="float:right; clear:right; width:340px; margin:0 0 1em 2em; border:1px solid #aaa; padding:10px; background:#f9f9f9; font-size:90%;">
<div style="margin-right:380px;">
<h2 style="margin-top:0;">Bio</h2>
<div style="line-height: 1.5;">
{{{FreeText|}}}
</div>
</div>
 
<!-- INFOBOX -->
<div style="float:right; clear:right; width:340px; margin-left: 1em; border:1px 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 42: Line 34:
     </div>
     </div>
   }}
   }}
   {{#if:{{{Name_real|}}}|<b>Real name:</b> {{{Name_real}}}<br />}}
   {{#if:{{{Name_real|}}}|<b>Real name:</b> {{{Name_real}}}<br />}}
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
   <b>Life:</b> {{#time:j F Y|{{{birthDate}}}}}{{#if:{{{deathDate|}}}| – {{#time:j F Y|{{{deathDate}}}}}}}<br />
   <b>Life:</b> {{#time:j F Y|{{{birthDate}}}}}{{#if:{{{deathDate|}}}| – {{#time:j F Y|{{{deathDate}}}}}}<br />}
  }}
 
  {{#if:{{{Pseudonyms-nicknames|}}}|<b>Pseudonyms, Nicknames:</b>
  <div style="margin-left: 3em;">
  {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}
  </div>
   }}
   }}
  {{#if:{{{Pseudonyms-nicknames|}}}|<b>Pseudonyms:</b>
  <div style="margin-left: 1em;">
    {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}
  </div>}}


   {{#if:{{{Occupation|}}}|<b>Occupation:</b>
   {{#if:{{{Occupation|}}}|<b>Occupation:</b>
   <div style="margin-left: 3em;">
   <div style="margin-left: 1em;">
  {{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}}
    {{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}}
   </div>
   </div>}}
  }}


   {{#if:{{{instrument|}}}|<b>Instrument:</b>
   {{#if:{{{instrument|}}}|<b>Instrument:</b>
   <div style="margin-left: 3em;">
   <div style="margin-left: 1em;">
  {{#arraymap:{{{instrument}}}|;;|@@@|• @@@<br />|}}
    {{#arraymap:{{{instrument}}}|;;|@@@|• @@@<br />|}}
   </div>
   </div>}}
  }}


  {{#if:{{{birthPlaceLabel|}}}|<b>Place of birth:</b> {{{birthPlaceLabel}}}<br />}}
  {{#if:{{{birthPlaceCountryLabel|}}}|<b>Country of birth:</b> {{{birthPlaceCountryLabel}}}<br />}}
   {{#if:{{{citizenshipLabel|}}}|<b>Citizenship:</b>
   {{#if:{{{citizenshipLabel|}}}|<b>Citizenship:</b>
   <div style="margin-left: 3em;">
   <div style="margin-left: 1em;">
  {{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}}
    {{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}}
   </div>
   </div>}}
  }}


   {{#if:{{{siblingsLabel|}}}|<b>Siblings:</b>
   {{#if:{{{siblingsLabel|}}}|<b>Siblings:</b>
   <div style="margin-left: 3em;">
   <div style="margin-left: 1em;">
  {{#arraymap:{{{siblingsLabel}}}|;;|@@@|• @@@<br />|}}
    {{#arraymap:{{{siblingsLabel}}}|;;|@@@|• @@@<br />|}}
   </div>
   </div>}}
  }}


  {{#if:{{{spouseLabel|}}}|<b>Spouse:</b> {{{spouseLabel}}}<br />}}
   {{#if:{{{Todotango_links|}}}|<b>TodoTango:</b> [{{{Todotango_links}}} Link]<br />}}
   {{#if:{{{Todotango_links|}}}|<b>TodoTango:</b> [{{{Todotango_links}}} Link]<br />}}
</div>
</div>
<!-- Bio block after infobox -->
<div style="overflow:auto;">
  <h2 style="margin-top:0;">Bio</h2>
  <div style="line-height: 1.5; max-width:800px;">
    {{{FreeText|}}}
  </div>
</div>
</div>



Revision as of 12:05, 15 April 2025

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