This is the template sandbox page for Template:Person (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Variant of the portal header intended for person-specific portals, with parameters used in {{author}}.
Usage
edit{{person
| firstname =
| lastname =
| last_initial =
| description =
<!-- parameters following, ie. sister links and dates should be used only to override values generated from Wikidata -->
| image =
| birthyear =
| deathyear =
| wikipedia =
| wikiquote =
| commons =
| commonscat =
<!-- parameters following have local display effect -->
| invert_names =
| defaultsort =
}}
This template sorts pages into Category:People in portal namespace and applies a defaultsort of lastname, firstname
.
Person vs. author
editPerson-specific portals should be limited to people who are not authors. Pages about authors should be filed in the Author namespace as normal. This template deliberately resembles the standard author header so that, if the subject of a person-specific portal is later found to an author, the page can be more easily moved and adapted to become an author page.
See also
edit- {{portal header}} — general portal header
- {{national}} — portal header variant for nation-specific portals
- {{author}} — author header for the Author: namespace