Template:Sim1: Difference between revisions

m
Protected "Template:Sim1" ([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>Random Ranaun
No edit summary
m (Protected "Template:Sim1" ([Edit=Allow only administrators and content moderators] (indefinite) [Move=Allow only administrators and content moderators] (indefinite) [Delete=Allow only administrators and content moderators] (indefinite)))
 
(40 intermediate revisions by 9 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
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
|image = Icon-warning-48x48.png
'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''<br />
|headline = This template is used on hundreds of pages
{{#if: {{{image<includeonly>|</includeonly>}}} |{{{image|235px}}}<br><small>{{{caption|Hi! My name is {{{name|{{PAGENAME}}}}}! }}}</small> }}</p>
|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:Sim1|talk page]] before editing this template.
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
}}{{Info||This template is currently being phased out in favor of {{tl|Infobox Sim1}}. Please use that template instead.}}</noinclude>{{Sim
'''Name''': {{{name}}}<br>
|header = {{{name|{{PAGENAME}}}}}
{{#if: {{{sex<includeonly>|</includeonly>}}} | '''Gender''': {{{sex}}}<br>
|name = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:{{{sex}}} Sims]]|<!--Not in Main: namespace-->}}</includeonly>}}
|image = {{{image<includeonly>|</includeonly>}}}
</p>
|caption = {{{caption<includeonly>|</includeonly>}}}
----
|game = {{{game|The Sims}}}
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
{{#if:|sex = {{{familysex<includeonly>|</includeonly>}}} | '''{{{family}}}''' | '''Family'''}}</p>
|age = {{{age<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if:|sign = {{{parentssign<includeonly>|</includeonly>}}} | '''Parents''': {{{parents}}}<br>}}
|state = {{{state|Sim{{!}}Sim}}}
{{#if: {{{siblings<includeonly>|</includeonly>}}} | '''Siblings''': {{{siblings}}}<br>}}
{{#if:|cod = {{{spousecod<includeonly>|</includeonly>}}} | '''Spouse''': {{{spouse}}}<br>}}
|grade = {{{grade<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{
|career = {{{career<includeonly>|</includeonly>}}}
#if:{{{spouse|}}} | [[Category:Single Sims]] }}{{
|careerlevel = {{{careerlevel<includeonly>|</includeonly>}}}
#ifeq: {{{spouse}}}| None | [[Category:Single Sims]]}}{{
|hair = {{{hair<includeonly>|</includeonly>}}}
#ifeq: {{{spouse}}}| Unknown |[[Category:Single Sims]]}}
|skin = {{{skin<includeonly>|</includeonly>}}}
|<!--Not in Main: namespace-->}}
|body = {{{body<includeonly>|Thin</includeonly>}}}
{{#if:|family = {{{childfamily<includeonly>|Family</includeonly>}}} | '''Child(ren)''': {{{child}}}
|parents = {{{parents<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{
|siblings = {{{siblings<includeonly>|</includeonly>}}}
#ifeq: {{{child}}}| None | | {{#ifeq: {{{child}}}| Unknown | |[[Category:Parent Sims]]}} }}
|<!--Notspouse in Main: namespace-- = {{{spouse<includeonly>}}|</includeonly>}}</p>}
|maritalstatus = {{{maritalstatus<includeonly>|</includeonly>}}}
----
|child = {{{child<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
|household = {{{household<includeonly>|Household</includeonly>}}}
'''[[{{{game|The Sims}}}]]''' </p>
|roommates = {{{roommates<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
|pets = {{{pets<includeonly>|</includeonly>}}}
'''Age''': [[{{{age}}}]]<br>
|play = {{{play<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetStageCat|{{{age}}}}}|<!--Not in Main: namespace-->}}</includeonly>
|neighbor = {{{neighbor<includeonly>|</includeonly>}}}
'''Life State''': [[{{{state|Sim{{!}}Normal}}}]]<br>
|fanoncomments = <includeonly>{{#ifeq:{{NAMESPACE}}Checkfns| |{{GetStateCat|{</includeonly>[[{{state}}}FULLPAGENAME}}#WikiaArticleComments|<!--NotWrite ina Main: namespace--Review!]]<includeonly>}}</includeonly>
}}<noinclude>{{clr}}{{Documentation}}</noinclude>
{{#if: {{{sign<includeonly>|</includeonly>}}} | '''[[Zodiac Signs|Sign]]''': {{{sign}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:{{{sign}}} Sims]]|<!--Not in Main: namespace-->}}</includeonly>}}</p>
----
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
'''Appearance'''<br /></p>
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if: {{{hair<includeonly>|</includeonly>}}} | '''Hair Color''': {{{hair}}}<br>}}
<includeonly>{{#if: {{{hair|}}}| {{checkmns|{{GetAppearanceCat|hair|{{{hair}}} }} }} }}</includeonly>
{{#if: {{{skin<includeonly>|</includeonly>}}} | '''Skin Color''': {{{skin}}}<br>}}
<includeonly>{{#if: {{{skin|}}}| {{checkmns|{{GetAppearanceCat|skin|{{{skin}}} }} }} }}</includeonly>
{{#if: {{{body<includeonly>|</includeonly>}}} | '''Body Shape''': {{{body}}}<br>}}
<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]]''.
 
For other Sims see [[:Category:Bio templates|Bio templates]].
==Usage==
<pre>
{{Sim1
|name =
|image =
|caption =
|game =
|sex =
|age =
|sign =
|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>