Template:Simbio2: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>Random Ranaun
No edit summary
sims>A morris
(condensed code using functions)
Line 17: Line 17:
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if: {{{hair<includeonly>|</includeonly>}}} | '''Hair Color''': {{{hair}}}<br>}}
{{#if: {{{hair<includeonly>|</includeonly>}}} | '''Hair Color''': {{{hair}}}<br>}}
<includeonly>{{#ifeq: {{{hair}}}| Black |{{#ifeq:{{NAMESPACE}}| |[[Category:Black-Haired Sims]]|<!--Not in Main: namespace-->}} }}
<includeonly>{{#if: {{{hair|}}}| {{checkmns|{{GetAppearanceCat|hair|{{{hair}}} }} }} }}</includeonly>
{{#ifeq: {{{hair}}}| Brown |{{#ifeq:{{NAMESPACE}}| |[[Category:Brown-Haired Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{hair}}}| Blonde |{{#ifeq:{{NAMESPACE}}| |[[Category:Blondes]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{hair}}}| Red |{{#ifeq:{{NAMESPACE}}| |[[Category:Redheads]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{hair}}}| Grey |{{#ifeq:{{NAMESPACE}}| |[[Category:Grey-Haired Sims]]|<!--Not in Main: namespace-->}} }}
</includeonly>
{{#if: {{{eye<includeonly>|</includeonly>}}} | '''Eye Color''': {{{eye}}}<br>}}
{{#if: {{{eye<includeonly>|</includeonly>}}} | '''Eye Color''': {{{eye}}}<br>}}
<includeonly>{{#ifeq: {{{eye}}}| Brown |{{#ifeq:{{NAMESPACE}}| |[[Category:Brown-Eyed Sims]]|<!--Not in Main: namespace-->}} }}
<includeonly>{{#if: {{{eye|}}}| {{checkmns|{{GetAppearanceCat|eye|{{{eye}}} }} }} }}</includeonly>
{{#ifeq: {{{eye}}}| Dark Blue |{{#ifeq:{{NAMESPACE}}| |[[Category:Dark Blue-Eyed Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{eye}}}| Light Blue |{{#ifeq:{{NAMESPACE}}| |[[Category:Light Blue-Eyed Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{eye}}}| Green |{{#ifeq:{{NAMESPACE}}| |[[Category:Green-Eyed Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{eye}}}| Grey |{{#ifeq:{{NAMESPACE}}| |[[Category:Grey-Eyed Sims]]|<!--Not in Main: namespace-->}} }}
</includeonly>
{{#if: {{{skin<includeonly>|</includeonly>}}} | '''Skin Color''': {{{skin}}}<br>}}
{{#if: {{{skin<includeonly>|</includeonly>}}} | '''Skin Color''': {{{skin}}}<br>}}
<includeonly>{{#ifeq: {{{skin}}}| Light |{{#ifeq:{{NAMESPACE}}| |[[Category:Light-Skinned Sims]]|<!--Not in Main: namespace-->}} }}
<includeonly>{{#if: {{{skin|}}}| {{checkmns|{{GetAppearanceCat|skin|{{{skin}}} }} }} }}</includeonly>
{{#ifeq: {{{skin}}}| Tan |{{#ifeq:{{NAMESPACE}}| |[[Category:Tan-Skinned Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{skin}}}| Medium |{{#ifeq:{{NAMESPACE}}| |[[Category:Medium-Skinned Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{skin}}}| Dark |{{#ifeq:{{NAMESPACE}}| |[[Category:Dark-Skinned Sims]]|<!--Not in Main: namespace-->}} }}
</includeonly>
{{#if: {{{body<includeonly>|</includeonly>}}} | '''Body Shape''': {{{body}}}<br>}}
{{#if: {{{body<includeonly>|</includeonly>}}} | '''Body Shape''': {{{body}}}<br>}}
<includeonly>{{#ifeq: {{{body}}}| Fat |{{#ifeq:{{NAMESPACE}}| |[[Category:Fat Sims]]|<!--Not in Main: namespace-->}} }}
<includeonly>{{#if: {{{bod|}}}| {{checkmns|{{GetAppearanceCat|body|{{{body}}} }} }} }}</includeonly>
</p>
{{#ifeq: {{{body}}}| Skinny |{{#ifeq:{{NAMESPACE}}| |[[Category:Skinny Sims]]|<!--Not in Main: namespace-->}} }}
{{#ifeq: {{{body}}}| Fit |{{#ifeq:{{NAMESPACE}}| |[[Category:Fit Sims]]|<!--Not in Main: namespace-->}} }}
</includeonly></p>
----
----
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">

Revision as of 22:46, 22 August 2009

The Sims 2
{{{image}}}
Hi! My name is Simbio2!

Age: [[{{{age}}}]]
Life State: [[{{{state}}}]]
Aspiration: [[{{{asp}}}]]
Sign: {{{sign}}}


Appearance

Hair Color: {{{hair}}}
Eye Color: {{{eye}}}
Skin Color: {{{skin}}}
Body Shape: {{{body}}}


Playability: {{{play}}}
Neighborhood: [[{{{neighbor}}}]]

Discuss the Sim Bio templates and Sim page structure here.

Usage

Used for Sims from The Sims 2.

Copy and paste the following:

{{Simbio2
|image             = 
|caption           = 
|age               = 
|hair              = 
|eye               = 
|skin              = 
|body              = 
|state             = 
|asp               = 
|sign              = 
|play              = 
|neighbor          = 
}}

Required parameters

This template has no required parameters.

Optional parameters

  • age - Baby/Child/Teen/Young Adult/Adult/Elder
  • sign - One of twelve Signs of the Zodiac
  • state - Alien, Zombie, Vampire, Servo, Werewolf, PlantSim, Witch, Human, Ghost
  • asp - Aspiration: Family, Fortune, Grilled Cheese, Grow Up, Knowledge, Pleasure, Popularity, Romance
  • neighbor - Neighborhood or sub-neighborhood
  • image - [[File:Example.jpg|width]]. The width of the image should be no larger than 235px.
  • 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)