Template:Spouse: 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>A morris
No edit summary
m (28 revisions imported: Import from https://sims.wikia.com)
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{{1}}} [[Image:{{{2}}}.jpg|{{{2}}}]]{{GetMaritalCat|{{{2}}}}} |{{{1}}} [[Image:Married.jpg|Married]] {{GetMaritalCat}}}} | {{#ifeq:{{NAMESPACE}}||[[Category:Single Sims]]}} }}{{
<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{{1}}}{{GetRelationshipImage|{{{2}}} }}{{GetMaritalCat|{{{2}}}}} |{{{1}}}{{GetRelationshipImage|{{{2}}} }} {{GetMaritalCat|Married}}}} | {{#ifeq:{{NAMESPACE}}||[[Category:Single Sims]]}} }}{{
#if:{{{3|}}}|{{#if:{{{4|}}}{{GetMaritalCat|{{{4}}} }}|, {{{3}}} [[Image:{{{4}}}.jpg|{{{4}}}]] |, {{{3}}} [[Image:Married.jpg|Married]] {{GetMaritalCat}}}} }}{{
#if:{{{3|}}}|{{#if:{{{4|}}}|, {{{3}}}{{GetRelationshipImage|{{{4}}} }}{{GetMaritalCat|{{{4}}} }}|, {{{3}}}{{GetRelationshipImage|{{{2}}} }} {{GetMaritalCat|Married}}}} }}{{
#if:{{{5|}}}|{{#if:{{{6|}}}|, {{{5}}} [[Image:{{{6}}}.jpg|{{{6}}}]]{{GetMaritalCat|{{{6}}} }}|, {{{5}}} [[Image:Married.jpg|Married]] {{GetMaritalCat}}}} }}</includeonly><noinclude>
#if:{{{5|}}}|{{#if:{{{6|}}}|, {{{5}}}{{GetRelationshipImage|{{{6}}} }}{{GetMaritalCat|{{{6}}} }}|, {{{5}}}{{GetRelationshipImage|{{{2}}} }} {{GetMaritalCat|Married}}}} }}</includeonly><noinclude>
{{Documentation}}[[Category:Auxiliary templates|{{PAGENAME}}]]
;Description: Links to up to 3 Sims, displaying their marital status with images. For use on Sim pages in {{T|Simbio-start}}. Uses {{T|GetMaritalCat}}.
;Syntax: <code><nowiki>{{</nowiki>{{FULLPAGENAME}}|name|status<nowiki>}}</nowiki></code>, where <code>name</code> is the link of the Sim, and status is their marital status to the current Sim: Deceased (no image yet), Divorced, Engaged, Dating, Lovers, Ex-girlfriend/boyfriend
:For more spouses add: <code>|name|status</code>
;Sample: {{{{FULLPAGENAME}}|[[Ophelia Nigmos]]|Dating}}
</noinclude>
</noinclude>

Latest revision as of 17:29, 9 March 2019

Template documentation (View · Edit · History · Purge)
Description
Links to up to 3 Sims, displaying their marital status with images. For use on Sim pages in {{Simbio-start}} and other infoboxes. Uses {{GetMaritalCat}}. It is similar to {{Relative}}.
Syntax
{{Spouse|<name>|<status>}}, where name is the link of the Sim, and status is their marital status to the current Sim: "Deceased", "Divorced", "Engaged", "Crush", "Dating", "Lover"/"Lovers", "Ex-girlfriend"/"Ex-boyfriend"
For more spouses: {{Spouse|<name>|<status>|<name>|<status>|<name>|<status>}}
Sample
{{Spouse|[[Ophelia Nigmos]]|Dating}} gives Ophelia NigmosDating
When to use "Deceased"
  1. If the Sims were not married always include the relationship they had when alive in the template followed by [[File:Deceased.jpg]]
  2. Use "Deceased" only when the Sim has out lived his or her partner and add [[File:Married.jpg]] after the template.
  3. If both Sims are dead, include the relationship they had when alive in the template followed by [[File:Deceased.jpg]]

Visit Template:Spouse/doc to edit this text! (How does this work?) (Refresh this text - why?)