Template:Person: Difference between revisions

From TANGOWIKI-TITAF
No edit summary
Tag: Reverted
No edit summary
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{Name|}}}|{{DISPLAYTITLE:{{{Name}}}}}}}
<div class="cirrus-search-helper">{{{PersonName|}}}</div>
{{#if:{{{PersonName|}}}|{{DISPLAYTITLE:{{{PersonName}}}}}}}
 
{{#set:
{{#set:
  |wikidataID={{{wikidataID|}}}
  |wikidataID={{{wikidataID|}}}
  |Name={{{Name|}}}
  |PersonName={{{PersonName|{{FULLPAGENAME}}}}}
  |Name_real={{{Name_real|}}}
  |Name_real={{{Name_real|}}}
  |instanceOf={{{instanceOf|}}}
  |instanceOf={{{instanceOf|}}}
Line 21: Line 23:
  |siblingsLabel={{{siblingsLabel|}}}
  |siblingsLabel={{{siblingsLabel|}}}
  |spouseLabel={{{spouseLabel|}}}
  |spouseLabel={{{spouseLabel|}}}
|PersonWebsite={{{PersonWebsite|}}}
  |Todotango_links={{{Todotango_links|}}}
  |Todotango_links={{{Todotango_links|}}}
}}
}}
Line 36: Line 39:
   }}
   }}
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
   {{#if:{{{birthDate|}}}{{{deathDate|}}}|
    <p><b>Life</b>
  <p><b>Life</b>
      {{#if:{{{birthDate|}}}|
    {{#if:{{{birthDate|}}}|
        {{#switch:{{#len:{{{birthDate}}}}}
      {{#switch:{{#len:{{{birthDate}}}}}
        |4={{{birthDate}}}
        |4={{{birthDate}}}
        |7={{#time:F Y|{{{birthDate}}}}}
        |7={{#time:F Y|{{{birthDate}}}}}
        |10={{#time:j F Y|{{{birthDate}}}}}
        |10={{#time:j F Y|{{{birthDate}}}}}
        |#default={{{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}}}
        }}
       }}
       }}
    }}
    {{#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><br />
    <ul style="margin-top: 0; margin-bottom: 0.5em; padding-left: 1.5em; font-family: inherit; color: inherit; font-size: 120%;">
  {{#arraymap:{{{Pseudonyms-nicknames}}}|;;|@@@|• @@@<br />|}}
  </ul>
     </p>
     </p>
   }}
   }}
  {{#if:{{{Pseudonyms-nicknames|}}}|
    <p><b>Pseudonyms</b> {{{Pseudonyms-nicknames}}}</p>
  }} 
{{#if:{{{Occupation|}}}|
{{#if:{{{Occupation|}}}|
     <p><b>Occupation</b><br />
     <p><b>Occupation</b><br />
Line 77: Line 86:
     <p><b>Country of birth</b> {{{birthPlaceCountryLabel}}}</p>
     <p><b>Country of birth</b> {{{birthPlaceCountryLabel}}}</p>
   }}
   }}
  {{#if:{{{citizenshipLabel|}}}|
{{#if:{{{citizenshipLabel|}}}|
     <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%;">
Line 84: Line 93:
     </p>
     </p>
   }}
   }}
   {{#if:{{{siblingsLabel|}}}|
   {{#if:{{{PersonWebsite|}}}|
    <p><b>Website:</b> [{{{PersonWebsite}}} Visit site]</p>
  }}
{{#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>
Line 128: Line 141:
  | default=No known group memberships.
  | default=No known group memberships.
}}
}}
== Recordings ==
{{#ask:
[[RecordingSinger::{{FULLPAGENAME}}]]
| ?RecordingRelatedTuneID=Tune
| ?RecordingRecDate=Date
| ?RecordingOrchestraLeader=Orchestra
| ?RecordingAccompaniment=Accompaniment
| ?RecordingLabel=Label
| ?RecordingDiscoNo=Disc No
| ?RecordingMatrixNo=Matrix
| format=table
| headers=plain
| mainlabel=Recording ID
| default=No recordings found.
| limit=500
}}
== Opus ==
<div style="font-size:90%; line-height:1.4em;">
{{#ask:
[[Category:Tune]]
[[TuneComposer::{{FULLPAGENAME}}]] OR [[TuneLyricist::{{FULLPAGENAME}}]]
| ?TuneGenre=Genre
| ?TuneAltTitle=Alt. title
| ?CompositionYear=Comp. Year
| format=table
| headers=plain
| mainlabel=Title
| default=No compositions or lyrics found.
| limit=500
}}
</div>


{{#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.<templatedata>
<noinclude>This template stores structured data about a Tango-related person.</noinclude>
{
"params": {
"Name": {
"type": "string"
},
"wikidataID": {},
"Name_real": {},
"instanceOf": {},
"Commons image URL": {},
"Commons image URL short": {},
"birthDate": {},
"deathDate": {},
"genderLabel": {},
"Pseudonyms-nicknames": {},
"Occupation": {},
"instrument": {},
"birthPlaceLabel": {},
"birthPlaceCountryLabel": {},
"citizenshipLabel": {},
"fatherLabel": {},
"motherLabel": {},
"siblingsLabel": {},
"spouseLabel": {},
"Todotango_links": {},
"alternative_search": {
"type": "string"
},
"PersonFreeText": {},
"nocat": {}
}
}
</templatedata></noinclude>

Latest revision as of 13:13, 4 June 2025

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