Template:Infobox character: Difference between revisions
Salty Nori (talk | contribs) (add links) |
Salty Nori (talk | contribs) (fix links) |
||
Line 35: | Line 35: | ||
<format><!-- | <format><!-- | ||
-->[[{{{sibling}}}]]{{#if:{{{sibling_note|}}}|<nowiki> </nowiki>({{{sibling_note}}})}}<!-- | -->[[{{{sibling}}}]]{{#if:{{{sibling_note|}}}|<nowiki> </nowiki>({{{sibling_note}}})}}<!-- | ||
-->{{#if: | -->{{#if:{{{sibling2|}}}|<br />[[{{{sibling2}}}]]{{#if:{{{sibling_note2|}}}|<nowiki> </nowiki>({{{sibling_note2}}})}}}}<!-- | ||
-->{{#if: | -->{{#if:{{{sibling3|}}}|<br />[[{{{sibling3}}}]]{{#if:{{{sibling_note3|}}}|<nowiki> </nowiki>({{{sibling_note3}}})}}}}<!-- | ||
-->{{#if: | -->{{#if:{{{sibling4|}}}|<br />[[{{{sibling4}}}]]{{#if:{{{sibling_note4|}}}|<nowiki> </nowiki>({{{sibling_note4}}})}}}}<!-- | ||
--></format> | --></format> | ||
</data> | </data> | ||
Line 44: | Line 44: | ||
<format><!-- | <format><!-- | ||
-->[[{{{child}}}]]{{#if:{{{child_note|}}}|<nowiki> </nowiki>({{{child_note}}})}}<!-- | -->[[{{{child}}}]]{{#if:{{{child_note|}}}|<nowiki> </nowiki>({{{child_note}}})}}<!-- | ||
--> | -->{{#if:{{{child2|}}}|<br />[[{{{child2}}}]]{{#if:{{{child_note2|}}}|<nowiki> </nowiki>({{{child_note2}}})}}}}<!-- | ||
--> | -->{{#if:{{{child3|}}}|<br />[[{{{child3}}}]]{{#if:{{{child_note3|}}}|<nowiki> </nowiki>({{{child_note3}}})}}}}<!-- | ||
--> | -->{{#if:{{{child4|}}}|<br />[[{{{child4}}}]]{{#if:{{{child_note4|}}}|<nowiki> </nowiki>({{{child_note4}}})}}}}<!-- | ||
--></format> | --></format> | ||
</data> | </data> | ||
Line 53: | Line 53: | ||
<format><!-- | <format><!-- | ||
-->[[{{{relative}}}]]{{#if:{{{relative_note|}}}|<nowiki> </nowiki>({{{relative_note}}})}}<!-- | -->[[{{{relative}}}]]{{#if:{{{relative_note|}}}|<nowiki> </nowiki>({{{relative_note}}})}}<!-- | ||
-->{{#if: | -->{{#if:{{{relative2|}}}|<br />[[{{{relative2}}}]]{{#if:{{{relative_note2|}}}|<nowiki> </nowiki>({{{relative_note2}}})}}}}<!-- | ||
-->{{#if: | -->{{#if:{{{relative3|}}}|<br />[[{{{relative3}}}]]{{#if:{{{relative_note3|}}}|<nowiki> </nowiki>({{{relative_note3}}})}}}}<!-- | ||
-->{{#if: | -->{{#if:{{{relative4|}}}|<br />[[{{{relative4}}}]]{{#if:{{{relative_note4|}}}|<nowiki> </nowiki>({{{relative_note4}}})}}}}<!-- | ||
-->{{#if: | -->{{#if:{{{relative5|}}}|<br />[[{{{relative5}}}]]{{#if:{{{relative_note5|}}}|<nowiki> </nowiki>({{{relative_note5}}})}}}}<!-- | ||
--></format> | --></format> | ||
</data> | </data> | ||
Line 70: | Line 70: | ||
-->{{#if:{{{species|}}}|[[Category:{{lc:{{{species|}}}}}]]|[[Category:Human]]}}<!-- | -->{{#if:{{{species|}}}|[[Category:{{lc:{{{species|}}}}}]]|[[Category:Human]]}}<!-- | ||
-->}} | -->}} | ||
</includeonly><noinclude>{{Documentation|type=Infobox}} | </includeonly><noinclude>{{Documentation|type=Infobox}}noinclude> |
Revision as of 18:39, 30 December 2023
Note: parts of or the entire template might not be visible without values provided.
Main | Documentation | Sandbox | Usage |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | optional |
type | type | no description | Unknown | optional |
residence | residence | no description | Unknown | optional |
spouse | spouse | no description | Unknown | optional |
spouse_note | spouse_note | no description | Unknown | optional |
spouse_ref | spouse_ref | no description | Unknown | optional |
father | father | no description | Unknown | optional |
father_note | father_note | no description | Unknown | optional |
father_ref | father_ref | no description | Unknown | optional |
mother | mother | no description | Unknown | optional |
mother_note | mother_note | no description | Unknown | optional |
mother_ref | mother_ref | no description | Unknown | optional |
sibling2 | sibling2 | no description | Unknown | optional |
sibling | sibling | no description | Unknown | optional |
sibling_note | sibling_note | no description | Unknown | optional |
sibling_ref | sibling_ref | no description | Unknown | optional |
sibling_note2 | sibling_note2 | no description | Unknown | optional |
sibling_ref2 | sibling_ref2 | no description | Unknown | optional |
sibling3 | sibling3 | no description | Unknown | optional |
sibling_note3 | sibling_note3 | no description | Unknown | optional |
sibling_ref3 | sibling_ref3 | no description | Unknown | optional |
sibling4 | sibling4 | no description | Unknown | optional |
sibling_note4 | sibling_note4 | no description | Unknown | optional |
sibling_ref4 | sibling_ref4 | no description | Unknown | optional |
sibling5 | sibling5 | no description | Unknown | optional |
sibling_note5 | sibling_note5 | no description | Unknown | optional |
sibling_ref5 | sibling_ref5 | no description | Unknown | optional |
child2 | child2 | no description | Unknown | optional |
child | child | no description | Unknown | optional |
child_note | child_note | no description | Unknown | optional |
child_ref | child_ref | no description | Unknown | optional |
child_note2 | child_note2 | no description | Unknown | optional |
child_ref2 | child_ref2 | no description | Unknown | optional |
child3 | child3 | no description | Unknown | optional |
child_note3 | child_note3 | no description | Unknown | optional |
child_ref3 | child_ref3 | no description | Unknown | optional |
child4 | child4 | no description | Unknown | optional |
child_note4 | child_note4 | no description | Unknown | optional |
child_ref4 | child_ref4 | no description | Unknown | optional |
child5 | child5 | no description | Unknown | optional |
child_note5 | child_note5 | no description | Unknown | optional |
child_ref5 | child_ref5 | no description | Unknown | optional |
relative2 | relative2 | no description | Unknown | optional |
relative | relative | no description | Unknown | optional |
relative_note | relative_note | no description | Unknown | optional |
relative_ref | relative_ref | no description | Unknown | optional |
relative_note2 | relative_note2 | no description | Unknown | optional |
relative_ref2 | relative_ref2 | no description | Unknown | optional |
relative3 | relative3 | no description | Unknown | optional |
relative_note3 | relative_note3 | no description | Unknown | optional |
relative_ref3 | relative_ref3 | no description | Unknown | optional |
relative4 | relative4 | no description | Unknown | optional |
relative_note4 | relative_note4 | no description | Unknown | optional |
relative_ref4 | relative_ref4 | no description | Unknown | optional |
relative5 | relative5 | no description | Unknown | optional |
relative_note5 | relative_note5 | no description | Unknown | optional |
relative_ref5 | relative_ref5 | no description | Unknown | optional |
friendship | friendship | no description | Unknown | optional |
dateable | dateable | no description | Unknown | optional |
gender | gender | no description | Unknown | optional |
noinclude>