Template:Person: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
Tag: Manual revert
No edit summary
Line 23: Line 23:
  |Todotango_links={{{Todotango_links|}}}
  |Todotango_links={{{Todotango_links|}}}
}}
}}
<!-- 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) -->
<!-- Infobox -->
<div style="overflow:auto;">
<div style="float:right; clear:right; width:340px; margin-left: 1em; border:1px solid #aaa; padding:10px; background:#f9f9f9; font-family:sans-serif; font-size:0.9em;">
<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 46: Line 37:


   {{#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>
   {{#if:{{{Pseudonyms-nicknames|}}}|<b>Pseudonyms / Nicknames:</b>
   <div style="margin-left: 3em;">
   <div style="margin-left: 1em;">
   {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}
   {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}
   </div>
   </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>
<!-- Bio section floated next to infobox -->
<div style="margin-right:380px;">
<h2 style="margin-top:0; font-family:sans-serif;">Bio</h2>
<div style="line-height: 1.5; font-family:sans-serif;">
{{{FreeText|}}}
</div>
</div>
</div>
</div>
Line 85: Line 82:
{{#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>

Revision as of 12:21, 15 April 2025


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