Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
m (Testing something with #setmainimage) |
(Added new game data tabling) |
||
| Line 26: | Line 26: | ||
|intelligence = Integer | |intelligence = Integer | ||
|perception = Integer | |perception = Integer | ||
|luck = Integer}}<!-- | |luck = Integer | ||
|hp = Integer | |||
|ac = Integer | |||
|init = Integer | |||
|hr = Integer | |||
|crit = Integer | |||
|md = Integer}}<!-- | |||
* HP | |||
* AC | |||
* INIT | |||
* HR | |||
* CRIT | |||
* MD | |||
--></noinclude><includeonly><!-- | --></noinclude><includeonly><!-- | ||
| Line 63: | Line 76: | ||
* Perception | * Perception | ||
* Luck | * Luck | ||
* HP | |||
* AC | |||
* INIT | |||
* HR | |||
* CRIT | |||
* MD | |||
* Statistics Table - Like the SPECIAL table but using Strength, Celerity, Endurance, Composure, Intelligence, Perception, Luck instead | * Statistics Table - Like the SPECIAL table but using Strength, Celerity, Endurance, Composure, Intelligence, Perception, Luck instead | ||
| Line 148: | Line 168: | ||
-->{{#vardefine:per_stat|{{{per-stat|}}}}}<!-- | -->{{#vardefine:per_stat|{{{per-stat|}}}}}<!-- | ||
-->{{#vardefine:luc_stat|{{{luc-stat|}}}}}<!-- | -->{{#vardefine:luc_stat|{{{luc-stat|}}}}}<!-- | ||
-->{{#vardefine:hp_stat|{{{hp|}}}}}<!-- | |||
-->{{#vardefine:ac_stat|{{{ac|}}}}}<!-- | |||
-->{{#vardefine:init_stat|{{{init|}}}}}<!-- | |||
-->{{#vardefine:hr_stat|{{{hr|}}}}}<!-- | |||
-->{{#vardefine:crit_stat|{{{crit|}}}}}<!-- | |||
-->{{#vardefine:md_stat|{{{md|}}}}}<!-- | |||
-->{{#cargo_store: | -->{{#cargo_store: | ||
| Line 174: | Line 200: | ||
|intelligence = {{#var:int_stat}} | |intelligence = {{#var:int_stat}} | ||
|perception = {{#var:per_stat}} | |perception = {{#var:per_stat}} | ||
|luck = {{#var:luc_stat}}}}<!-- | |luck = {{#var:luc_stat}} | ||
|hp = {{#var:hp_stat}} | |||
|ac = {{#var:ac_stat}} | |||
|init = {{#var:init_stat}} | |||
|hr = {{#var:hr_stat}} | |||
|crit = {{#var:crit_stat}} | |||
|md = {{#var:md_stat}}<!-- | |||
// PRINTOUT DEFINITIONS // | |||
-->{{#if:{{#var:str_stat}}||{{#vardefine:str_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:cel_stat}}||{{#vardefine:cel_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:end_stat}}||{{#vardefine:end_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:com_stat}}||{{#vardefine:com_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:int_stat}}||{{#vardefine:int_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:per_stat}}||{{#vardefine:per_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:luc_stat}}||{{#vardefine:luc_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:hp_stat}}||{{#vardefine:hp_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:ac_stat}}||{{#vardefine:ac_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:init_stat}}||{{#vardefine:init_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:hr_stat}}||{{#vardefine:hr_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:crit_stat}}||{{#vardefine:crit_stat|N/A}}}}<!-- | |||
-->{{#if:{{#var:md_stat}}||{{#vardefine:md_stat|N/A}}}}<!-- | |||
-->{{#vardefine:birthdayprint|{{#invoke:ErraCalendar|PrintDate|year={{#var:birthyear}}|month={{#var:birthmonth}}|date={{#var:birthdate}}}}}}<!-- | -->{{#vardefine:birthdayprint|{{#invoke:ErraCalendar|PrintDate|year={{#var:birthyear}}|month={{#var:birthmonth}}|date={{#var:birthdate}}}}}}<!-- | ||
| Line 209: | Line 258: | ||
<group collapse="closed"> | <group collapse="closed"> | ||
<header>Game Statistics</header> | <header>Game Statistics</header> | ||
< | <default><table style="width:100%; text-align:center;"><tr><th>STR</th><th>CEL</th><th>END</th><th>COM</th><th>INT</th><th>PER</th><th>LCK</th></tr><tr><td>{{#var:str_stat}}</td><td>{{#var:cel_stat}}</td><td>{{#var:end_stat}}</td><td>{{#var:com_stat}}</td><td>{{#var:int_stat}}</td><td>{{#var:per_stat}}</td><td>{{#var:luc_stat}}</td></tr></table></default> | ||
<data | <data><default><table style="width:100%; text-align:center;"><tr><th>HP</th><th>AC</th><th>AP</th><th>INIT</th></tr><tr><td>{{#var:hp_stat}}</td><td>{{#var:ac_stat}}</td><td>{{#var:ap_stat}}</td><td>{{#var:init_stat}}</td></tr></table></default></data> | ||
< | <data><default><table style="width:100%; text-align:center;"><tr><th>HR</th><th>CRIT</th><th>MD</th></tr><tr><td>{{#var:hr_stat}}</td><td>{{#var:crit_stat}}</td><td>{{#var:md_stat}}</td></tr></table></default></data> | ||
< | |||
<data | |||
< | |||
< | |||
</group> | </group> | ||
</infobox><!-- | </infobox><!-- | ||
| Line 232: | Line 277: | ||
* Perception | * Perception | ||
* Luck | * Luck | ||
* HP | |||
* AC | |||
* INIT | |||
* HR | |||
* CRIT | |||
* MD | |||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
{{doc}}</noinclude> | {{doc}}</noinclude> | ||
Revision as of 16:18, 21 September 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