Template:Person: Difference between revisions

From The Seven Sages of Rome
No edit summary
Tag: Reverted
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:PersonPage|render}}
<includeonly>__NOTOC__
 
<div class="noexcerpt">
<!-- Second, only show the rest if NOT a redirect -->
{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Persons|CategoryName=Person|PAGENAME={{PAGENAME}}}}{{#if:{{{Has Display Title|}}}|{{DISPLAYTITLE:{{{Has Display Title|}}}}}|}}
{{#ifexpr:{{#invoke:PersonPage|render|returnIsRedirect=1}}=1|
{{#if:{{{Is Spelling Variation Of|}}}|
|
{{#set:Is Spelling Variation Of={{{Is Spelling Variation Of|}}}}}{{Person/NamingVariation|CanonicalName={{{Is Spelling Variation Of|}}}}}|
<!-- NOT a redirect: show everything else -->
{{Person/Content|Has First Name={{{Has First Name|}}}|Has Last Name={{{Has Last Name|}}}|Has Title={{{Has Title|}}}}}
 
}}
{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Persons|CategoryName=Person|PAGENAME={{PAGENAME}}}}
[[Category:Person]]{{#set:Is Entity Type=Person}}
 
</div>
{| class=wikitable border=1
|-
{{TableAttribute|type=attr|display_name=First Name|value={{{Has First Name|}}}|property=Has First Name}}
|-
{{TableAttribute|type=attr|display_name=Last Name|value={{{Has Last Name|}}}|property=Has Last Name}}
|-
{{TableAttribute|type=attr|display_name=Title|value={{{Has Title|}}}|property=Has Title}}
|-
|}
 
<tabber>
|-|Prints=
=== {{PAGENAME}} is the printer of the following prints ===
{{#ask:[[Category:Print]][[Has Printer::{{PAGENAME}}]]|?Has Place Of Printing=Place of printing|default=No prints found}}
 
... rest of tabber ...
</tabber>
 
{{#if:{{{Has Note|}}}|<h2>Note</h2>{{{Has Note|}}}|}}
 
[[Category:Person]]
{{#set:Is Entity Type=Person}}
 
}} <!-- end ifexpr -->
 
</includeonly>
</includeonly>

Latest revision as of 20:16, 25 February 2026