Template:Infobox Character: Difference between revisions

From Errapedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 128: Line 128:
_table = characters
_table = characters
|name = {{#var:name}}
|name = {{#var:name}}
|species = String
|species = {{#var:species}}
|birthday = Integer
|birthday = {{#var:birthdate}}
|birthmonth = Integer
|birthmonth = {{#var:birthmonth}}
|birthyear = Integer
|birthyear = {{#var:birthyear}}
|deathday = Integer
|deathday = {{#var:deathdate}}
|deathmonth = Integer
|deathmonth = {{#var:deathmonth}}
|deathyear = Integer
|deathyear = {{#var:deathyear}}
|nationality = List (,) of String
|nationality = {{#arrayprint:nationality|,}}
|aliases = List (,) of String
|aliases = {{#arrayprint:aliases|,}}
|occupation = List (,) of String
|occupation = {{#arrayprint:occupation|,}}
|known_for = List (,) of String
|known_for = {{#arrayprint:known_for|,}}
|notable_work = List (,) of String
|notable_work = {{#arrayprint:notable_work|,}}
|strength = Integer
|strength = {{#var:str_stat}}
|celerity = Integer
|celerity = {{#var:cel_stat}}
|endurance = Integer
|endurance = {{#var:end_stat}}
|composure = Integer
|composure = {{#var:com_stat}}
|intelligence = Integer
|intelligence = {{#var:int_stat}}
|perception = Integer
|perception = {{#var:per_stat}}
|luck = Integer}}<!--
|luck = {{#var:luc_stat}}}}<!--


</includeonly>
-->{{#vardefine:birthdayprint|{{#invoke:ErraCalendar|PrintDate|year={{#var:birthyear}}|month={{#var:birthmonth}}|date={{#var:birthdate}}}}}}<!--
-->{{#vardefine:deathdayprint|{{#invoke:ErraCalendar|PrintDate|year={{#var:deathyear}}|month={{#var:deathmonth}}|date={{#var:deathdate}}}}{{#if:{{#var:birthyear}}|&#32;({{#invoke:ErraCalendar|PrintAge|year1={{#var:birthyear}}|month1={{#var:birthmonth}}|date1={{#var:birthdate}}|year2={{#var:deathyear}}|month2={{#var:deathmonth}}|date2={{#var:deathdate}}}})|}}}}<!--
 
-->{{#var:birthdayprint}}<!--
-->{{#var:deathdayprint}}<!--
--></includeonly>

Revision as of 21:35, 9 February 2023

This template defines the table "characters". View table.