Template:Sim/doc: Difference between revisions

1,396 bytes added ,  5 years ago
m
31 revisions imported: Import from https://sims.wikia.com
sims>A morris
(economicstatus)
m (31 revisions imported: Import from https://sims.wikia.com)
 
(23 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 in the forums:at [[Forum:AdditionalThe biographySims information]]Wiki andtalk:Project [[Forum:SimSims/Manual Pageof Standardizationstyle]].
 
;Testing: Use <code>{{T|Sim/test}}</code> for testing changes andbefore then copy them toediting <code>{{T|Sim}}</code>.
#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>}}}
|economicstatussocial = {{{economicstatussocial<includeonly>|</includeonly>}}}
|traits = {{{traits<includeonly>|</includeonly>}}}
|trait1 = {{{trait1<includeonly>|</includeonly>}}}
Line 25 ⟶ 29:
|wish = {{{wish<includeonly>|</includeonly>}}}
|favorites = {{{favorites<includeonly>|</includeonly>}}}
|music = {{{music<includeonly>|</includeonly>}}}
|food = {{{food<includeonly>|</includeonly>}}}
|color = {{{color<includeonly>|</includeonly>}}}
|rep = {{{rep<includeonly>|</includeonly>}}}
|major = {{{major<includeonly>|</includeonly>}}}
Line 36 ⟶ 43:
|siblings = {{{siblings<includeonly>|</includeonly>}}}
|spouse = {{{spouse<includeonly>|</includeonly>}}}
|maritalstatus = {{{maritalstatus <includeonly>|</includeonly>}}}
|economicstatus = {{{economicstatus<includeonly>|</includeonly>}}}
|child = {{{child<includeonly>|</includeonly>}}}
|household = {{{household<includeonly>|</includeonly>}}}
|roommates = {{{roommates<includeonly>|</includeonly>}}}
|pets = {{{pets<includeonly>|</includeonly>}}}
|play = {{{play<includeonly>|</includeonly>}}}
|neighbor = {{{neighbor<includeonly>|</includeonly>}}}
Line 46 ⟶ 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 of the article for a game title (required)
:'''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 63 ⟶ 84:
:'''skin''': Skin color
:'''body''': Body shape
:'''household''': Used as a header if blank, else linked to the Sim's household's page
:'''play''': The ability to play the character from game start. Playable, NPC, Deceased, Townie.
:'''roommates''': List of links to roommates
:'''neighbor''': The neighborhood they exist(ed) in, [[Family bin]] or [[Lots and Houses bin]]
:'''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, [[Family bin]] or [[Lots and Houses bin]]
: '''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 71 ⟶ 96:
:'''sign''': The Sim's sign
:'''asp''': The Sim's aspiration
:'''traits''' or '''trait1''' ... '''trait5social''': The Sim's traitssocial class
:'''group''': The Sim's social group
:'''trait1''' ... '''trait7''': The Sim's traits. trait1 ... trait7 is preferred.
:'''flaw''': The Sim's fatal flaw.
:'''wish''': The Sim's lifetime wish
:'''favorites''' or '''music''', '''food''' and '''color''': List of the Sim's favorites. music, food color is preferred.
:'''rep''': Rep group designation for Urbz
:'''economicstatus''' The economic status of the Sim
:'''household''': Used as a header if blank, else linked to the Sim's household's page
:'''roommates''': List of links to roommates
:'''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>