Template:Infobox character/doc: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(Updated documentation to reflect actual template)
m (Fixed typo with relative tag)
Line 25: Line 25:
|v20 =sibling_note  = note about sibling
|v20 =sibling_note  = note about sibling
|v21 =relative      = name of relative, if any/known (up to 5 relatives)
|v21 =relative      = name of relative, if any/known (up to 5 relatives)
|v21 =relative_note = note about relative (such as relationship)
|v22 =relative_note = note about relative (such as relationship)
|v22 =residence    = place of living
|v23 =residence    = place of living
|block=1}}
|block=1}}



Revision as of 21:58, 12 January 2024

This is the documentation page for Infobox character.
It contains usage information, categories, and other content not part of the original template page.

Adds an infobox for characters.

Syntax

{{Infobox character
|image         = filename or gallery
|name          = name of the character
|real_name     = full name of character
|species       = Human, Giant, Merfolk, etc
|birthday      = season and day
|gender        = chracter's gender if known
|occupation    = job status or hobby
|dateable      = can be dated by player
|spouse        = name of spouse, if married
|spouse_note   = additional note about spouse
|father        = name of father, if known
|father_note   = additional note about father
|mother        = name of mother, if known
|mother_note   = additional note about mother
|child         = name of child, if any
|child_note    = note about child
|child2        = name of second child, if any (up to 4 children)
|child_note2   = note about second child
|sibling       = name of sibling, if any (up to 4 siblings)
|sibling_note  = note about sibling
|relative      = name of relative, if any/known (up to 5 relatives)
|relative_note = note about relative (such as relationship)
|residence     = place of living
}}

Examples

{{Infobox character
|image          = Rafael portrait.png
|name           = Rafael
|real_name      = Rafael Sanchez
|birthday       = [[Fall]] 4
|gender         = Male
|occupation     = Blacksmith
|dateable       = Yes
|sibling        = Pablo
|sibling_note   = older brother
|relative       = Antonio
|relative_note  = cousin
|relative2      = Valentina
|relative_note2 = niece
|residence      = Blacksmith
}}