Template:Person: Difference between revisions
From The Seven Sages of Rome
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<!-- First, output the redirect if there is one --> | |||
{{#invoke:PersonPage|render}} | {{#invoke:PersonPage|render}} | ||
{{#ifexpr:{{#invoke:PersonPage|render|returnIsRedirect}}=1|<!-- | |||
<!-- Second, only show the rest if NOT a redirect --> | |||
-->|<!-- | {{#ifexpr:{{#invoke:PersonPage|render|returnIsRedirect=1}}=1| | ||
<!-- If it's a redirect, stop rendering anything else! --> | |||
--> | | | ||
<!-- NOT a redirect: show everything else --> | |||
{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Persons|CategoryName=Person|PAGENAME={{PAGENAME}}}} | {{#invoke:Breadcrumb|breadcrumb|CategoryLink=Persons|CategoryName=Person|PAGENAME={{PAGENAME}}}} | ||
Line 22: | Line 25: | ||
=== {{PAGENAME}} is the printer of the following 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}} | {{#ask:[[Category:Print]][[Has Printer::{{PAGENAME}}]]|?Has Place Of Printing=Place of printing|default=No prints found}} | ||
... | |||
... rest of tabber ... | |||
</tabber> | </tabber> | ||
Line 31: | Line 35: | ||
}} <!-- end ifexpr --> | }} <!-- end ifexpr --> | ||
</includeonly> | </includeonly> |