Template:Person: Difference between revisions
From TANGOWIKI-TITAF
Replaced content with "<includeonly> {{#set: |PersonName={{{PersonName|}}} }} {{DISPLAYTITLE:{{{PersonName}}}}} Category:TangoPeople </includeonly>" Tags: Replaced Reverted |
No edit summary Tags: Manual revert Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{Name|}}}|{{DISPLAYTITLE:{{{Name}}}}}}} | |||
{{#set: | {{#set: | ||
|wikidataID={{{wikidataID|}}} | |||
|PersonName={{{PersonName|}}} | |PersonName={{{PersonName|}}} | ||
|Name_real={{{Name_real|}}} | |||
|instanceOf={{{instanceOf|}}} | |||
|Commons image URL={{{Commons image URL|}}} | |||
|Commons image URL short={{{Commons image URL short|}}} | |||
|birthDate={{{birthDate|}}} | |||
|deathDate={{{deathDate|}}} | |||
|genderLabel={{{genderLabel|}}} | |||
|Pseudonyms-nicknames={{{Pseudonyms-nicknames|}}} | |||
|Occupation={{{Occupation|}}} | |||
|instrument={{{instrument|}}} | |||
|birthPlaceLabel={{{birthPlaceLabel|}}} | |||
|birthPlaceCountryLabel={{{birthPlaceCountryLabel|}}} | |||
|citizenshipLabel={{{citizenshipLabel|}}} | |||
|fatherLabel={{{fatherLabel|}}} | |||
|motherLabel={{{motherLabel|}}} | |||
|siblingsLabel={{{siblingsLabel|}}} | |||
|spouseLabel={{{spouseLabel|}}} | |||
|Todotango_links={{{Todotango_links|}}} | |||
}} | }} | ||
{{ | <span style="display:none">{{#arraymap:{{{alternative_search|}}}|;;|@@@|[[alternative_search::@@@]]| }}</span> | ||
[[Category:TangoPeople]] | |||
<!-- Infobox goes first so it floats to the right of the content --> | |||
<div style="float:right; clear:right; width:350px; margin-left: 1em; padding:10px; background:#f9f9f9; border:1px solid #ccc; border-radius:10px; font-size:95%;"> | |||
{{#if:{{{Commons image URL short|}}}| | |||
<div style="text-align:center; margin-bottom:10px;"> | |||
[[File:{{{Commons image URL short}}}|frameless|300px]] | |||
</div> | |||
}} | |||
{{#if:{{{Name_real|}}}| | |||
<p><b>Real name</b> {{{Name_real}}}</p> | |||
}} | |||
{{#if:{{{birthDate|}}}{{{deathDate|}}}| | |||
<p><b>Life</b> | |||
{{#if:{{{birthDate|}}}| | |||
{{#switch:{{#len:{{{birthDate}}}}} | |||
|4={{{birthDate}}} | |||
|7={{#time:F Y|{{{birthDate}}}}} | |||
|10={{#time:j F Y|{{{birthDate}}}}} | |||
|#default={{{birthDate}}} | |||
}} | |||
}}{{#if:{{{birthDate|}}{{{deathDate|}}}| – }}{{#if:{{{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> {{{Pseudonyms-nicknames}}}</p> | |||
}} | |||
{{#if:{{{Occupation|}}}| | |||
<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%;"> | |||
{{#arraymap:{{{Occupation}}}|;;|@@@|• @@@<br />|}} | |||
</ul> | |||
</p> | |||
}} | |||
{{#if:{{{instrument|}}}| | |||
<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%;"> | |||
{{#arraymap:{{{instrument}}}|;;|@@@|• @@@<br />|}} | |||
</ul> | |||
</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 /> | |||
<ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;"> | |||
{{#arraymap:{{{citizenshipLabel}}}|;;|@@@|• @@@<br />|}} | |||
</ul> | |||
</p> | |||
}} | |||
{{#if:{{{siblingsLabel|}}}| | |||
<div style="margin: 0.5em 1em;"> | |||
<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%;"> | |||
{{#arraymap:{{{siblingsLabel}}}|;;|@@@|• @@@<br />|}} | |||
</ul> | |||
</div> | |||
}} | |||
{{#if:{{{spouseLabel|}}}| | |||
<div style="margin: 0.5em 1em;"> | |||
<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%;"> | |||
{{#arraymap:{{{spouseLabel}}}|;;|@@@|• @@@<br />|}} | |||
</ul> | |||
</div> | |||
}} | |||
{{#if:{{{Todotango_links|}}}| | |||
<p><b>TodoTango:</b> [{{{Todotango_links}}} Link]</p> | |||
}} | |||
</div> | |||
{{#if:{{{PersonFreeText|}}}| | |||
<div class="mobile-only-clear"></div> | |||
<div style="margin-top:1.5em;"> | |||
{{{PersonFreeText}}} | |||
</div> | |||
}} | |||
<!-- Ensure content starts below infobox if there's no FreeText --> | |||
<div style="clear:both;"></div> | |||
== Orchestras == | |||
{{#ask: | |||
[[PersonInGroup::{{FULLPAGENAME}}]] | |||
| ?Has group=Group | |||
| ?RolePersonInGroup=Role | |||
| ?StartYearPersonInGroup=StartYear | |||
| ?EndYearPersonInGroup=EndYear | |||
| format=template | |||
| template=PersonGroupMembershipDisplay | |||
| named args=yes | |||
| limit=100 | |||
| default=No known group memberships. | |||
}} | |||
{{#if:{{{nocat|}}}||[[Category:Person]][[Category:TangoPeople]]}} | |||
</includeonly> | </includeonly> | ||
<noinclude>This template stores structured data about a Tango-related person.</noinclude> | |||
Revision as of 13:49, 6 May 2025
This template stores structured data about a Tango-related person.