Template:Person: Difference between revisions

From elijah
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


<includeonly>
<includeonly>
__NOFACTBOX__


<!-- Categorize all described files (optional) -->
<!-- Categorize all described files (optional) -->
[[Category:People]]
[[Category:People]]


<!-- Store semantic data invisibly -->
<div style="display:none;">
{{#if:{{{HasName|}}}|[[HasName::{{{HasName}}}]]}}
{{#if:{{{HasName|}}}|[[HasName::{{{HasName}}}]]}}
{{#if:{{{HasAltName|}}}|[[HasAltName::{{{HasAltName}}}]]}}
{{#if:{{{HasAltName|}}}|[[HasAltName::{{{HasAltName}}}]]}}
Line 18: Line 21:
{{#if:{{{HasProfession|}}}|[[HasProfession::{{{HasProfession}}}]]}}
{{#if:{{{HasProfession|}}}|[[HasProfession::{{{HasProfession}}}]]}}
{{#if:{{{HasURL|}}}|[[HasURL::{{{HasURL}}}]]}}
{{#if:{{{HasURL|}}}|[[HasURL::{{{HasURL}}}]]}}
<!--{{#if:{{{HasType|}}}|[[HasType::{{{HasType}}}]]}} -->
{{#if:{{{HasType|PublicFigure}}}|[[HasType::{{#if:{{{HasType|}}}|{{{HasType}}}|PublicFigure}}]]}}
{{#if:{{{HasType|PublicFigure}}}|[[HasType::{{#if:{{{HasType|}}}|{{{HasType}}}|PublicFigure}}]]}}
</div>


<!-- Visible content: nicely formatted person card -->
<div class="person" style="border:1px solid #ddd; padding:.8em; background:#fafafa; margin:.8em 0; overflow:auto;">
<div class="person" style="border:1px solid #ddd; padding:.8em; background:#fafafa; margin:.8em 0; overflow:auto;">


Line 46: Line 50:
</div>
</div>
</includeonly>
</includeonly>


<noinclude>
<noinclude>

Revision as of 09:08, 5 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
}}