Template:Person: Difference between revisions

From elijah
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
{{#if:{{{HasType|PublicFigure}}}|[[HasType::{{#if:{{{HasType|}}}|{{{HasType}}}|PublicFigure}}]]}}
{{#if:{{{HasType|PublicFigure}}}|[[HasType::{{#if:{{{HasType|}}}|{{{HasType}}}|PublicFigure}}]]}}


<div class="person" style="border:1px solid #ddd; padding:.6em; background:#fafafa; margin:.8em 0;">
<div class="person" style="border:1px solid #ddd; padding:.8em; background:#fafafa; margin:.8em 0; overflow:auto;">
 
  <!-- Float the image to the right -->
  {{#if:{{{HasImage|}}}|
    <div style="float:right; margin:0 0 .5em .8em;">
      [[{{{HasImage}}}|thumb|200px|{{{HasName|}}}]]
    </div>
  }}
 
  <!-- Person details -->
   {{#if:{{{HasName|}}}|'''Name:''' {{{HasName}}}<br/>}}
   {{#if:{{{HasName|}}}|'''Name:''' {{{HasName}}}<br/>}}
   {{#if:{{{HasAltName|}}}|'''Alternate name:''' {{{HasAltName}}}<br/>}}
   {{#if:{{{HasAltName|}}}|'''Alternate name:''' {{{HasAltName}}}<br/>}}
Line 30: Line 39:
   {{#if:{{{HasProfession|}}}|'''Known for:''' {{{HasProfession}}}<br/>}}
   {{#if:{{{HasProfession|}}}|'''Known for:''' {{{HasProfession}}}<br/>}}
   {{#if:{{{HasArticle|}}}|'''Related article:''' {{{HasArticle}}}<br/>}}
   {{#if:{{{HasArticle|}}}|'''Related article:''' {{{HasArticle}}}<br/>}}
  {{#if:{{{HasImage|}}}|'''Photo:''' [[{{{HasImage|}}}|200px]]<br/>}}
   {{#if:{{{HasWikidataID|}}}|'''Wikidata ID:''' {{{HasWikidataID}}}<br/>}}
   {{#if:{{{HasWikidataID|}}}|'''Wikidata ID:''' {{{HasWikidataID}}}<br/>}}
   {{#if:{{{HasMazalID|}}}|'''Mazal ID:''' {{{HasMazalID}}}<br/>}}
   {{#if:{{{HasMazalID|}}}|'''Mazal ID:''' {{{HasMazalID}}}<br/>}}
   {{#if:{{{HasURL|}}}|'''External link:''' [{{{HasURL}}} link]<br/>}}
   {{#if:{{{HasURL|}}}|'''External link:''' [{{{HasURL}}} link]<br/>}}
</div>
</div>
</includeonly>
</includeonly>


<noinclude>
<noinclude>

Revision as of 20:40, 4 November 2025




Use this template on Person: pages to describe individual people.

Example:

{{Person
 |HasName=Jacob ben Moses
 |HasAltName=Yaakov ben Moshe
 |HasType=PublicFigure
 |HasDateOfBirth=1725
 |HasPlaceOfBirth=Community:Lviv
 |HasDateOfDeath=1790
 |HasPlaceOfDeath=Community:Brody
 |HasWikidataID=Q123456
 |HasMazalID=MAZAL-000045
 |HasImage=File:Jacob_ben_Moses.jpg
 |HasArticle=Article:The Jewish Council of Lviv
 |HasProfession=Community leader and rabbinical scholar
 |HasURL=https://example.org/persons/jacob_ben_moses
}}