Template:Person: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 31: | Line 31: | ||
}} | }} | ||
<!-- | <!-- Handle Profession List (Controlled Vocabulary) --> | ||
<!-- We split by semicolon so "Rabbi;Author" becomes two distinct data values --> | |||
{{#if:{{{HasProfession|}}}| | {{#if:{{{HasProfession|}}}| | ||
{{#arraymap:{{{HasProfession|}}}|;|@@|{{#set:HasProfession=@@}} }} | {{#arraymap:{{{HasProfession|}}}|;|@@|{{#set:HasProfession=@@}}|}} | ||
}} | }} | ||
| Line 70: | Line 70: | ||
{{#if:{{{HasProfession|}}}| | {{#if:{{{HasProfession|}}}| | ||
'''Known for:''' | '''Known for:''' | ||
{{#arraymap:{{{HasProfession|}}}|;|@@|[[Term:@@|@@]]|, }} <!-- Auto-links to Term:Namespace --> | <!-- {{#arraymap:{{{HasProfession|}}}|;|@@|[[Term:@@|@@]]|, }} --> <!-- Auto-links to Term:Namespace --> | ||
<!-- | |||
We use [[HasProfession::@@]] syntax here. | |||
This displays the text "@@" (e.g. Rabbi), but clicking it | |||
searches the wiki for other people with that same property value. | |||
--> | |||
{{#arraymap:{{{HasProfession|}}}|;|@@|[[HasProfession::@@]]|, }} | |||
<br/> | <br/> | ||
}} | }} | ||
{{#if:{{{HasArticle|}}}|'''Related Article:''' [[{{{HasArticle}}}]]<br/>}} | {{#if:{{{HasArticle|}}}|'''Related Article:''' [[{{{HasArticle}}}]]<br/>}} | ||
Revision as of 16:21, 27 November 2025
Use this template on Person: pages to describe individual people.
Example:
{{Person
|HasName=Perl ,Joseph
|HasHebName=פרל, יוסף
|HasYiddishName=פערל, יוסף
|HasType=PublicFigure
|HasDateOfBirth=1773
|HasPlaceOfBirth=Community:Lviv
|HasDateOfDeath=1839
|HasPlaceOfDeath=Community:Brody
|HasWikidataID=Q123456
|HasMazalID=MAZAL-000045
|HasVIAFID=22945141
|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; https://en.wikipedia.org/wiki/Jacob_ben_Moses
}}