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
m (42 revisions imported: Import from https://sims.wikia.com)
No edit summary
 
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#switch:{{lc:{{{1|}}}}}
|deceased = {{#ifeq: {{{play|}}} | Deceased | | {{Checkmns|[[Category:Widowed Sims]]}}{{Checkfns|[[Category:Widowed Sims (fanon)]]}} }}
|deceased = {{#ifeq: {{{play|}}} | Deceased | | {{Namespace detect |main=[[Category:Widowed Sims]] |fanon=[[Category:Widowed Sims (fanon)]] |custom content=[[Category:Widowed Sims (custom)]]}} }}
|ex-wife
|ex-wife
|ex-husband
|ex-husband
|divorced = {{Checkmns|[[Category:Divorced Sims]]}}{{Checkfns|[[Category:Divorced Sims (fanon)]]}}
|divorced = {{Namespace detect |main = [[Category:Divorced Sims]] |fanon = [[Category:Divorced Sims (fanon)]] |custom content = [[Category:Divorced Sims (custom)]]}}
|fiancé
|fiancé
|fiancée
|fiancée
|engaged = {{Checkmns|[[Category:Engaged Sims]]}}{{Checkfns|[[Category:Engaged Sims (fanon)]]}}
|engaged = {{Namespace detect |main = [[Category:Engaged Sims]] |fanon = [[Category:Engaged Sims (fanon)]] |custom content = [[Category:Engaged Sims (custom)]]}}
|crush = {{Checkmns|[[Category:Sims who have crushes]]}}{{Checkfns|[[Category:Sims who have crushes (fanon)]]}}
|crush = {{Namespace detect |main = [[Category:Sims who have crushes]] |fanon = [[Category:Sims who have crushes (fanon)]] |custom content = [[Category:Sims who have crushes (custom)]]}}
|boyfriend
|boyfriend
|girlfriend
|girlfriend
|dating = {{Checkmns|[[Category:Sims who are dating]]}}{{Checkfns|[[Category:Sims who are dating (fanon)]]}}
|dating = {{Namespace detect |main = [[Category:Sims who are dating]] |fanon = [[Category:Sims who are dating (fanon)]] |custom content = [[Category:Sims who are dating (custom)]]}}
|in love
|in love
|has a romantic interest
|has a romantic interest
Line 16: Line 16:
|lovers
|lovers
|lover
|lover
|love = {{Checkmns|[[Category:Sims who are in love]]}}{{Checkfns|[[Category:Sims who are in love (fanon)]]}}
|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
|widowed
|widower
|widower
|widow = {{Checkmns|[[Category:Widowed Sims]]}}{{Checkfns|[[Category:Widowed Sims (fanon)]]}}
|widow = {{Namespace detect |main = [[Category:Widowed Sims]] |fanon = [[Category:Widowed Sims (fanon)]] |custom content = [[Category:Widowed Sims (custom)]]}}
|single = {{Checkmns|[[Category:Single Sims]]}}{{Checkfns|[[Category:Single Sims (fanon)]]}}
|single = {{Namespace detect |main = [[Category:Single Sims]] |fanon = [[Category:Single Sims (fanon)]] |custom content = [[Category:Single Sims (custom)]]}}
|ex-fiancé
|ex-fiancé
|ex-fiancée
|ex-fiancée
|ex-girlfriend
|ex-girlfriend
|ex-boyfriend = {{Checkmns|[[Category:Sims who have exes]]}}{{Checkfns|[[Category:Sims who have exes (fanon)]]}}
|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
|wife
|husband
|husband
|married = {{Checkmns|[[Category:Married Sims]]}}{{Checkfns|[[Category:Married Sims (fanon)]]}}
|married = {{Namespace detect |main = [[Category:Married Sims]] |fanon = [[Category:Married Sims (fanon)]] |custom content = [[Category:Married Sims (custom)]]}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</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?)