Template:Person: Difference between revisions

From elijah
Jump to navigation Jump to search
(Created page with "<!-- https://elijahwiki.info/index.php/Template:Person --> <includeonly> <!-- Categorize all described files (optional) --> Category:People {{#if:{{{HasName|}}}|[[HasName::{{{HasName}}}]]}} {{#if:{{{HasAltName|}}}|[[HasAltName::{{{HasAltName}}}]]}} {{#if:{{{HasDateOfBirth|}}}|[[HasDateOfBirth::{{{HasDateOfBirth}}}]]}} {{#if:{{{HasDateOfDeath|}}}|[[HasDateOfDeath::{{{HasDateOfDeath}}}]]}} {{#if:{{{HasPlaceOfBirth|}}}|[[HasPlaceOfBirth::{{{HasPlaceOfBirth}}}]]}} {{#i...")
 
No edit summary
Line 18: Line 18:
{{#if:{{{HasURL|}}}|[[HasURL::{{{HasURL}}}]]}}
{{#if:{{{HasURL|}}}|[[HasURL::{{{HasURL}}}]]}}
<!--{{#if:{{{HasType|}}}|[[HasType::{{{HasType}}}]]}} -->
<!--{{#if:{{{HasType|}}}|[[HasType::{{{HasType}}}]]}} -->
{{#if:{{{HasType|Person}}}|[[HasType::{{#if:{{{HasType|}}}|{{{HasType}}}|Person}}]]}}
{{#if:{{{HasType|PublicFigure}}}|[[HasType::{{#if:{{{HasType|}}}|{{{HasType}}}|PublicFigure}}]]}}
{{#if:{{{HasSubtype|}}}|[[HasSubtype::{{{HasSubtype}}}]]}}


<div class="personmeta" style="border:1px solid #ddd; padding:.6em; background:#fafafa; margin:.8em 0;">
<div class="person" style="border:1px solid #ddd; padding:.6em; background:#fafafa; margin:.8em 0;">
   {{#if:{{{HasName|}}}|'''Name:''' {{{HasName}}}<br/>}}
   {{#if:{{{HasName|}}}|'''Name:''' {{{HasName}}}<br/>}}
   {{#if:{{{HasAltName|}}}|'''Alternate name:''' {{{HasAltName}}}<br/>}}
   {{#if:{{{HasAltName|}}}|'''Alternate name:''' {{{HasAltName}}}<br/>}}
   {{#if:{{{HasType|}}}|'''Type:''' {{{HasType}}}<br/>}}
   {{#if:{{{HasType|}}}|'''Type:''' {{{HasType}}}<br/>}}
  {{#if:{{{HasSubtype|}}}|'''Subtype:''' {{{HasSubtype}}}<br/>}}
   {{#if:{{{HasDateOfBirth|}}}|'''Date of birth:''' {{{HasDateOfBirth}}}<br/>}}
   {{#if:{{{HasDateOfBirth|}}}|'''Date of birth:''' {{{HasDateOfBirth}}}<br/>}}
   {{#if:{{{HasPlaceOfBirth|}}}|'''Place of birth:''' {{{HasPlaceOfBirth}}}<br/>}}
   {{#if:{{{HasPlaceOfBirth|}}}|'''Place of birth:''' {{{HasPlaceOfBirth}}}<br/>}}
Line 44: Line 42:
Example:
Example:
<pre>
<pre>
{{PersonMeta
{{Person
  |HasName=Jacob ben Moses
  |HasName=Jacob ben Moses
  |HasAltName=Yaakov ben Moshe
  |HasAltName=Yaakov ben Moshe
  |HasType=Person
  |HasType=PublicFigure
|HasSubtype=Historical figure
  |HasDateOfBirth=1725
  |HasDateOfBirth=1725
  |HasPlaceOfBirth=Community:Lviv
  |HasPlaceOfBirth=Community:Lviv

Revision as of 10:13, 30 October 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
 |KnownFor=Community leader and rabbinical scholar
 |HasURL=https://example.org/persons/jacob_ben_moses
}}