Template:Person: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(39 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 15: | Line 16: | ||
| param2 = {{{titles|}}} | | param2 = {{{titles|}}} | ||
| | | paramname4 = Species | ||
| | | param4 = [[Category:{{{species|}}} Inhabitants]] [[{{{species|}}}]] {{ #if:{{{ethnicity|}}}| | ||
({{#af_stringmap:{{{ethnicity}}}|,|indv|[[Category:{{{indv|}}} Inhabitants]][[{{{indv|}}}]]|,\s|,\s}}) | |||
}} | |||
| | |||
| | | paramname21= Profession | ||
| param21 = {{ #if:{{{profession|}}}|{{{profession|}}}[[Category:{{plural|{{{profession|}}}}}]]}} | | param21 = {{ #if:{{{profession|}}}|{{{profession|}}}[[Category:{{plural|{{{profession|}}}}}]]}} | ||
| paramname7 = Gender | | paramname7 = Gender | ||
| param7 = {{{gender|}}} | | param7 = {{{gender|}}} | ||
| 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|}}}|, [[{{{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|}}}|, [[{{{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 67: | Line 61: | ||
| paramname19 = Companion(s) | | paramname19 = Companion(s) | ||
| param19 = {{#if:{{{companions|}}}|{{{companions}}}|{{{ | | param19 = {{#if:{{{companions|}}}|{{{companions}}}|{{{companions|}}}}} | ||
| paramname20 = imagesof | | paramname20 = imagesof | ||
| 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> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Infoboxes|Person]] | [[Category:Infoboxes|Person]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"name": { | |||
"type": "string", | |||
"required": true | |||
}, | |||
"ibtype": {}, | |||
"traits": {}, | |||
"image": {}, | |||
"aliases": {}, | |||
"titles": {}, | |||
"ethnicity": {}, | |||
"profession": {}, | |||
"gender": {}, | |||
"homeland": {}, | |||
"deity": {}, | |||
"organization": {}, | |||
"mob": {}, | |||
"dob": {}, | |||
"yob": { | |||
"type": "number", | |||
"required": true | |||
}, | |||
"yod": { | |||
"type": "number" | |||
}, | |||
"mod": {}, | |||
"dod": {}, | |||
"destroyed": {}, | |||
"familiar": {}, | |||
"animal": {}, | |||
"spiritanimal": {}, | |||
"eidolon": {}, | |||
"cohort": {}, | |||
"companions": {}, | |||
"imagesof": {}, | |||
"species": { | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"format": "block" | |||
} | |||
</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 |