Template:Relationships/doc: 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>Icemandeaf
(Added Family Examples)
m (4 revisions imported: Import from https://sims.wikia.com)
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
{{Relationships-start}}
{{Relationships-start}}
{{Relationships
{{Relationships
|Image = Example.jpg
|image = Example.jpg
|Name = name
|name = name
|Daily = daily relationship
|daily = daily relationship
|Lifetime = lifetime relationship
|lifetime = lifetime relationship
|Chemistry = chemistry
|chemistry = chemistry
|Family = family relationship
|family = family relationship
}}
}}
{{Relationships-end}}
{{Relationships-end}}
Line 21: Line 21:
{{Relationships-start}}
{{Relationships-start}}
{{Relationships
{{Relationships
|Image = Example.jpg
|image = Example.jpg
|Name = Sim
|name = Sim
|Daily = Friend Crush
|daily = Friend Crush
|Lifetime = Best Friend Married
|lifetime = Best Friend Married
|Chemistry = -1
|chemistry = -1
}}
}}
{{Relationships
{{Relationships
|Image = Example.jpg
|image = Example.jpg
|Name = Sim 2
|name = Sim 2
|Daily = Friend
|daily = Friend
|Lifetime = BFF
|lifetime = BFF
|Family = Daughter
|family = Daughter
}}
}}
{{Relationships
{{Relationships
|Image = Example.jpg
|image = Example.jpg
|Name = Sim 3
|name = Sim 3
|Daily = Friend
|daily = Friend
|Lifetime = Best Friend
|lifetime = Best Friend
|Family = Brother
|family = Father
}}
}}
{{Relationships-end}}
{{Relationships-end}}
Line 47: Line 47:
'''<nowiki>{{</nowiki>Relationships-start<nowiki>}}</nowiki>'''<br />
'''<nowiki>{{</nowiki>Relationships-start<nowiki>}}</nowiki>'''<br />
'''<nowiki>{{</nowiki>Relationships'''<br />
'''<nowiki>{{</nowiki>Relationships'''<br />
'''|'''Image = Example.jpg<br />
'''|'''image = Example.jpg<br />
'''|'''Name = Sim<br />
'''|'''name = Sim<br />
'''|'''Daily = Friend Crush<br />
'''|'''daily = Friend Crush<br />
'''|'''Lifetime = Best Friend Married<br />
'''|'''lifetime = Best Friend Married<br />
'''|'''Chemistry = -1<br />
'''|'''chemistry = -1<br />
'''<nowiki>}}</nowiki>'''<br />
'''<nowiki>}}</nowiki>'''<br />
'''<nowiki>{{</nowiki>Relationships'''<br />
'''<nowiki>{{</nowiki>Relationships'''<br />
'''|'''Image = Example.jpg<br />
'''|'''image = Example.jpg<br />
'''|'''Name = Sim 2<br />
'''|'''name = Sim 2<br />
'''|'''Daily = Friend<br />
'''|'''daily = Friend<br />
'''|'''Lifetime = BFF<br />
'''|'''lifetime = BFF<br />
'''|'''Family = Daughter<br />
'''|'''family = Daughter<br />
'''<nowiki>}}</nowiki>'''<br />
'''<nowiki>}}</nowiki>'''<br />
'''<nowiki>{{</nowiki>Relationships'''<br />
'''<nowiki>{{</nowiki>Relationships'''<br />
'''|'''Image = Example.jpg<br />
'''|'''image = Example.jpg<br />
'''|'''Name = Sim 3<br />
'''|'''name = Sim 3<br />
'''|'''Daily = Friend<br />
'''|'''daily = Friend<br />
'''|'''Lifetime = Best Friend<br />
'''|'''lifetime = Best Friend<br />
'''|'''Family = Brother<br />
'''|'''family = Father<br />
'''<nowiki>}}</nowiki>'''<br />
'''<nowiki>}}</nowiki>'''<br />
'''<nowiki>{{</nowiki>Relationships-end<nowiki>}}</nowiki>'''<br />
'''<nowiki>{{</nowiki>Relationships-end<nowiki>}}</nowiki>'''<br />
</code>
</code>
;Notes:
;Notes:
* '''Daily''' may have the following values:
* '''daily''' may have the following values:
::Friend
::Friend
::Crush
::Crush
Line 77: Line 77:
::Friend Crush
::Friend Crush
::Friend Steady
::Friend Steady
* '''Lifetime''' may have the following values:
* '''lifetime''' may have the following values:
::Best Friend
::Best Friend
::BFF
::BFF
Line 89: Line 89:
::BFF Engaged
::BFF Engaged
::BFF Married
::BFF Married
* '''Chemistry''' may have the following values:
* '''chemistry''' may have the following values:
::-1
::-1
::1
::1

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 FriendCrush Best FriendMarried  
.}}
Sim 2 Friend BFF  Daughter
.}}
Sim 3 Friend Best Friend  Father

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