Difference between revisions of "Template:Person stub"
Jump to navigation
Jump to search
Line 58: | Line 58: | ||
{{#ifeq:{{#var:showresearchlog}}|true|{{Research log}}|<!--do nothing--> }} | {{#ifeq:{{#var:showresearchlog}}|true|{{Research log}}|<!--do nothing--> }} | ||
{{#ifeq:{{#var:showrelatedpages}}|true|{{Related pages}}|<!--do nothing--> }} {{#ifeq:{{#var:showmetadata}}|true|{{meta data}}|<!--do nothing--> }} | {{#ifeq:{{#var:showrelatedpages}}|true|{{Related pages}}|<!--do nothing--> }} {{#ifeq:{{#var:showmetadata}}|true|{{meta data}}|<!--do nothing--> }} | ||
− | {{#if: {{#ask: [[{{PAGENAME}}]] | + | {{#if: {{#ask: [[has person::{{PAGENAME}}]]}}|==Gallery== |
+ | {{#ask: [[has person::{{PAGENAME}}]]|format=gallery}}|<!--do nothing --> }} | ||
==References== | ==References== | ||
<references />{{#ifeq:{{#var:showfactbox}}|true|__SHOWFACTBOX__|<!--do nothing-->}}</includeonly><noinclude>{{documentation}}</noinclude>{{#if: {{{first name|}}}{{{middle name|}}}{{{last name|}}}{{{suffix|}}}{{{id|}}} | {{is person |first name={{{first name|}}} |middle name={{{middle name|}}} |last name={{{last name|}}} |suffix={{{suffix|}}} |id={{{id|}}} }} | {{is person |name={{{ROOTPAGENAME}} surname={{get surname|{{ROOTPAGENAME}} }} }} }} | <references />{{#ifeq:{{#var:showfactbox}}|true|__SHOWFACTBOX__|<!--do nothing-->}}</includeonly><noinclude>{{documentation}}</noinclude>{{#if: {{{first name|}}}{{{middle name|}}}{{{last name|}}}{{{suffix|}}}{{{id|}}} | {{is person |first name={{{first name|}}} |middle name={{{middle name|}}} |last name={{{last name|}}} |suffix={{{suffix|}}} |id={{{id|}}} }} | {{is person |name={{{ROOTPAGENAME}} surname={{get surname|{{ROOTPAGENAME}} }} }} }} | ||
[[Category:{{get surname|{{ROOTPAGENAME}} }}]][[Category:Individual]] | [[Category:{{get surname|{{ROOTPAGENAME}} }}]][[Category:Individual]] |
Revision as of 23:11, 18 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.