3,309
edits
sims>A morris (adding parameters music, food & color) |
m (31 revisions imported: Import from https://sims.wikia.com) |
||
(21 intermediate revisions by 5 users not shown) | |||
Line 1:
;Description: The Master Sim infobox template, to be used for the creation of all other single game Sim infobox templates. This is meant to be used by templates; do not use this for individual Sim pages.
;Discussion: Discuss the Sim bio templates and Sim page structure
;Testing: Use <code>{{T|Sim/test}}</code> for testing changes
#Make the changes to <code>{{T|Sim/test}}</code>, add any new parameters to <code>{{T|Sim1/test}}</code>, <code>{{T|Sim2/test}}</code> or <code>{{T|Sim3/test}}</code>
#Preview the changes on an article page by changing the template to <code><nowiki>{{SimX/test|...}}</nowiki></code>.
#If the code works, copy the test template(s) to the original(s) (use "Show changes" to make sure they are in sync) and update the documentation. If the code does not work return to step one or undo the changes to the test template(s).
;Syntax: Only use the [[#Parameters|parameters]] needed for that specific template and add any default values, ex. if it is for ''The Sims 2'', give '''game''' the value of <code><nowiki>{{{game|The Sims 2}}}</nowiki></code>
<pre>{{Sim
|name = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
Line 17 ⟶ 20:
|state = {{{state|Sim{{!}}Normal}}}
|cod = {{{cod<includeonly>|</includeonly>}}}
|traits = {{{traits<includeonly>|</includeonly>}}}
|trait1 = {{{trait1<includeonly>|</includeonly>}}}
Line 39 ⟶ 43:
|siblings = {{{siblings<includeonly>|</includeonly>}}}
|spouse = {{{spouse<includeonly>|</includeonly>}}}
|maritalstatus = {{{maritalstatus
▲|economicstatus = {{{economicstatus<includeonly>|</includeonly>}}}
|child = {{{child<includeonly>|</includeonly>}}}
|household = {{{household<includeonly>|</includeonly>}}}
Line 50 ⟶ 53:
}}
</pre>
; Templates that use this template
# [[Template:Sim1]]
# [[Template:Sim2]]
# [[Template:Unisim]]
# [[Template:Sim3]]
# [[Template:Urb]]
# [[Template:Medsim]]
# [[Template:Sim4]]
# [[Template:Newpage Sim1]]
# [[Template:Newpage Sim2]]
# [[Template:Newpage Unisim]]
# [[Template:Newpage Sim3]]
==Parameters==
;Common parameters
:'''game''': The
:'''name''': The name of the Sim, used if it is different than the page name (optional)
:'''image''': An image of the Sim.
:'''caption''': A custom caption for the image (optional)
:'''sex''': The sex of the Sim.
:'''family''': Used as a header if blank, else linked to the Sim's family's page
Line 70 ⟶ 87:
:'''roommates''': List of links to roommates
:'''pets''': List of pets the Sim owns
:'''play''': The ability to play the character from game start. Playable, [[Family bin]] or [[Lots and Houses bin]], NPC, Deceased, Townie, Promotional, Downloadable.
:'''neighbor''': The neighborhood they exist(ed) in
: '''theories''' - The display name of a special subpage. Ex. ''What happened to Bella Goth?'', ''Who is Mrs. Crumplebottom?''
;Game specific
:'''state''': The life state of a Sim if it is other than normal
Line 78 ⟶ 96:
:'''sign''': The Sim's sign
:'''asp''': The Sim's aspiration
:'''
:'''trait1''' ... '''trait7''': The Sim's traits. trait1 ... trait7 is preferred.
:'''wish''': The Sim's lifetime wish
:'''favorites''' or '''music''', '''food''' and '''color''': List of the Sim's favorites. music, food color is preferred.
▲:'''music''': The Sim's favorite music
▲:'''food''': The Sim's favorite food
:'''rep''': Rep group designation for Urbz
:'''major''': The major of a Sim in college
:'''year''': The year of study of a Sim in college
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]] [[Category:Meta-templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
|