Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><!-- * Name * Image == Basic Information * Species * Born * (Optional) Died * (Optional) Cause of Death * Nationality * Aliases * Occupation * Known For * Notable Work == Game Statistics == * Strength * Celerity * Endurance * Composure * Intelligence * Perception * Luck * Statistics Table - Like the SPECIAL table but using Strength, Celerity, Endurance, Composure, Intelligence, Perception, Luck instead -->{{#vardefine:name|{{{name|{{PAGENAMEE}}}}}}}<!--...") |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><!-- | <noinclude><!-- | ||
-->{{#cargo_declare: | |||
_table = characters | |||
|name = String | |||
|species = String | |||
|birthday = Integer | |||
|birthmonth = Integer | |||
|birthyear = Integer | |||
|deathday = Integer | |||
|deathmonth = Integer | |||
|deathyear = Integer | |||
|nationality = List (,) of String | |||
|aliases = List (,) of String | |||
|occupation = List (,) of String | |||
|known_for = List (,) of String | |||
|notable_work = List (,) of String | |||
|strength = Integer | |||
|celerity = Integer | |||
|endurance = Integer | |||
|composure = Integer | |||
|intelligence = Integer | |||
|perception = Integer | |||
|luck = Integer}}<!-- | |||
--></noinclude><includeonly><!-- | |||
* Name | * Name | ||
| Line 22: | Line 47: | ||
* Luck | * Luck | ||
* Statistics Table - Like the SPECIAL table but using Strength, Celerity, Endurance, Composure, Intelligence, Perception, Luck instead | |||
For birthdays and deathdays, assume the following: | |||
If 3 entries, D/M/Y | |||
If 2 entries, M/Y | |||
If 1 entry, Y | |||
-->{{#vardefine:name|{{{name|{{PAGENAMEE}}}}}}}<!-- | -->{{#vardefine:name|{{{name|{{PAGENAMEE}}}}}}}<!-- | ||
-->{{#vardefine:species|{{{species|}}}}}<!-- | -->{{#vardefine:species|{{{species|}}}}}<!-- | ||
-->{{#arraydefine:birthdayraw|{{{birthday|}}}|-}}<!-- | |||
-->{{#arraydefine:deathdayraw|{{{deathday|}}}|-}}<!-- | |||
-->{{#vardefine:birthdate}}{{#vardefine:birthmonth}}{{#vardefine:birthyear}}{{#vardefine:deathdate}}{{#vardefine:deathmonth}}{{#vardefine:deathyear}}<!-- | |||
-->{{#ifexpr: ({{#arraysize:birthdayraw}} >= 3) | {{#vardefine:birthdate|{{#arrayindex:birthdayraw|0}}}}{{#vardefine:birthmonth|{{#arrayindex:birthdayraw|1}}}}{{#vardefine:birthyear|{{#arrayindex:birthdayraw|2}}}} | |||
|{{#ifexpr: ({{#arraysize:birthdayraw}} = 2) | {{#vardefine:birthmonth|{{#arrayindex:birthdayraw|0}}}} | |||
{{#vardefine:birthyear|{{#arrayindex:birthdayraw|1}}}} | |||
|{{#ifexpr: ({{#arraysize:birthdayraw}} = 1) | | |||
{{#vardefine:birthyear|{{#arrayindex:birthdayraw|0}}}} | |||
|}}}}}}<!-- | |||
-->{{#ifexpr: ({{#arraysize:deathdayraw}} >= 3) | {{#vardefine:deathdate|{{#arrayindex:deathdayraw|0}}}}{{#vardefine:deathmonth|{{#arrayindex:deathdayraw|1}}}}{{#vardefine:deathyear|{{#arrayindex:deathdayraw|2}}}} | |||
|{{#ifexpr: ({{#arraysize:deathdayraw}} = 2) | {{#vardefine:deathmonth|{{#arrayindex:deathdayraw|0}}}} | |||
{{#vardefine:deathyear|{{#arrayindex:deathdayraw|1}}}} | |||
|{{#ifexpr: ({{#arraysize:deathdayraw}} = 1) | | |||
{{#vardefine:deathyear|{{#arrayindex:deathdayraw|0}}}} | |||
|}}}}}}<!-- | |||
-->{{#vardefine:birthmonth|{{#switch: {{lc:{{#var:birthmonth}}}} | |||
| 1 | |||
| een = 1 | |||
| 2 | |||
| kar = 2 | |||
| 3 | |||
| mir = 3 | |||
| 4 | |||
| rort = 4 | |||
| 5 | |||
| kir = 5 | |||
| 6 | |||
| sur = 6 | |||
| 7 | |||
| ith = 7 | |||
| 8 | |||
| trint = 8 | |||
| 9 | |||
| sorth = 9 | |||
| #default = 0}}}}<!-- | |||
-->{{#vardefine:deathmonth|{{#switch: {{lc:{{#var:deathmonth}}}} | |||
| 1 | |||
| een = 1 | |||
| 2 | |||
| kar = 2 | |||
| 3 | |||
| mir = 3 | |||
| 4 | |||
| rort = 4 | |||
| 5 | |||
| kir = 5 | |||
| 6 | |||
| sur = 6 | |||
| 7 | |||
| ith = 7 | |||
| 8 | |||
| trint = 8 | |||
| 9 | |||
| sorth = 9 | |||
| #default = 0}}}}<!-- | |||
-->{{#arraydefine:nationality|{{{nationality|}}}|,}}<!-- | |||
-->{{#arraydefine:aliases|{{{aliases|}}}|,}}<!-- | |||
-->{{#arraydefine:occupation|{{{occupation|}}}|,}}<!-- | |||
-->{{#arraydefine:known_for|{{{known-for|}}}|,}}<!-- | |||
-->{{#arraydefine:notable_work|{{{notable-work|}}}|,}}<!-- | |||
-->{{#vardefine:str_stat|{{{str-stat|}}}}}<!-- | |||
-->{{#vardefine:cel_stat|{{{cel-stat|}}}}}<!-- | |||
-->{{#vardefine:end_stat|{{{end-stat|}}}}}<!-- | |||
-->{{#vardefine:com_stat|{{{com-stat|}}}}}<!-- | |||
-->{{#vardefine:int_stat|{{{int-stat|}}}}}<!-- | |||
-->{{#vardefine:per_stat|{{{per-stat|}}}}}<!-- | |||
-->{{#vardefine:luc_stat|{{{luc-stat|}}}}}<!-- | |||
</includeonly> | </includeonly> | ||
Revision as of 21:18, 9 February 2023
This template defines the table "characters". View table.