Template:Sim3: Difference between revisions

m
Protected "Template:Sim3" ([Edit=Allow only administrators and content moderators] (indefinite) [Move=Allow only administrators and content moderators] (indefinite) [Delete=Allow only administrators and content moderators] (indefinite))
sims>A morris
m (Protected "Template:Sim3" ([Edit=Allow only administrators and content moderators] (indefinite) [Move=Allow only administrators and content moderators] (indefinite) [Delete=Allow only administrators and content moderators] (indefinite)))
 
(95 intermediate revisions by 20 users not shown)
Line 1:
<noinclude>{{Metabox
<div style="width:250px;float:right;clear:right;margin:-1.5em 0 1em 1em;border:1px solid #000000;background:#FFFFFF;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
|type = notice
{{#ifeq:{{NAMESPACE}}| |[[Category:Sims]]|<!--Not in Main: namespace-->}}
|image = Icon-warning-48x48.png
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
|headline = This template is used on thousands of pages
'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''<br />
|text = To avoid large-scale disruption and unnecessary server load, consider testing your changes elsewhere, such as by copying the source code of this template and pasting it into your [[w:Help:User page|user space]], or in the [[The Sims Wiki:Sandbox|sandbox]]. Consider proposing your changes on the [[Template talk:Sim3|talk page]] before editing this template.
{{#if: {{{image<includeonly>|</includeonly>}}} |{{{image|235px}}}<br><small>{{{caption|Hi! My name is {{{name|{{PAGENAME}}}}}! }}}</small> }}</p>
}}{{Info||This template is currently being phased out in favor of {{tl|Infobox Sim3}}. Please use that template instead.}}</noinclude>{{Sim
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
'''Name''':|header = {{{name|{{PAGENAME}}}}}<br>
{{#if:|name = {{{sexname<includeonly>|{{PAGENAME}}</includeonly>}}} | '''Gender''': {{{sex}}}<br>
|image = {{{image<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:{{{sex}}} Sims]]|<!--Not in Main: namespace-->}}</includeonly>}}
|caption = {{{caption<includeonly>|</includeonly>}}}
</p>
|game = {{{game|The Sims 3}}}
----
|sex2 = {{{sex<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
{{#if:|age = {{{familyage<includeonly>|</includeonly>}}} | '''{{{family}}}''' | '''Family'''}}</p>
|state2 = {{{state|Sim}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if:|school = {{{parentsschool<includeonly>|</includeonly>}}} | '''Parents''': {{{parents}}}<br>}}
{{#if:|grade = {{{siblingsgrade<includeonly>|</includeonly>}}} | '''Siblings''': {{{siblings}}}<br>}}
{{#if:|major = {{{spousemajor<includeonly>|</includeonly>}}} | '''Spouse''': {{{spouse}}}<br>}}
|career2 = {{{career<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{
|careerlevel = {{{careerlevel<includeonly>|</includeonly>}}}
#if:{{{spouse|}}} | [[Category:Single Sims]] }}{{
|traits = {{{traits<includeonly>|</includeonly>}}}
#ifeq: {{{spouse}}}| None | [[Category:Single Sims]]}}{{
|trait1 = {{{trait1<includeonly>|</includeonly>}}}
#ifeq: {{{spouse}}}| Unknown |[[Category:Single Sims]]}}
|trait2 = {{{trait2<includeonly>|</includeonly>}}}
|<!--Not in Main: namespace-->}}
|trait3 = {{{trait3<includeonly>|</includeonly>}}}
{{#if:|trait4 = {{{childtrait4<includeonly>|</includeonly>}}} | '''Child(ren)''': {{{child}}}
|trait5 = {{{trait5<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{
|trait6 = {{{trait6<includeonly>|</includeonly>}}}
#ifeq: {{{child}}}| None | | {{#ifeq: {{{child}}}| Unknown | |[[Category:Parents]]}} }}
|<!--Nottrait7 in Main: namespace-- = {{{trait7<includeonly>}}|</includeonly>}}</p>}
|hiddentrait1 = {{{hiddentrait1<includeonly>|</includeonly>}}}
----
|hiddentrait2 = {{{hiddentrait2<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
|hiddentrait3 = {{{hiddentrait3<includeonly>|</includeonly>}}}
'''[[{{{game|The Sims 3}}}]]''' </p>
|sign2 = {{{sign<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
|wish = {{{wish<includeonly>|</includeonly>}}}
'''Age''': [[{{{age}}}]]<br>
|music = {{{music<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetStageCat|{{{age}}}}}|<!--Not in Main: namespace-->}}</includeonly>
|food = {{{food<includeonly>|</includeonly>}}}
'''Life State''': [[{{{state|Sim{{!}}Normal}}}]]<br>
|color = {{{color<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetStateCat|{{{state}}}}}|<!--Not in Main: namespace-->}}</includeonly>
{{#if:|hair2 = {{{traitshair<includeonly>|</includeonly>}}} | '''[[Trait]]s''': {{{traits}}} <br>}}
|eye2 = {{{eye<includeonly>|</includeonly>}}}
{{#if: {{{trait1<includeonly>|</includeonly>}}} | '''[[Trait]]s''': {{{trait1}}}<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetTraitCat|{{{trait1}}}}}|<!--Not in Main: namespace-->}}</includeonly>}}{{
|skin2 #if: {{{trait2<includeonly>|</includeonly>}}} |, = {{{trait2}}}skin<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetTraitCat|{{{trait2}}}}}|<!--Not in Main: namespace-->}}</includeonly>}}{{}
|body #if: {{{trait3<includeonly>|</includeonly>}}} |, = {{{trait3}}}body<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetTraitCat|{{{trait3}}}}}|<!--Not in Main: namespace-->}}</includeonly>}}{{}
|family #if: {{{trait4<includeonly>|</includeonly>}}} |,= {{{trait4}}}family<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetTraitCat|{{{trait4}}}}}|<!--Not in Main: namespace-->}}Family</includeonly>}}{{}
|parents = {{{parents<includeonly>|</includeonly>}}}
#if: {{{trait5<includeonly>|</includeonly>}}} |, {{{trait5}}}<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetTraitCat|{{{trait5}}}}}|<!--Not in Main: namespace-->}}</includeonly>}}
{{#if:|siblings = {{{trait1siblings<includeonly>|</includeonly>}}}| <br>}}
{{#if:|spouse = {{{wishspouse<includeonly>|</includeonly>}}} | '''Lifetime Wish''': {{{wish}}} <br>}}
{{#if:|maritalstatus = {{{favoritesmaritalstatus<includeonly>|</includeonly>}}} | '''Favorites''':
|child = {{{child<includeonly>|</includeonly>}}}
{{{favorites}}} }}</p>
|household = {{{household<includeonly>|Household</includeonly>}}}
----
|pets = {{{pets<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
|roommates = {{{roommates<includeonly>|</includeonly>}}}
'''Appearance'''<br /></p>
|celebritystatus = {{{celebritystatus<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if:|group1 = {{{hairgroup1<includeonly>|</includeonly>}}} | '''Hair Color''': {{{hair}}}<br>}}
|group2 = {{{group2<includeonly>|</includeonly>}}}
<includeonly>{{#if: {{{hair|}}}| {{checkmns|{{GetAppearanceCat|hair|{{{hair}}} }} }} }}</includeonly>
{{#if:|group3 = {{{eyegroup3<includeonly>|</includeonly>}}} | '''Eye Color''': {{{eye}}}<br>}}
|play = {{{play|Playable}}}
<includeonly>{{#if: {{{eye|}}}| {{checkmns|{{GetAppearanceCat|eye|{{{eye}}} }} }} }}</includeonly>
{{#if:|cod = {{{skincod<includeonly>|</includeonly>}}} | '''Skin Color''': {{{skin}}}<br>}}
|neighbor = {{{neighbor<includeonly>|</includeonly>}}}
<includeonly>{{#if: {{{skin|}}}| {{checkmns|{{GetAppearanceCat|skin|{{{skin}}} }} }} }}</includeonly>
{{#if:|fanoncomments = {{{body<includeonly>{{Checkfns|</includeonly>[[{{FULLPAGENAME}}} #WikiaArticleComments|Write '''Bodya Shape''': {{{body}Review!]]<includeonly>}}<br/includeonly>}}
}}<noinclude>{{clr}}{{Documentation}}</noinclude>
<includeonly>{{#if: {{{body|}}}| {{checkmns|{{GetAppearanceCat|body|{{{body}}} }} }} }}</includeonly></p>
----
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if: {{{play<includeonly>|</includeonly>}}} | '''Playability''': {{{play}}}<br>}}
<includeonly>{{#ifeq: {{{play}}}| Playable |{{#ifeq:{{NAMESPACE}}| |[[Category:Playable Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{play}}}| Deceased |{{#ifeq:{{NAMESPACE}}| |[[Category:Deceased Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{play}}}| Townie |{{#ifeq:{{NAMESPACE}}| |[[Category:Townie Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{play}}}| NPC |{{#ifeq:{{NAMESPACE}}| |[[Category:NPCs]]|<!--Not in Main: namespace-->}} }}
</includeonly>
{{#if: {{{neighbor<includeonly>|</includeonly>}}} | '''Neighborhood''': [[{{{neighbor}}}]]
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:{{{neighbor}}} Sims]]|<!--Not in Main: namespace-->}}</includeonly>}}</p>
----
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
'''[[{{PAGENAME}}/Player stories|Player stories]]'''
{{#if: {{{theories<includeonly>|</includeonly>}}} | <br />'''[[{{PAGENAME}}/theories|{{{theories}}}]]'''}}
</p></div><includeonly>
{{#ifeq:{{NAMESPACE}}| | {{#if:{{{image|}}}| |{{needs-headshot}} }} }}
</includeonly><noinclude>
'''''Discuss the Sim Bio templates and Sim page structure [[Forum:Additional biography information|here]].''''' <br/>
 
For Sims who appear only in ''[[The Sims 3]]''.
 
For other Sims see [[:Category:Bio templates|Bio templates]].
==Usage==
<pre>
{{Sim3
|name =
|image =
|caption =
|sex =
|age =
|traits =
|trait1 =
|trait2 =
|trait3 =
|trait4 =
|trait5 =
|wish =
|favorites =
|hair =
|eye =
|skin =
|body =
|family =
|parents =
|siblings =
|spouse =
|child =
|play =
|neighbor =
|theories =
}}
</pre>
 
==Parameters==
===Required===
*'''name''': Name of the Sim.
===Optional===
*'''image''': <nowiki>[[File:Example.jpg|width]]</nowiki> The image should be no larger than 235px wide. The width may be left out if it is smaller than that.
*'''caption''': Caption for the image.
*'''sex''': Male, female or neuter.
*'''state''': Can be Sim (default), Alien, Zombie, Vampire, Servo, Werewolf, PlantSim, or Witch. For [[Aliens#Alien-Sim hybrids|Alien-Sim hybrids]] you can use: <code>Alien#Alien-Sim hybrids<nowiki>{{!}}</nowiki>Alien-Sim hybrid</code>, for other [[Hybrids]] use: <code>Hybrids<nowiki>{{!}}</nowiki>''name of hybrid''</code>
*'''parents''': List of parents
*'''play''': Playable, NPC, Deceased, Townie. If more than one applies you will also need to add the respective category markup, i.e.: <code><nowiki>[[Category:Playable Sims]]</nowiki></code>, <code><nowiki>[[Category:NPCs]]</nowiki></code>, <code><nowiki>[[Category:Deceased Sims]]</nowiki></code>, or <code><nowiki>[[Category:Townie Sims]]</nowiki></code>)
*'''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?''
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>