Template:Person: Difference between revisions
From TANGOWIKI-TITAF
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
<span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span> | <span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span> | ||
<!-- Layout | <!-- Layout with infobox right, FreeText left --> | ||
<div style=" | <div style="display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2em;"> | ||
<!-- | <!-- Left column: FreeText --> | ||
<div style=" | <div style="flex: 1 1 60%;"> | ||
{{{FreeText}}} | |||
</div> | |||
<!-- Right column: Infobox --> | |||
<div style="flex: 0 0 340px; 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="margin: | <div style="margin-bottom: 10px; text-align: center;"> | ||
[[File:{{{Commons image URL short}}}|frameless|300px]] | [[File:{{{Commons image URL short}}}|frameless|300px]] | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{Name_real|}}}| | {{#if:{{{Name_real|}}}| | ||
<p><b>Real name:</b> {{{Name_real}}}</p> | |||
}} | }} | ||
{{#if:{{{birthDate|}}}{{{deathDate|}}}| | {{#if:{{{birthDate|}}}{{{deathDate|}}}| | ||
<p><b>Life:</b> | |||
{{#switch:{{#len:{{{birthDate}}}}} | |||
|4={{{birthDate}}} | |||
|7={{#time:F Y|{{{birthDate}}}}} | |||
|10={{#time:j F Y|{{{birthDate}}}}} | |||
|#default={{{birthDate}}} | |||
}} | |||
{{#if:{{{birthDate|}}{{{deathDate|}}}| – }} | |||
{{#switch:{{#len:{{{deathDate}}}}} | |||
|4={{{deathDate}}} | |||
|7={{#time:F Y|{{{deathDate}}}}} | |||
|10={{#time:j F Y|{{{deathDate}}}}} | |||
|#default={{{deathDate}}} | |||
}} | |||
</p> | |||
}} | |||
</ | {{#if:{{{Pseudonyms-nicknames|}}}| | ||
<p><b>Pseudonyms:</b><br /> | |||
{{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}</p> | |||
}} | |||
{{#if:{{{Occupation|}}}| | |||
<p><b>Occupation:</b><br /> | |||
{{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}}</p> | |||
}} | |||
{{#if:{{{instrument|}}}| | |||
<p><b>Instrument:</b><br /> | |||
{{#arraymap:{{{instrument}}}|;;|@@@|• @@@<br />|}}</p> | |||
}} | |||
{{#if:{{{birthPlaceLabel|}}}| | |||
<p><b>Place of birth:</b> {{{birthPlaceLabel}}}</p> | |||
}} | |||
{{#if:{{{birthPlaceCountryLabel|}}}| | |||
<p><b>Country of birth:</b> {{{birthPlaceCountryLabel}}}</p> | |||
}} | |||
{{#if:{{{citizenshipLabel|}}}| | |||
<p><b>Citizenship:</b><br /> | |||
{{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}}</p> | |||
}} | |||
{{#if:{{{siblingsLabel|}}}| | |||
<p><b>Siblings:</b><br /> | |||
{{#arraymap:{{{siblingsLabel}}}|;;|@@@|• @@@<br />|}}</p> | |||
}} | |||
{{#if:{{{spouseLabel|}}}| | |||
<p><b>Spouse:</b><br /> | |||
{{#arraymap:{{{spouseLabel}}}|;;|@@@|• @@@<br />|}}</p> | |||
}} | |||
{{#if:{{{Todotango_links|}}}| | |||
<p><b>TodoTango:</b> [{{{Todotango_links}}} Link]</p> | |||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- Membership section --> | |||
== Orchestras == | == Orchestras == | ||
{{#ask: | {{#ask: | ||
| Line 85: | Line 123: | ||
{{#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> | |||
Revision as of 18:25, 20 April 2025
This template stores structured data about a Tango-related person.