Difference between revisions of "Template:Person stub"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><!--set defaults--> |
− | <!-- | + | {{#if:{{{include infobox|}}}|{{#vardefine:showinfobox|{{{include infobox}}} }}|{{#vardefine:showinfobox|false}} }} |
+ | {{#if:{{{include sketch|}}}|{{#vardefine:showsketch|{{{include sketch}}} }}|{{#vardefine:showsketch|false}} }} | ||
+ | {{#if:{{{include infobox|}}}|{{#vardefine:showinfobox|{{{include infobox|}}} }}|{{#vardefine:showinfobox|false}} }} | ||
+ | {{#if:{{{include research log|}}}|{{#vardefine:showresearchlog|{{{include research log}}} }}|{{#vardefine:showresearchlog|true}} }} | ||
+ | {{#if:{{{include related pages|}}}|{{#vardefine:showrelatedpages|{{{includerelatedpages}}} }}|{{#vardefine:showrelatedpages|true}} }} | ||
+ | {{#if:{{{include metadata|}}}|{{#vardefine:showmetadata|{{{include matadata}}} }}|{{#vardefine:showmetdata|false}} }} | ||
+ | {{#if:{{{include factbox|}}}|{{vardefine:showfactbox|{{{include factbox|}}} }}|{{#vardefine:showfactbox|false}} }} | ||
+ | <!--infobox -->{{#ifeq: {{#var:showinfobox}}|true| | ||
{{Infobox person | {{Infobox person | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
Line 55: | Line 62: | ||
{{child table/footer}} | {{child table/footer}} | ||
|<!--don't show child table--> }} | |<!--don't show child table--> }} | ||
− | {{#if:{{{include content|}}}|{{{content}}}|<!-- | + | {{#if:{{{include content|}}}|{{{content}}}|<!--do nothing--> }} |
{{#ifeq:{{{include research log|}}}|true|{{Research log}}|<!--do nothing--> }} | {{#ifeq:{{{include research log|}}}|true|{{Research log}}|<!--do nothing--> }} | ||
{{#ifeq:{{{include related pages|}}}|true|{{Related pages}}|<!--do nothing--> }} | {{#ifeq:{{{include related pages|}}}|true|{{Related pages}}|<!--do nothing--> }} |
Revision as of 15:59, 3 December 2020
Person Stub (including sketch and infobox):
{{person stub |include infobox = true |include sketch = true |include research log = true |include related pages = true |show people = true |include metada = true |include fact box = true |include content = true |pronoun = he/she |name = {{BASEPAGENAME}} |image file = (copy image name i.e. File. foo.jpg) |image caption = |birth name = (if different from name) |born on = |born at = |died on = |died at = |buried at = |occupation = |spouse = (no formatting) |residence list = fully formatted list of residences |child list = |child table = fully formatted list of children see [[Template:Child table/child]] |father gen = |mother gen = |generation number = |child header note = |mother = |father = |gen = |alt = (optional, see [[template:person stub]]) |first = (optional, see [[template:person stub]]) |middle = (optional, see [[template:person stub]]) |last = (optional, see [[template:person stub]]) |id = (optional, see [[template:person stub]]) |link = (optional, see [[template:person stub]]) |surname = (optional, see [[template:person stub]]) |male line = |married at = |married on = |spouse born at = |spouse born on = |spouse died at = |spouse died on = |spouse father = (no formatting) |spouse mother = (no formatting) |content = content to be displayed |alt sketch = }}
- uses Template:Related pages no arguments needed.
- uses Template:Sketch
- uses Template:Infobox Person
Templates
This template uses the following templates.
[[{Person stub surname=Stub|{Person stub surname=Stub]]Property "Is person" (as page type) with input value "{Person stub surname=Stub" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.