Template:Simbio3: Difference between revisions

m
Protected "Template:Simbio3" ([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
(simplified code for trait categories)
m (Protected "Template:Simbio3" ([Edit=Allow only administrators and content moderators] (indefinite) [Move=Allow only administrators and content moderators] (indefinite) [Delete=Allow only administrators and content moderators] (indefinite)))
 
(71 intermediate revisions by 13 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
'''[[The Sims 3]]'''<br />
|headline = This template is used on thousands of pages
{{#if: {{{image<includeonly>|</includeonly>}}} |{{{image}}}<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:Simbio3|talk page]] before editing this template.
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
|nocat = true
{{#if: {{{age<includeonly>|</includeonly>}}} | '''Life Stage''': [[{{{age}}}]] <br>
}}{{Info||This template is currently being phased out in favor of {{tl|Infobox Sim3}}. Please use that template instead.}}</noinclude>{{Sim
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:{{{age}}} Sims]]|<!--Not in Main: namespace-->}}</includeonly>}}
{{#if:|image = {{{stateimage<includeonly>|</includeonly>}}} | '''Life State''': [[{{{state}}}]]<br>
|caption = {{{caption<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{#ifeq:{{{state}}}||[[Category:{{{state}}} Sims]]|<!--Not in Main: namespace-->}}}}</includeonly>}}
|game = {{{game|The Sims 3}}}
{{#if: {{{traits<includeonly>|</includeonly>}}} | '''[[Trait]]s''': {{{traits}}} <br>}}
{{#if:|age = {{{trait1age<includeonly>|</includeonly>}}} | '''[[Trait]]s''': {{{trait1}}}
|state2 = {{{state|Sim{{!}}Sim}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{#ifeq:{{{trait1}}}||[[Category:{{{trait1}}} Sims]]|
<!--Not|school in Main: namespace-- = {{{school<includeonly>}}}}|</includeonly>}}}
{{#if:|grade = {{{trait2grade<includeonly>|</includeonly>}}} |, {{{trait2}}}
|major = {{{major<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{#ifeq:{{{trait2}}}||[[Category:{{{trait2}}} Sims]]|
<!--Not|career2 in Main: namespace--= {{{career<includeonly>}}}}|</includeonly>}}}
{{#if:|careerlevel = {{{trait3careerlevel<includeonly>|</includeonly>}}} |, {{{trait3}}}
|trait1 = {{{trait1<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{#ifeq:{{{trait3}}}||[[Category:{{{trait3}}} Sims]]|
<!--Not|trait2 in Main: namespace-- = {{{trait2<includeonly>}}}}|</includeonly>}}}
{{#if:|trait3 = {{{trait4trait3<includeonly>|</includeonly>}}} |, {{{trait4}}}
|trait4 = {{{trait4<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{#ifeq:{{{trait4}}}||[[Category:{{{trait4}}} Sims]]|
<!--Not|trait5 in Main: namespace-- = {{{trait5<includeonly>}}}}|</includeonly>}}}
{{#if:|trait6 = {{{trait5trait6<includeonly>|</includeonly>}}} |, {{{trait5}}}
|trait7 = {{{trait7<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{#ifeq:{{{trait5}}}||[[Category:{{{trait5}}} Sims]]|
<!--Not|hiddentrait1 in= Main: namespace--{{{hiddentrait1<includeonly>}}}}|</includeonly>}}}
{{#if:|hiddentrait2 = {{{trait1hiddentrait2<includeonly>|</includeonly>}}}| <br>}}
{{#if:|hiddentrait3 = {{{wishhiddentrait3<includeonly>|</includeonly>}}} | '''Lifetime Wish''': {{{wish}}} <br>}}
{{#if:|sign2 = {{{favoritessign<includeonly>|</includeonly>}}} | '''Favorites''':
|wish = {{{wish<includeonly>|</includeonly>}}}
{{{favorites}}} }}</p>
|music = {{{music<includeonly>|</includeonly>}}}
----
|food = {{{food<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if:|color = {{{difficultycolor<includeonly>|</includeonly>}}} |
|hair2 = {{{hair<includeonly>|</includeonly>}}}
'''Difficulty Level''': {{{difficulty}}} <br>
|eye2 = {{{eye<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:{{{difficulty}}} Sims]]|<!--Not in Main: namespace-->}}</includeonly> }}
{{#if:|skin2 = {{{playskin<includeonly>|</includeonly>}}} | '''Playability''': {{{play}}}<br>}}
|body = {{{body<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq: {{{play}}}| Playable |{{#ifeq:{{NAMESPACE}}| |[[Category:Playable Sims]]|<!--Not in Main: namespace-->}} }}
|household = {{{household<includeonly>|Household</includeonly>}}}
{{#ifeq: {{{play}}}| Deceased |{{#ifeq:{{NAMESPACE}}| |[[Category:Deceased Sims]]|<!--Not in Main: namespace-->}} }}
|roommates = {{{roommates<includeonly>|</includeonly>}}}
{{#ifeq: {{{play}}}| Townie |{{#ifeq:{{NAMESPACE}}| |[[Category:Townie Sims]]|<!--Not in Main: namespace-->}} }}
|pets = {{{pets<includeonly>|</includeonly>}}}
{{#ifeq: {{{play}}}| NPC |{{#ifeq:{{NAMESPACE}}| |[[Category:NPCs]]|<!--Not in Main: namespace-->}} }}
|celebritystatus = {{{celebritystatus<includeonly>|</includeonly>}}}
|group1 = {{{group1<includeonly>|</includeonly>}}}
'''Neighborhood''': [[{{{neighbor|Sunset Valley}}}]] <br>
|group2 = {{{group2<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:{{{neighbor|Sunset Valley}}} Sims]]|<!--Not in Main: namespace-->}}</includeonly>
|group3 = {{{group3<includeonly>|</includeonly>}}}
</p></div><noinclude>
|play = {{{play<includeonly>|</includeonly>}}}
 
|cod = {{{cod<includeonly>|</includeonly>}}}
==Usage==
|neighbor = {{{neighbor<includeonly>|</includeonly>}}}
''This template is under development.''
}}<includeonly>{{Checkmns|[[Category:Pages using Simbio templates]]|{{Checkfns|[[Category:Pages using Simbio templates (fanon)]]|}}}}</includeonly><noinclude>{{clr}}{{Documentation}}</noinclude>
 
Used for Sims from [[The Sims 3]].
 
Copy and paste the following:
 
<pre>
{{Simbio3
|image =
|caption =
|age =
|state =
|trait1 =
|trait2 =
|trait3 =
|trait4 =
|trait5 =
|wish =
|favorites =
|play =
|neighbor =
}}
</pre>
 
====Required parameters====
''There are no required parameters for this template.''
 
====Optional parameters====
*'''age''' - Baby, Toddler, Child, Teen, Young Adult, Adult, Elder
*'''image''' - <nowiki>[[File:Example.jpg|width]]</nowiki> The width of the image should be no larger than 235px.
*'''state''' - Creature type. DO NOT include this parameter if the Sim is normal.
*'''traits''' or '''trait1, trait2. . . 5''' - A list of up to five traits.
*'''wish''' - Their Lifetime Wish
*'''difficulty''' - The difficulty level of the Sim/family. If it is different from the family's level give justification within the body of the article.
*'''neighbor''' - Neighborhood. Default = Sunset Valley
*'''favorites''' - The favorites of a Sim such as color, music, food
*'''play''' - Playability
** Playable (Premade Sims in playable house/Premade Sims in family bin)
** Townies (Premade Sims... living in somewhere else)
** NPC (Appears only in scenarios)
** Deceased (Dead Sims at the beginning of game)
[[Category:Bio templates|{{PAGENAME}}]]
</noinclude>