Template:Person: Difference between revisions

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


<!-- Infobox -->
<!-- BIO SECTION (to the left of the infobox) -->
<div style="float:right; clear:right; width:340px; margin-left: 1em; solid #aaa; padding:10px; background:#f9f9f9;">
<div style="overflow:auto;">
<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 34: Line 43:
   }}
   }}


{{#if:{{{Name_real|}}}|<b>Real name</b></b> {{{Name_real}}}<br />}}
  {{#if:{{{Name_real|}}}|<b>Real name:</b> {{{Name_real}}}<br />}}
 
  {{#if:{{{birthDate|}}}{{{deathDate|}}}|
  <b>Life:</b> {{#time:j F Y|{{{birthDate}}}}}{{#if:{{{deathDate|}}}| – {{#time:j F Y|{{{deathDate}}}}}}}<br />
  }}


{{#if:{{{birthDate|}}}{{{deathDate|}}}|
  {{#if:{{{Pseudonyms-nicknames|}}}|<b>Pseudonyms, Nicknames:</b>
<b>Life:</b> {{#time:j F Y|{{{birthDate}}}}}{{#if:{{{deathDate|}}}|&nbsp;–&nbsp;{{#time:j F Y|{{{deathDate}}}}}}}<br />
  <div style="margin-left: 3em;">
}}
  {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}
  </div>
  }}


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


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


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


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


<div style="margin-right:380px;">
  {{#if:{{{Todotango_links|}}}|<b>TodoTango:</b> [{{{Todotango_links}}} Link]<br />}}
<h2 style="margin-top:0;">Bio</h2>
<div style="line-height: 1.5;">
{{{FreeText|}}}
</div>
</div>
</div>
</div>
</div>



Revision as of 01:20, 15 April 2025

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