User:A morris/Spouses v1: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>A morris
No edit summary
imported>A morris
(adding categories)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|[[{{{1}}}|<span title="{{{2}}}">{{{1}}}</span>]]|[[{{{1}}}]] }} }}{{
<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|[[{{{1}}}|<span title="{{{2}}}">{{{1}}}</span>]] {{GetMaritalCat|{{{2}}}}} |[[{{{1}}}]] {{GetMaritalCat}}}} | {{#ifeq:{{NAMESPACE|}}||[[Category:Single Sims]]}} }}{{
#if:{{{3|}}}|{{#if:{{{4|}}}|[[{{{3}}}|<span title="{{{4}}}">{{{3}}}</span>]]|[[{{{3}}}]] }} }}{{
#if:{{{3|}}}|{{#if:{{{4|}}}|[[{{{3}}}|<span title="{{{4}}}">{{{3}}}</span>]] {{GetMaritalCat|{{{4}}}|[[{{{3}}}]] {{GetMaritalCat}}}} }}{{
#if:{{{5|}}}|{{#if:{{{6|}}}|[[{{{5}}}|<span title="{{{6}}}">{{{5}}}</span>]]|[[{{{5}}}]] }} }}</includeonly><noinclude>
#if:{{{5|}}}|{{#if:{{{6|}}}|[[{{{5}}}|<span title="{{{6}}}">{{{5}}}</span>]]{{GetMaritalCat|{{{6}}}|[[{{{5}}}]] {{GetMaritalCat}}}} }}</includeonly><noinclude>
;Description: Links to up to 3 Sims, displaying their marital status as hover text. For use on Sim pages in {{T|Simbio-start}}.
;Description: Links to up to 3 Sims, displaying their marital status as hover text. For use on Sim pages in {{T|Simbio-start}}. Uses {{T|GetMaritalCat}} which adds categories based on status.
;Syntax: <code><nowiki>{{</nowiki>{{FULLPAGENAME}}|name|status<nowiki>}}</nowiki></code>, where <code>name</code> is the name of the Sim (not a link), and status is their marital status to the current Sim: Deceased, Divorced
;Syntax: <code><nowiki>{{</nowiki>{{FULLPAGENAME}}|name|status<nowiki>}}</nowiki></code>, where <code>name</code> is the name of the Sim (not a link), and status is their marital status to the current Sim: Deceased, Divorced
:For more spouses add: <code>|name|status</code></noinclude>
:For more spouses add: <code>|name|status</code></noinclude>

Revision as of 22:56, 12 July 2009

Description
Links to up to 3 Sims, displaying their marital status as hover text. For use on Sim pages in {{Simbio-start}}. Uses {{GetMaritalCat}} which adds categories based on status.
Syntax
{{User:A morris/Spouses v1|name|status}}, where name is the name of the Sim (not a link), and status is their marital status to the current Sim: Deceased, Divorced
For more spouses add: |name|status