Template:Person: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly> | ||
{{Infobox | |||
| ibname = {{{name|{{PAGENAME}}}}} | | ibname = {{{name|{{PAGENAME}}}}} | ||
| ibtype = {{{ibtype|Person}}} | | ibtype = {{{ibtype|Person}}} | ||
Line 16: | Line 17: | ||
| paramname4 = Species | | paramname4 = Species | ||
| param4 = [[Category:{{{species|}}} | | param4 = [[Category:{{{species|}}} Inhabitants]] [[{{{species|}}}]] {{ #if:{{{ethnicity|}}}| | ||
({{#af_stringmap:{{{ethnicity}}}|,|indv|[[Category:{{{indv|}}} Inhabitants]][[{{{indv|}}}]]|,\s|,\s}}) | |||
}} | |||
| paramname21= Profession | | paramname21= Profession | ||
Line 25: | Line 28: | ||
| paramname8 = Homeland | | paramname8 = Homeland | ||
| param8 = {{ #if:{{{homeland|}}}|[[{{{homeland|}}}]][[Category:{{{homeland|}}} | | param8 = {{ #if:{{{homeland|}}}|[[{{{homeland|}}}]][[Category:People from {{{homeland|}}}]]}} | ||
| paramname9 = Deity | | paramname9 = Deity | ||
| param9 = {{ #if:{{{deity|}}}|[[{{{deity|}}}]] [[Category:{{{deity|}}} | | param9 = {{ #if:{{{deity|}}}|[[{{{deity|}}}]] [[Category:{{{deity|}}} Worshipers]]}} | ||
| paramname10 = Organization | | paramname10 = Organization | ||
| param10 = {{ #if:{{{organization|}}}| [[{{{organization|}}}]][[Category:{{{organization|}}} | | param10 = {{ #if:{{{organization|}}}| [[{{{organization|}}}]][[Category:{{{organization|}}} Members]]}} | ||
| paramname11 = Born | | paramname11 = Born | ||
| param11 = {{ #if:{{{mob|}}}|[[Universal Reckoning|{{{mob|}}}]]}} {{{dob|}}}{{ #if:{{{yob|}}}|{{ #if:{{{mob|}}}|, }} [[{{{yob|}}} UR]][[Category:{{{yob|}}} UR | | param11 = {{ #if:{{{mob|}}}|[[Universal Reckoning|{{{mob|}}}]]}} {{{dob|}}}{{ #if:{{{yob|}}}|{{ #if:{{{mob|}}}|, }} [[{{{yob|}}} UR]][[Category:Births in {{{yob|}}} UR]] | [[Category:People with Missing Birth Years]]}} | ||
| paramname12 = {{ #if:{{{yod|}}}|Death|Age}} | | paramname12 = {{ #if:{{{yod|}}}|Death|Age}} | ||
| param12 = {{ #if:{{{yod|}}}|{{ #if:{{{mod|}}}|[[Universal Reckoning|{{{mod|}}}]]}} {{{dod|}}}{{ #if:{{{yod|}}}|{{ #if:{{{mob|}}}|, }} [[{{{yod|}}} UR]][[Category:{{{yod|}}} UR | | param12 = {{ #if:{{{yod|}}}|{{ #if:{{{mod|}}}|[[Universal Reckoning|{{{mod|}}}]]}} {{{dod|}}}{{ #if:{{{yod|}}}|{{ #if:{{{mob|}}}|, }} [[{{{yod|}}} UR]][[Category:Deaths in {{{yod|}}} UR]] (Age {{#expr: {{{yod|}}} - {{{yob|}}} }})}}|{{ #if:{{{yob|}}}| {{#expr: {{Current Year}} - {{{yob|}}} }} }}}} | ||
| paramname13 = Destroyed | | paramname13 = Destroyed | ||
Line 63: | Line 66: | ||
| param20 = {{#ifeq:{{{imagesof|}}}||{{#ifexist: Category:Images of {{PAGENAME}}|{{PAGENAME}}|}}|{{#ifexist: Category:Images of {{{imagesof|{{PAGENAME}}}}}|{{{imagesof|{{PAGENAME}}}}}|}}|}} | | param20 = {{#ifeq:{{{imagesof|}}}||{{#ifexist: Category:Images of {{PAGENAME}}|{{PAGENAME}}|}}|{{#ifexist: Category:Images of {{{imagesof|{{PAGENAME}}}}}|{{{imagesof|{{PAGENAME}}}}}|}}|}} | ||
}} | }} | ||
{{ #if:{{{yod|}}}|[[Category:Dead People]]|[[Category:Living People]]}} | |||
[[Category:People]] | [[Category:People]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 103: | Line 107: | ||
"cohort": {}, | "cohort": {}, | ||
"companions": {}, | "companions": {}, | ||
"imagesof": {} | "imagesof": {}, | ||
"species": { | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | }, | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 15:02, 14 February 2024
Template documentation (for the above template, sometimes hidden or invisible)
Visit Template:Person/doc to edit this text! (How does this work?)
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | String | required |
ibtype | ibtype | no description | Unknown | optional |
traits | traits | no description | Unknown | optional |
image | image | no description | Unknown | optional |
aliases | aliases | no description | Unknown | optional |
titles | titles | no description | Unknown | optional |
ethnicity | ethnicity | no description | Unknown | optional |
profession | profession | no description | Unknown | optional |
gender | gender | no description | Unknown | optional |
homeland | homeland | no description | Unknown | optional |
deity | deity | no description | Unknown | optional |
organization | organization | no description | Unknown | optional |
mob | mob | no description | Unknown | optional |
dob | dob | no description | Unknown | optional |
yob | yob | no description | Number | required |
yod | yod | no description | Number | optional |
mod | mod | no description | Unknown | optional |
dod | dod | no description | Unknown | optional |
destroyed | destroyed | no description | Unknown | optional |
familiar | familiar | no description | Unknown | optional |
animal | animal | no description | Unknown | optional |
spiritanimal | spiritanimal | no description | Unknown | optional |
eidolon | eidolon | no description | Unknown | optional |
cohort | cohort | no description | Unknown | optional |
companions | companions | no description | Unknown | optional |
imagesof | imagesof | no description | Unknown | optional |
species | species | no description | String | required |