Template:Person: Difference between revisions

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


<!-- Wrapper for layout control -->
<!-- Infobox floats right -->
<div style="display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start;">
<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;">
 
<!-- Infobox floats right on desktop, stacks on mobile -->
<div style="flex: 0 0 340px; max-width: 100%; margin-left: auto; 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="text-align:center; margin-bottom:10px;">
     <div style="text-align:center; margin-bottom:10px;">
Line 59: Line 56:
   {{#if:{{{Pseudonyms-nicknames|}}}|
   {{#if:{{{Pseudonyms-nicknames|}}}|
     <p><b>Pseudonyms</b> {{{Pseudonyms-nicknames}}}</p>
     <p><b>Pseudonyms</b> {{{Pseudonyms-nicknames}}}</p>
   }}
   }}
  {{#if:{{{Occupation|}}}|
{{#if:{{{Occupation|}}}|
     <p><b>Occupation</b><br />
     <p><b>Occupation</b><br />
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
      {{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}}
  {{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}}
    </ul>
  </ul>
     </p>
     </p>
   }}
   }}
Line 70: Line 67:
     <p><b>Instrument</b><br />
     <p><b>Instrument</b><br />
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
      {{#arraymap:{{{instrument}}}|;;|@@@|• @@@<br />|}}
  {{#arraymap:{{{instrument}}}|;;|@@@|• @@@<br />|}}
    </ul>
  </ul>
     </p>
     </p>
   }}
   }}
Line 83: Line 80:
     <p><b>Citizenship</b><br />
     <p><b>Citizenship</b><br />
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
     <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
      {{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}}
  {{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}}
    </ul>
  </ul>
     </p>
     </p>
   }}
   }}
   {{#if:{{{siblingsLabel|}}}|
   {{#if:{{{siblingsLabel|}}}|
    <div style="margin: 0.5em 1em;">
  <div style="margin: 0.5em 1em;">
      <p style="margin-bottom: 0.2em;"><b>Siblings</b></p>
  <p style="margin-bottom: 0.2em;"><b>Siblings</b></p>
      <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
  <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
        {{#arraymap:{{{siblingsLabel}}}|;;|@@@|• @@@<br />|}}
  {{#arraymap:{{{siblingsLabel}}}|;;|@@@|• @@@<br />|}}
      </ul>
  </ul>
    </div>
  </div>
   }}
   }}
   {{#if:{{{spouseLabel|}}}|
   {{#if:{{{spouseLabel|}}}|
    <div style="margin: 0.5em 1em;">
  <div style="margin: 0.5em 1em;">
      <p style="margin-bottom: 0.2em;"><b>Spouse</b></p>
  <p style="margin-bottom: 0.2em;"><b>Spouse</b></p>
      <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
  <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
        {{#arraymap:{{{spouseLabel}}}|;;|@@@|• @@@<br />|}}
  {{#arraymap:{{{spouseLabel}}}|;;|@@@|• @@@<br />|}}
      </ul>
  </ul>
    </div>
  </div>
   }}
   }}
   {{#if:{{{Todotango_links|}}}|
   {{#if:{{{Todotango_links|}}}|
     <p><b>TodoTango:</b> [{{{Todotango_links}}} Link]</p>
     <p><b>TodoTango:</b> [{{{Todotango_links}}} Link]</p>
   }}
   }}
</div>
<!-- Free text content to the left of infobox on desktop -->
<div style="flex: 1 1 300px; max-width: 100%; min-width: 300px;">
  {{{FreeText}}}
</div>
</div>
</div>


Line 131: Line 121:
{{#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 01:27, 21 April 2025

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