Template:Person: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 25: | Line 25: | ||
|HasYIVOLink={{{HasYIVOLink|}}} | |HasYIVOLink={{{HasYIVOLink|}}} | ||
|HasWikiLink={{{HasWikiLink|}}} | |HasWikiLink={{{HasWikiLink|}}} | ||
|HasRelatedEntries={{{HasRelatedEntries|}}} | |||
}} | }} | ||
| Line 30: | Line 31: | ||
<!-- 1. URLs: We assume raw text storage for JSON export simplicity, | <!-- 1. URLs: We assume raw text storage for JSON export simplicity, | ||
but validation happens on display. --> | but validation happens on display. --> | ||
{{#if:{{{ | {{#if:{{{HasExtResources|}}}| | ||
{{#arraymap:{{{ | {{#arraymap:{{{HasExtResources|}}}|;|@@|{{#set:HasExtResources=@@}} }} | ||
}} | |||
{{#if:{{{HasRelatedEntries|}}}| | |||
{{#arraymap:{{{HasRelatedEntries|}}}|;|@@|{{#set:HasRelatedEntries=@@}} }} | |||
}} | }} | ||
| Line 103: | Line 107: | ||
{{#if:{{{HasWikiLink|}}}|'''Wikipedia entry:'''[[{{{HasWikiLink}}}]] |'''No Wikipedia entry''' <br/>}} | {{#if:{{{HasWikiLink|}}}|'''Wikipedia entry:'''[[{{{HasWikiLink}}}]] |'''No Wikipedia entry''' <br/>}} | ||
<!-- Other External Links with Validation --> | |||
{{#if:{{{HasRelatedEntries|}}}| | |||
'''Related Entries:'''<br/> | |||
{{#arraymap:{{{HasRelatedEntries}}}|;|@@| | |||
|<br/>}} | |||
}} | |||
<!-- Other External Links with Validation --> | <!-- Other External Links with Validation --> | ||
{{#if:{{{ | {{#if:{{{HasExtResources|}}}| | ||
'''External Links:'''<br/> | '''External Links:'''<br/> | ||
{{#arraymap:{{{ | {{#arraymap:{{{HasExtResources}}}|;|@@| | ||
{{#if: {{#rmatch:@@|^https?://}} | [@@ Link] | <!-- Invalid hidden --> }} | {{#if: {{#rmatch:@@|^https?://}} | [@@ Link] | <!-- Invalid hidden --> }} | ||
|<br/>}} | |<br/>}} | ||
| Line 134: | Line 147: | ||
|HasVIAFID=22945141 | |HasVIAFID=22945141 | ||
|HasImage=Image:Josef Perl | |HasImage=Image:Josef Perl | ||
|HasArticle=Article: | |HasArticle=Article:Perl_Joseph | ||
|HasProfession=Community leader and rabbinical scholar | |HasProfession=Community leader and rabbinical scholar | ||
| | |HasExtResources=https://example.org/persons/jacob_ben_moses; https://en.wikipedia.org/wiki/Jacob_ben_Moses | ||
|HasWikiLink= | |HasWikiLink= | ||
|HasYIVOLink= | |HasYIVOLink= | ||
|HasBibLink= | |HasBibLink= | ||
|HasRelatedEntries=Article:The Jewish Council of Lviv | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 10:11, 3 March 2026
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=Image:Josef Perl
|HasArticle=Article:Perl_Joseph
|HasProfession=Community leader and rabbinical scholar
|HasExtResources=https://example.org/persons/jacob_ben_moses; https://en.wikipedia.org/wiki/Jacob_ben_Moses
|HasWikiLink=
|HasYIVOLink=
|HasBibLink=
|HasRelatedEntries=Article:The Jewish Council of Lviv
}}