Template:Person: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
No edit summary
Line 24: Line 24:
}}
}}


<!-- Moved image preview OUTSIDE the #set block -->
<!-- Infobox -->
<div style="float:right; clear:right; width:300px; border:1px solid #aaa; padding:10px; margin:0 0 1em 1em; background:#f9f9f9; font-size:90%;">
<div style="float:right; clear:right; width:300px; border:1px solid #aaa; padding:10px; margin:0 0 1em 1em; background:#f9f9f9; font-size:90%;">
   {{#if:{{{Commons image URL|}}}|
   {{#if:{{{Commons image URL short|}}}|
     <div style="text-align:center; margin-bottom:10px;">
     <div style="text-align:center; margin-bottom:10px;">
    [[File:{{{Commons image URL short|}}}|frameless|300px]]
      [[File:{{{Commons image URL short}}}|frameless|300px]]
     </div>
     </div>
   }}
   }}
Line 38: Line 38:
   | {{#if:{{{birthDate|}}}|<b>Born:</b> {{{birthDate}}}<br />}}
   | {{#if:{{{birthDate|}}}|<b>Born:</b> {{{birthDate}}}<br />}}
   }}
   }}
   {{#if:{{{Death display|}}}
   {{#if:{{{Death display|}}}
   | <b>Died:</b> {{{Death display}}}<br />
   | <b>Died:</b> {{{Death display}}}<br />
   | {{#if:{{{deathDate|}}}|<b>Died:</b> {{{deathDate}}}<br />}}
   | {{#if:{{{deathDate|}}}|<b>Died:</b> {{{deathDate}}}<br />}}
   }}
   }}
   {{#if:{{{genderLabel|}}}|<b>Gender:</b> {{{genderLabel}}}<br />}}
   {{#if:{{{genderLabel|}}}|<b>Gender:</b> {{{genderLabel}}}<br />}}
   {{#if:{{{Occupation|}}}|<b>Occupation:</b> {{{Occupation}}}<br />}}
  {{#if:{{{Pseudonyms-nicknames display|}}}|<b>Pseudonyms:</b> {{{Pseudonyms-nicknames display}}}<br />}}
   {{#if:{{{instrument|}}}|<b>Instrument:</b> {{{instrument}}}<br />}}
   {{#if:{{{Occupation display|}}}|<b>Occupation:</b> {{{Occupation display}}}<br />}}
   {{#if:{{{instrument display|}}}|<b>Instrument:</b> {{{instrument display}}}<br />}}
   {{#if:{{{birthPlaceLabel|}}}|<b>Place of birth:</b> {{{birthPlaceLabel}}}<br />}}
   {{#if:{{{birthPlaceLabel|}}}|<b>Place of birth:</b> {{{birthPlaceLabel}}}<br />}}
   {{#if:{{{birthPlaceCountryLabel|}}}|<b>Country of birth:</b> {{{birthPlaceCountryLabel}}}<br />}}
   {{#if:{{{birthPlaceCountryLabel|}}}|<b>Country of birth:</b> {{{birthPlaceCountryLabel}}}<br />}}
   {{#if:{{{citizenshipLabel|}}}|<b>Citizenship:</b> {{{citizenshipLabel}}}<br />}}
   {{#if:{{{citizenshipLabel display|}}}|<b>Citizenship:</b> {{{citizenshipLabel display}}}<br />}}
<hr /><code><nowiki>{{{citizenshipLabel}}}</nowiki></code><hr />
  {{#if:{{{siblingsLabel display|}}}|<b>Siblings:</b> {{{siblingsLabel display}}}<br />}}
  {{#if:{{{spouseLabel display|}}}|<b>Spouse:</b> {{{spouseLabel display}}}<br />}}
   {{#if:{{{Todotango_links|}}}|<b>TodoTango:</b> [{{{Todotango_links}}} Link]<br />}}
   {{#if:{{{Todotango_links|}}}|<b>TodoTango:</b> [{{{Todotango_links}}} Link]<br />}}
{{#if:{{{Occupation|}}}|<b>Occupation:</b> {{#replace:{{{Occupation}}}| || |<br />}}<br />}}
{{#if:{{{citizenshipLabel|}}}|<b>Citizenship:</b> {{#replace:{{{citizenshipLabel}}}| || |<br />}}<br />}}
</div>
</div>



Revision as of 18:13, 7 April 2025

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