Template:Infobox character/doc: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
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, if different from displayed name
|v4  =type       = Dateable/Townie/Pet
|v4  =type         = Human, Giant, Merfolk, etc
|v5  =birthday   = season and day
|v5  =birthday     = season and day
|v6  =gender     = chracter's gender if known
|v6  =gender       = charcter's gender if known
|v7  =occupation = job status or hobby
|v7  =occupation   = job status or hobby
|v8  =marital    = marriage status
|v8  =dateable      = yes or no, an 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)
|v22 =relative_note = note about relative (such as relationship)
|v23 =residence    = place of living
|block=1}}
|block=1}}


==Examples==
==Examples==
{{Infobox character
{{Infobox character
|image          = <gallery>
|type          = Townie
Rafael portrait.png|Portrait
|image          = Rafael portrait.png
Rafael icon.png|Icon
Rafael spring.png|Full body
</gallery>
|name          = Rafael
|name          = Rafael
|real_name      = Rafael Sanchez
|real_name      = Rafael Sanchez
Line 38: Line 47:
|residence      = Blacksmith
|residence      = Blacksmith
}}
}}
<pre>
{{Infobox character
|type          = Townie
|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
}}
</pre>
<templatedata>
{
"params": {
"name": {},
"type": {},
"residence": {},
"spouse": {},
"spouse_note": {},
"spouse_ref": {},
"father": {},
"father_note": {},
"father_ref": {},
"mother": {},
"mother_note": {},
"mother_ref": {},
"sibling2": {},
"sibling": {},
"sibling_note": {},
"sibling_ref": {},
"sibling_note2": {},
"sibling_ref2": {},
"sibling3": {},
"sibling_note3": {},
"sibling_ref3": {},
"sibling4": {},
"sibling_note4": {},
"sibling_ref4": {},
"sibling5": {},
"sibling_note5": {},
"sibling_ref5": {},
"child2": {},
"child": {},
"child_note": {},
"child_ref": {},
"child_note2": {},
"child_ref2": {},
"child3": {},
"child_note3": {},
"child_ref3": {},
"child4": {},
"child_note4": {},
"child_ref4": {},
"child5": {},
"child_note5": {},
"child_ref5": {},
"relative2": {},
"relative": {},
"relative_note": {},
"relative_ref": {},
"relative_note2": {},
"relative_ref2": {},
"relative3": {},
"relative_note3": {},
"relative_ref3": {},
"relative4": {},
"relative_note4": {},
"relative_ref4": {},
"relative5": {},
"relative_note5": {},
"relative_ref5": {},
"friendship": {},
"dateable": {},
"gender": {}
}
}
</templatedata>

Latest revision as of 09:04, 26 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, if different from displayed name
|type          = Human, Giant, Merfolk, etc
|birthday      = season and day
|gender        = charcter's gender if known
|occupation    = job status or hobby
|dateable      = yes or no, an 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
|type           = Townie
|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
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
typetype

no description

Unknownoptional
residenceresidence

no description

Unknownoptional
spousespouse

no description

Unknownoptional
spouse_notespouse_note

no description

Unknownoptional
spouse_refspouse_ref

no description

Unknownoptional
fatherfather

no description

Unknownoptional
father_notefather_note

no description

Unknownoptional
father_reffather_ref

no description

Unknownoptional
mothermother

no description

Unknownoptional
mother_notemother_note

no description

Unknownoptional
mother_refmother_ref

no description

Unknownoptional
sibling2sibling2

no description

Unknownoptional
siblingsibling

no description

Unknownoptional
sibling_notesibling_note

no description

Unknownoptional
sibling_refsibling_ref

no description

Unknownoptional
sibling_note2sibling_note2

no description

Unknownoptional
sibling_ref2sibling_ref2

no description

Unknownoptional
sibling3sibling3

no description

Unknownoptional
sibling_note3sibling_note3

no description

Unknownoptional
sibling_ref3sibling_ref3

no description

Unknownoptional
sibling4sibling4

no description

Unknownoptional
sibling_note4sibling_note4

no description

Unknownoptional
sibling_ref4sibling_ref4

no description

Unknownoptional
sibling5sibling5

no description

Unknownoptional
sibling_note5sibling_note5

no description

Unknownoptional
sibling_ref5sibling_ref5

no description

Unknownoptional
child2child2

no description

Unknownoptional
childchild

no description

Unknownoptional
child_notechild_note

no description

Unknownoptional
child_refchild_ref

no description

Unknownoptional
child_note2child_note2

no description

Unknownoptional
child_ref2child_ref2

no description

Unknownoptional
child3child3

no description

Unknownoptional
child_note3child_note3

no description

Unknownoptional
child_ref3child_ref3

no description

Unknownoptional
child4child4

no description

Unknownoptional
child_note4child_note4

no description

Unknownoptional
child_ref4child_ref4

no description

Unknownoptional
child5child5

no description

Unknownoptional
child_note5child_note5

no description

Unknownoptional
child_ref5child_ref5

no description

Unknownoptional
relative2relative2

no description

Unknownoptional
relativerelative

no description

Unknownoptional
relative_noterelative_note

no description

Unknownoptional
relative_refrelative_ref

no description

Unknownoptional
relative_note2relative_note2

no description

Unknownoptional
relative_ref2relative_ref2

no description

Unknownoptional
relative3relative3

no description

Unknownoptional
relative_note3relative_note3

no description

Unknownoptional
relative_ref3relative_ref3

no description

Unknownoptional
relative4relative4

no description

Unknownoptional
relative_note4relative_note4

no description

Unknownoptional
relative_ref4relative_ref4

no description

Unknownoptional
relative5relative5

no description

Unknownoptional
relative_note5relative_note5

no description

Unknownoptional
relative_ref5relative_ref5

no description

Unknownoptional
friendshipfriendship

no description

Unknownoptional
dateabledateable

no description

Unknownoptional
gendergender

no description

Unknownoptional