Template:Infobox Sim4/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>AireDaleDogz
(Typo fix.)
(Update TemplateData for the degree parameter)
 
(4 intermediate revisions by 3 users not shown)
Line 44: Line 44:
<includeonly>[[Category:Metainfobox templates|Sim2]][[Category:Bio templates|{{PAGENAME}}]]</includeonly>
<includeonly>[[Category:Metainfobox templates|Sim2]][[Category:Bio templates|{{PAGENAME}}]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

==TemplateData==
{{TemplateData header}}
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "The full name of the Sim",
"example": "Bella Goth",
"type": "string"
},
"image": {
"label": "Image",
"description": "An image, usually the headshot, of the Sim. Requires full wiki markup.",
"example": "[[File:Bella Goth.png|250px]]",
"type": "content"
},
"caption": {
"label": "Biography",
"description": "The biography of the Sim.",
"type": "string"
},
"game": {
"label": "Game",
"description": "The full name of the expansion pack the Sim came in. Leave blank or just use \"The Sims 4\" if they came in the base game.",
"example": "The Sims 4: Cats & Dogs",
"type": "string",
"default": "The Sims 4"
},
"sex": {
"label": "Gender",
"description": "The gender of the Sim. Recognized inputs are: 'Male', 'Female', and 'Ambiguous'.",
"type": "string"
},
"age": {
"label": "Age",
"description": "The life stage the Sim is in. Recognized inputs are: 'Unborn', 'Baby', 'Toddler', 'Child', 'Teen', 'Young Adult', 'Adult', 'Elder', and 'Ambiguous'.",
"type": "string"
},
"state": {
"label": "Life State",
"description": "The life state of the Sim, like Ghost or Zombie. Leave blank or just use 'Sim' if they're a normal Sim.",
"example": "Ghost",
"default": "Sim"
},
"cod": {
"label": "Cause of Death",
"description": "What the Sim died from, if applicable. Leave blank if they are not dead.",
"type": "string",
"example": "Fire, Drowning"
},
"grade": {
"label": "School Grade",
"description": "The school grade of the Sim.",
"example": "A+",
"type": "string"
},
"career": {
"label": "Career",
"description": "The career track the Sim is in. Use 'Unemployed' if the Sim does not have a job.",
"example": "Politician",
"type": "string"
},
"careerlevel": {
"label": "Career Level",
"description": "The career level the Sim is currently at.",
"example": "Civil Servant",
"type": "string"
},
"hair": {
"label": "Hair Color",
"description": "The color of the Sim's hair.",
"example": "Brown",
"type": "string"
},
"skin": {
"label": "Skin Color",
"description": "The color of the Sim's skin.",
"example": "Light",
"type": "string"
},
"body": {
"label": "Body Shape",
"description": "The body shape of the Sim. Recognized inputs are: 'Thin', 'Fit', 'Fat', 'Muscular', 'Skinny', and 'Average'.",
"example": "Thin",
"type": "string"
},
"family": {
"label": "Family",
"description": "The name of the family the Sim currently belongs to. Wikilink if applicable.",
"example": "[[Goth family]]",
"type": "string"
},
"parents": {
"label": "Parents",
"description": "List the names of any parents here. Wikilink if applicable. If one parent is dead, use {{Relative|[[<name of parent>]]|Deceased}}; if both are deceased, use {{Relative|[[<name of parent 1>]], [[<name of parent 2>]]|Both Deceased}}",
"example": "[[Mortimer Goth]], [[Bella Goth]]",
"type": "string"
},
"siblings": {
"label": "Siblings",
"description": "List the names of any siblings here. Wikilink if applicable. Use {{Relative|[[<name of Sim]]>|Brother}} or {{Relative|[[<name of Sim]]>|Sister}}, as needed. Replace 'Brother/Sister' with 'Half-brother/sister', 'Twin brother/sister', 'Fraternal Twin', 'Adopted brother/sister', or 'Step-brother/sister' as needed.",
"example": "{{Relative|[[Alexander Goth]]|Younger Brother}}",
"type": "string"
},
"spouse": {
"label": "Romances",
"description": "List the names of any romances or spouses here. Use {{Spouse|[[<name of Sim>]]|Married}} if the two are married. Replace 'Married' with 'Deceased', 'Divorced', 'Engaged', 'Crush', 'Dating', 'Lover', 'Ex-girlfriend/Ex-boyfriend' as needed.",
"example": "{{Spouse|[[Don Lothario]]|Engaged}}",
"type": "string"
},
"maritalstatus": {
"label": "Marital Status",
"description": "The marital status of the Sim. Use 'Single' if they are not currently in a relationship. Leave blank for children.",
"example": "Married, Fiancé, Divorced",
"type": "string"
},
"child": {
"label": "Children",
"description": "List the names of any children here. Wikilink if applicable. Use {{Relative|[[<name of Sim]]>|Son}} or {{Relative|[[<name of Sim]]>|Daughter}}, as needed. Replace 'Son' or 'Daughter' with 'Adopted son/daughter' or 'Step-son/daughter' as needed.",
"example": "{{Relative|[[Johnny Smith]]|Son}}, {{Relative|[[Jill Smith]]|Daughter}}",
"type": "string"
},
"household": {
"label": "Household",
"description": "The name of the household the Sim is currently living in.",
"type": "string"
},
"roommates": {
"label": "Roommates",
"description": "List any roommates the Sim is living with. Roommates are defined as Sims who are not genetically related to the Sim but are living in the same household.",
"type": "string"
},
"pets": {
"label": "Pets",
"description": "List the names of any pets the Sim has. Wikilink if applicable.",
"example": "[[Rosie]]",
"type": "string"
},
"play": {
"label": "Playability",
"description": "The playability of the Sim. Use 'Playable' if they can be played normally, 'Deceased' if they are dead, 'Townie' if they are homeless, or 'Gallery' if they can only be found in The Gallery.",
"example": "Playable",
"type": "string"
},
"neighbor": {
"label": "World",
"description": "The name of the world the Sim lives in.",
"example": "Oasis Springs",
"type": "string"
},
"school": {
"label": "School",
"description": "The type of school the Sim currently attends. Choose between 'Elementary school' and 'High school'.",
"example": "Elementary school",
"type": "string"
},
"eye": {
"label": "Eye Color",
"description": "The color of the Sim's eyes.",
"example": "Blue",
"type": "string"
},
"trait1": {
"label": "Trait #1",
"description": "The first trait the Sim has.",
"example": "Active",
"type": "string"
},
"trait2": {
"label": "Trait #2",
"description": "The second trait the Sim has.",
"example": "Art Lover",
"type": "string"
},
"trait3": {
"label": "Trait #3",
"description": "The third trait the Sim has.",
"example": "Kleptomaniac",
"type": "string"
},
"trait4": {
"label": "Trait #4",
"description": "The fourth trait the Sim has. Usually the aspiration bonus trait.",
"example": "Domestic",
"type": "string"
},
"trait5": {
"label": "Trait #5",
"description": "The fifth trait of the Sim. Usually a reward trait of some kind.",
"example": "Long Lived",
"type": "string"
},
"hiddentrait1": {
"label": "Hidden Trait #1",
"description": "The first hidden trait of the Sim, if any.",
"example": "Alien",
"type": "string"
},
"hiddentrait2": {
"label": "Hidden Trait #2",
"description": "The second hidden trait of the Sim, if any.",
"example": "Left-Handed",
"type": "string"
},
"hiddentrait3": {
"label": "Hidden Trait #3",
"description": "The third hidden trait of the Sim, if any.",
"example": "Expert Repair",
"type": "string"
},
"celebritystatus": {
"label": "Celebrity Status",
"description": "The number of celebrity stars the Sim has. Specify this in numerals.",
"example": "1, 3, 5",
"type": "number"
},
"asp": {
"label": "Aspiration",
"description": "The aspiration of the Sim.",
"example": "Bestselling Author",
"type": "string"
},
"club1": {
"label": "Club #1",
"description": "The first social club that the Sim is in. If the Sim is in multiple, use \"Club #2\" and \"Club #3\".",
"type": "string"
},
"club2": {
"label": "Club #2",
"description": "The second social club the Sim is in.",
"type": "string"
},
"club3": {
"label": "Club #3",
"description": "The third social club the Sim is in.",
"type": "string"
},
"reputation": {
"label": "Reputation",
"description": "The reputation level of the Sim.",
"example": "Neutral",
"type": "string"
},
"degree": {
"label": "Degree",
"description": "The degree that the current Sim holds. Available degrees are: Art History, Biology, Communications, Computer Science, Culinary Arts, Drama, Economics, Fine Art, History, Language and Literature, Physics, Psychology, and Villainy.",
"example": "Physics"
}
},
"description": "Infobox for Sims from The Sims 4.",
"format": "{{_\n|_______________ = _\n}}\n",
"paramOrder": [
"name",
"image",
"caption",
"game",
"sex",
"age",
"state",
"cod",
"school",
"grade",
"degree",
"career",
"careerlevel",
"hair",
"eye",
"skin",
"body",
"family",
"parents",
"siblings",
"spouse",
"maritalstatus",
"child",
"household",
"roommates",
"pets",
"play",
"neighbor",
"trait1",
"trait2",
"trait3",
"trait4",
"trait5",
"hiddentrait1",
"hiddentrait2",
"hiddentrait3",
"celebritystatus",
"asp",
"club1",
"club2",
"club3",
"reputation"
]
}
</templatedata>

Latest revision as of 16:06, 27 December 2019

Description
For Sims who appear in The Sims 4.
Additional documentation
Syntax
Copy and paste the information below into a Sim's page. Other parameters include state, cod, trait5, maritalstatus, household, roommates, pets, celebritystatus and reputation.
{{Infobox Sim4
|name        = 
|image       = 
|sex         = 
|game        = 
|age         = 
|career      = 
|careerlevel = 
|trait1      = 
|trait2      = 
|trait3      = 
|trait4      = 
|asp         = 
|hair        = 
|eye         = 
|skin        = 
|body        = 
|family      = 
|parents     = 
|siblings    = 
|spouse      = 
|child       = 
|club1       = 
|club2       = 
|club3       = 
|play        = 
|neighbor    = 
}}{{DEFAULTSORT:last name, first name}}
Related templates

TemplateData[edit source]

This is the TemplateData documentation for this template used by the VisualEditor and other tools.

TemplateData for Infobox Sim4

Infobox for Sims from The Sims 4.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The full name of the Sim

Example
Bella Goth
Stringoptional
Imageimage

An image, usually the headshot, of the Sim. Requires full wiki markup.

Example
[[File:Bella Goth.png|250px]]
Contentoptional
Biographycaption

The biography of the Sim.

Stringoptional
Gamegame

The full name of the expansion pack the Sim came in. Leave blank or just use "The Sims 4" if they came in the base game.

Default
The Sims 4
Example
The Sims 4: Cats & Dogs
Stringoptional
Gendersex

The gender of the Sim. Recognized inputs are: 'Male', 'Female', and 'Ambiguous'.

Stringoptional
Ageage

The life stage the Sim is in. Recognized inputs are: 'Unborn', 'Baby', 'Toddler', 'Child', 'Teen', 'Young Adult', 'Adult', 'Elder', and 'Ambiguous'.

Stringoptional
Life Statestate

The life state of the Sim, like Ghost or Zombie. Leave blank or just use 'Sim' if they're a normal Sim.

Default
Sim
Example
Ghost
Unknownoptional
Cause of Deathcod

What the Sim died from, if applicable. Leave blank if they are not dead.

Example
Fire, Drowning
Stringoptional
Schoolschool

The type of school the Sim currently attends. Choose between 'Elementary school' and 'High school'.

Example
Elementary school
Stringoptional
School Gradegrade

The school grade of the Sim.

Example
A+
Stringoptional
Degreedegree

The degree that the current Sim holds. Available degrees are: Art History, Biology, Communications, Computer Science, Culinary Arts, Drama, Economics, Fine Art, History, Language and Literature, Physics, Psychology, and Villainy.

Example
Physics
Unknownoptional
Careercareer

The career track the Sim is in. Use 'Unemployed' if the Sim does not have a job.

Example
Politician
Stringoptional
Career Levelcareerlevel

The career level the Sim is currently at.

Example
Civil Servant
Stringoptional
Hair Colorhair

The color of the Sim's hair.

Example
Brown
Stringoptional
Eye Coloreye

The color of the Sim's eyes.

Example
Blue
Stringoptional
Skin Colorskin

The color of the Sim's skin.

Example
Light
Stringoptional
Body Shapebody

The body shape of the Sim. Recognized inputs are: 'Thin', 'Fit', 'Fat', 'Muscular', 'Skinny', and 'Average'.

Example
Thin
Stringoptional
Familyfamily

The name of the family the Sim currently belongs to. Wikilink if applicable.

Example
[[Goth family]]
Stringoptional
Parentsparents

List the names of any parents here. Wikilink if applicable. If one parent is dead, use {{Relative|[[<name of parent>]]|Deceased}}; if both are deceased, use {{Relative|[[<name of parent 1>]], [[<name of parent 2>]]|Both Deceased}}

Example
[[Mortimer Goth]], [[Bella Goth]]
Stringoptional
Siblingssiblings

List the names of any siblings here. Wikilink if applicable. Use {{Relative|[[<name of Sim]]>|Brother}} or {{Relative|[[<name of Sim]]>|Sister}}, as needed. Replace 'Brother/Sister' with 'Half-brother/sister', 'Twin brother/sister', 'Fraternal Twin', 'Adopted brother/sister', or 'Step-brother/sister' as needed.

Example
{{Relative|[[Alexander Goth]]|Younger Brother}}
Stringoptional
Romancesspouse

List the names of any romances or spouses here. Use {{Spouse|[[<name of Sim>]]|Married}} if the two are married. Replace 'Married' with 'Deceased', 'Divorced', 'Engaged', 'Crush', 'Dating', 'Lover', 'Ex-girlfriend/Ex-boyfriend' as needed.

Example
{{Spouse|[[Don Lothario]]|Engaged}}
Stringoptional
Marital Statusmaritalstatus

The marital status of the Sim. Use 'Single' if they are not currently in a relationship. Leave blank for children.

Example
Married, Fiancé, Divorced
Stringoptional
Childrenchild

List the names of any children here. Wikilink if applicable. Use {{Relative|[[<name of Sim]]>|Son}} or {{Relative|[[<name of Sim]]>|Daughter}}, as needed. Replace 'Son' or 'Daughter' with 'Adopted son/daughter' or 'Step-son/daughter' as needed.

Example
{{Relative|[[Johnny Smith]]|Son}}, {{Relative|[[Jill Smith]]|Daughter}}
Stringoptional
Householdhousehold

The name of the household the Sim is currently living in.

Stringoptional
Roommatesroommates

List any roommates the Sim is living with. Roommates are defined as Sims who are not genetically related to the Sim but are living in the same household.

Stringoptional
Petspets

List the names of any pets the Sim has. Wikilink if applicable.

Example
[[Rosie]]
Stringoptional
Playabilityplay

The playability of the Sim. Use 'Playable' if they can be played normally, 'Deceased' if they are dead, 'Townie' if they are homeless, or 'Gallery' if they can only be found in The Gallery.

Example
Playable
Stringoptional
Worldneighbor

The name of the world the Sim lives in.

Example
Oasis Springs
Stringoptional
Trait #1trait1

The first trait the Sim has.

Example
Active
Stringoptional
Trait #2trait2

The second trait the Sim has.

Example
Art Lover
Stringoptional
Trait #3trait3

The third trait the Sim has.

Example
Kleptomaniac
Stringoptional
Trait #4trait4

The fourth trait the Sim has. Usually the aspiration bonus trait.

Example
Domestic
Stringoptional
Trait #5trait5

The fifth trait of the Sim. Usually a reward trait of some kind.

Example
Long Lived
Stringoptional
Hidden Trait #1hiddentrait1

The first hidden trait of the Sim, if any.

Example
Alien
Stringoptional
Hidden Trait #2hiddentrait2

The second hidden trait of the Sim, if any.

Example
Left-Handed
Stringoptional
Hidden Trait #3hiddentrait3

The third hidden trait of the Sim, if any.

Example
Expert Repair
Stringoptional
Celebrity Statuscelebritystatus

The number of celebrity stars the Sim has. Specify this in numerals.

Example
1, 3, 5
Numberoptional
Aspirationasp

The aspiration of the Sim.

Example
Bestselling Author
Stringoptional
Club #1club1

The first social club that the Sim is in. If the Sim is in multiple, use "Club #2" and "Club #3".

Stringoptional
Club #2club2

The second social club the Sim is in.

Stringoptional
Club #3club3

The third social club the Sim is in.

Stringoptional
Reputationreputation

The reputation level of the Sim.

Example
Neutral
Stringoptional