Template:Relationships: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Icemandeaf m (Cleanup) |
m (66 revisions imported: Import from https://sims.wikia.com) |
||
(38 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- |
<includeonly>|- |
||
|{{#if:{{{image}}}|<div style="width:45px;height:45px;overflow:hidden;border-radius:8px;border:2px solid #8080ff;"><div style="position:relative;top:-10px;left:-12px;">[[File:{{{image}}}|70px|{{#explode:{{{image}}}|.}}]]</div></div>}} |
|||
|{{#if:{{{Image}}}|[[File:{{{Image}}}|50px]]}} |
|||
|{{#if:{{{ |
|{{#if:{{{name|}}}|{{{name}}} }} |
||
|{{#switch:{{{daily}}} |
|||
|{{#switch:{{{Daily}}}|Friend Crush=[[File:Friend.png|22px|Friend]][[File:Crush icon.png|22px|Crush]]|Friend Steady=[[File:Friend.png|22px|Friend]][[File:Went Steady with -Sim-.png|22px|Steady]]|Friend=[[File:Friend.png|22px|Friend]]|Crush=[[File:Crush icon.png|22px|Crush]]|Steady=[[File:Went Steady with -Sim-.png|22px|Steady]]|Enemy=[[File:Made Enemies with -Sim-.png|22px|Enemy]]}} |
|||
|Friend Crush=[[File:Friend.png|22px|Friend]][[File:Crush icon.png|22px|Crush]] |
|||
|{{#switch:{{{Lifetime}}}|Best Friend Lover=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]][[File:Fell in Love with -Sim-.png|22px|Lover]]|Best Friend Engaged=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]][[File:Got Engaged to -Sim-.png|22px|Engaged]]|Best Friend Married=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]][[File:Got Married to -Sim-.png|22px|Married]]|Best Friend=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]]|BFF Lover=[[File:Made a BFF.png|22px|BFF]][[File:Fell in Love with -Sim-.png|22px|Lover]]|BFF Engaged=[[File:Made a BFF.png|22px|BFF]][[File:Got Engaged to -Sim-.png|22px|Engaged]]|BFF Married=[[File:Made a BFF.png|22px|BFF]][[File:Got Married to -Sim-.png|22px|Married]]|BFF=[[File:Made a BFF.png|22px|BFF]]|Lover=[[File:Fell in Love with -Sim-.png|22px|Lover]]|Engaged=[[File:Got Engaged to -Sim-.png|22px|Engaged]]|Married=[[File:Got Married to -Sim-.png|22px|Married]]}} |
|||
|Friend=[[File:Friend.png|22px|Friend]] |
|||
|{{#switch:{{{Chemistry}}}|3=[[File:3 bolts.png|20px]]|2=[[File:2 bolts.png|20px]]|1=[[File:1 bolt.png|20px]]|-1=[[File:-1 bolt.png|20px]]}} |
|||
|Crush=[[File:Crush icon.png|22px|Crush]] |
|||
|{{#ifeq:{{{Family}}}|" "||{{#switch:{{GetRelationshipImage|{{{Family}}} }}| = [[File:Family Member.png|16px|{{{Family}}}]]|{{GetRelationshipImage|{{{Family}}} }} }} }}</includeonly> |
|||
|Enemy=[[File:Made Enemies with -Sim-.png|22px|Enemy]] |
|||
}} |
|||
|{{#switch:{{{lifetime}}} |
|||
|Best Friend Lover=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]][[File:Fell in Love with -Sim-.png|22px|Lover]] |
|||
|Best Friend Love=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]][[File:Fell in Love with -Sim-.png|22px|Love]] |
|||
|Best Friend Steady=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]][[File:Went Steady with -Sim-.png|22px|Going Steady]] |
|||
|Best Friend Engaged=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]][[File:Got Engaged to -Sim-.png|22px|Engaged]] |
|||
|Best Friend Married=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]][[File:Got Married to -Sim-.png|22px|Married]] |
|||
|Best Friend=[[File:Became Best Friends with -Sim-.png|22px|Best Friend]] |
|||
|BFF Lover=[[File:Made a BFF.png|22px|BFF]][[File:Fell in Love with -Sim-.png|22px|Lover]] |
|||
|BFF Love=[[File:Made a BFF.png|22px|BFF]][[File:Fell in Love with -Sim-.png|22px|Love]] |
|||
|BFF Steady=[[File:Made a BFF.png|22px|BFF]][[File:Went Steady with -Sim-.png|22px|Going Steady]] |
|||
|BFF Engaged=[[File:Made a BFF.png|22px|BFF]][[File:Got Engaged to -Sim-.png|22px|Engaged]] |
|||
|BFF Married=[[File:Made a BFF.png|22px|BFF]][[File:Got Married to -Sim-.png|22px|Married]] |
|||
|BFF=[[File:Made a BFF.png|22px|BFF]] |
|||
|Lover=[[File:Fell in Love with -Sim-.png|22px|Lover]] |
|||
|Love=[[File:Fell in Love with -Sim-.png|22px|Love]] |
|||
|Steady=[[File:Went Steady with -Sim-.png|22px|Going Steady]] |
|||
|Engaged=[[File:Got Engaged to -Sim-.png|22px|Engaged]] |
|||
|Married=[[File:Got Married to -Sim-.png|22px|Married]] |
|||
}} |
|||
|{{#switch:{{{chemistry}}} |
|||
|3=[[File:3 bolts.png]] |
|||
|2=[[File:2 bolts.png]] |
|||
|1=[[File:1 bolt.png]] |
|||
|-1= [[File:-1 bolt.png]] |
|||
}} |
|||
|{{#if:{{{family|}}}|{{#switch:{{GetRelationshipImage|{{{family}}} }} |
|||
| = [[File:Family Member.png|16px|{{{family}}}]] |
|||
|{{GetRelationshipImage|{{{family}}} }} }}|}}</includeonly> |
|||
<noinclude> |
<noinclude> |
||
{{documentation}} |
{{documentation}} |
Latest revision as of 18:22, 23 February 2019
- Description
- This template produces a table of Sims relationships in the Sims 2.
- This template requires parser functions to be enabled (Wikia default: on).
- This template is meant to be used with {{Relationships-start}} and {{Relationships-end}}.
- Syntax
{{Relationships-start}} {{Relationships |image = Example.jpg |name = name |daily = daily relationship |lifetime = lifetime relationship |chemistry = chemistry |family = family relationship }} {{Relationships-end}}
- Sample output
Image | Name | Daily | Lifetime | Chemistry | Family |
---|---|---|---|---|---|
Sim | |||||
Sim 2 | |||||
Sim 3 |
Complete code:
{{Relationships-start}}
{{Relationships
|image = Example.jpg
|name = Sim
|daily = Friend Crush
|lifetime = Best Friend Married
|chemistry = -1
}}
{{Relationships
|image = Example.jpg
|name = Sim 2
|daily = Friend
|lifetime = BFF
|family = Daughter
}}
{{Relationships
|image = Example.jpg
|name = Sim 3
|daily = Friend
|lifetime = Best Friend
|family = Father
}}
{{Relationships-end}}
- Notes
- daily may have the following values:
- Friend
- Crush
- Steady
- Enemy
- Friend Crush
- Friend Steady
- lifetime may have the following values:
- Best Friend
- BFF
- Lover
- Engaged
- Married
- Best Friend Lover
- Best Friend Engaged
- Best Friend Married
- BFF Lover
- BFF Engaged
- BFF Married
- chemistry may have the following values:
- -1
- 1
- 2
- 3
Visit Template:Relationships/doc to edit this text! (How does this work?) (Refresh this text - why?)
This page uses Creative Commons Licensed content from Wikia Templates (view authors). |