Template:Infobox character/doc: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
(Updated documentation to reflect actual template)
Line 4: Line 4:
==Syntax==
==Syntax==
{{T|Infobox character
{{T|Infobox character
|v1  =image     = filename or gallery
|v1  =image         = filename or gallery
|v2  =bio        = short biography of the character
|v2  =name          = name of the character
|v3  =name      = name of the character
|v3  =real_name    = full name of character
|v4  =type       = Dateable/Townie/Pet
|v4  =species       = Human, Giant, Merfolk, etc
|v5  =birthday   = season and day
|v5  =birthday     = season and day
|v6  =gender     = chracter's gender if known
|v6  =gender       = chracter's gender if known
|v7  =occupation = job status or hobby
|v7  =occupation   = job status or hobby
|v8  =marital    = marriage status
|v8  =dateable      = can be dated by player
|v9  =family    = family members or relatives
|v9  =spouse        = name of spouse, if married
|v10 =residency = place of living
|v10 =spouse_note  = additional note about spouse
|v11 =hobbies    = favorite activities
|v11 =father        = name of father, if known
|v12 =father_note  = additional note about father
|v13 =mother        = name of mother, if known
|v14 =mother_note  = additional note about mother
|v15 =child        = name of child, if any
|v16 =child_note    = note about child
|v17 =child2        = name of second child, if any (up to 4 children)
|v18 =child_note2  = note about second child
|v19 =sibling      = name of sibling, if any (up to 4 siblings)
|v20 =sibling_note = note about sibling
|v21 =relative      = name of relative, if any/known (up to 5 relatives)
|v21 =relative_note = note about relative (such as relationship)
|v22 =residence    = place of living
|block=1}}
|block=1}}



Revision as of 21:56, 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_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
}}