Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
m (corrected infobox theme) |
m (Testing a fix to age to see if we can make it stop printing years if the value is invalid) |
||
| Line 181: | Line 181: | ||
-->{{#vardefine:heightprint|{{#if:{{{height|}}}|{{{height}}} m|}}}}<!-- | -->{{#vardefine:heightprint|{{#if:{{{height|}}}|{{{height}}} m|}}}}<!-- | ||
-->{{#vardefine:weightprint|{{#if:{{{weight|}}}|{{{weight}}} kg|}}}}<!-- | -->{{#vardefine:weightprint|{{#if:{{{weight|}}}|{{{weight}}} kg|}}}}<!-- | ||
-->{{#vardefine:ageprint|{{#if:{{{age|}}}|{{{age}}} years|}}}}<!-- | -->{{#vardefine:ageprint|{{#if:{{{age|}}}| {{#iferror:{{#expr:{{{age}}} + 1}}|{{{age}}}|{{{age}}} years}}|}}}}<!-- | ||
--><infobox theme="erra"> | --><infobox theme="erra"> | ||
Revision as of 15:10, 27 March 2023
This template defines the table "characters". View table. Declare with {{Infobox Character |content }}
Parameters
- name (Defaults to page name)
- species
- birthday (day-month-year)
- deathday (day-month-year)
- cause-of-death
- height
- weight
- age (accepts String)
- nationality (list of string (,))
- aliases (list of string (,))
- occupation (list of string (,))
- affiliation (list of string (,))
- known-for (list of string (,))
- notable-work (list of string(,))
- str-stat
- cel-stat
- end-stat
- com-stat
- int-stat
- per-stat
- lck-stat
- hp
- ac
- init
- hr
- crit
- md