Template:GetMaritalCat: 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
No edit summary
 
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACE}}||{{#switch:{{ucfirst:{{{1|}}}}}
<includeonly>{{#switch:{{lc:{{{1|}}}}}
|deceased = {{#ifeq: {{{play|}}} | Deceased | | {{Namespace detect |main=[[Category:Widowed Sims]] |fanon=[[Category:Widowed Sims (fanon)]] |custom content=[[Category:Widowed Sims (custom)]]}} }}
|Widowed
|ex-wife
|Deceased = {{#ifeq: {{{play|}}} | Deceased | | [[Category:Widowed Sims]]}}
|ex-husband
|Divorced = [[Category:Divorced Sims]]
|divorced = {{Namespace detect |main = [[Category:Divorced Sims]] |fanon = [[Category:Divorced Sims (fanon)]] |custom content = [[Category:Divorced Sims (custom)]]}}
|Engaged = [[Category:Engaged Sims]]
|Crush
|fiancé
|fiancée
|Dating = [[Category:Sims who are Dating]]
|engaged = {{Namespace detect |main = [[Category:Engaged Sims]] |fanon = [[Category:Engaged Sims (fanon)]] |custom content = [[Category:Engaged Sims (custom)]]}}
|Lover
|crush = {{Namespace detect |main = [[Category:Sims who have crushes]] |fanon = [[Category:Sims who have crushes (fanon)]] |custom content = [[Category:Sims who have crushes (custom)]]}}
|Lovers = [[Category:Sims in Love]]
|boyfriend
|Single = [[Category:Single Sims]]
|Ex-girlfriend
|girlfriend
|dating = {{Namespace detect |main = [[Category:Sims who are dating]] |fanon = [[Category:Sims who are dating (fanon)]] |custom content = [[Category:Sims who are dating (custom)]]}}
|Ex-boyfriend = [[Category:Sims who have Exes]]
|in love
|Married = [[Category:Married Sims]]
|has a romantic interest
|[[Category:Married Sims]]
|romantic interest
}} }}</includeonly><noinclude>{{documentation}}</noinclude>
|lovers
|lover
|love = {{Namespace detect |main = [[Category:Sims who are in love]] |fanon = [[Category:Sims who are in love (fanon)]] |custom content = [[Category:Sims who are in love (custom content)]]}}
|widowed
|widower
|widow = {{Namespace detect |main = [[Category:Widowed Sims]] |fanon = [[Category:Widowed Sims (fanon)]] |custom content = [[Category:Widowed Sims (custom)]]}}
|single = {{Namespace detect |main = [[Category:Single Sims]] |fanon = [[Category:Single Sims (fanon)]] |custom content = [[Category:Single Sims (custom)]]}}
|ex-fiancé
|ex-fiancée
|ex-girlfriend
|ex-boyfriend = {{Namespace detect |main = [[Category:Sims who have exes]] |fanon = [[Category:Sims who have exes (fanon)]] |custom content = [[Category:Sims who have exes (custom)]]}}
|wife
|husband
|married = {{Namespace detect |main = [[Category:Married Sims]] |fanon = [[Category:Married Sims (fanon)]] |custom content = [[Category:Married Sims (custom)]]}}
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 19:32, 6 May 2019

Template documentation (View · Edit · History · Purge)
Description
Determines the code for a category for marital status based on the passed parameter. To be used on Sim pages. Can be included in the infobox.
Syntax
{{GetMaritalCat}} or {{GetMaritalCat|<status>}}
status values: "Widow"/"Widower"/"Widowed", "Deceased", "Divorced", "Engaged", "Crush", "Boyfriend"/"Girlfriend"/"Dating", "Lover"/"Lovers", "Single", "Ex-girlfriend"/"Ex-boyfriend"/"Ex-fiancé"/"Ex-fiancée"

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