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
sims>Nikel23
m (Trying to see if removing the {{NAMESPACE}} will enable auto-categorization to fanons)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACE}}||{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#switch:{{lc:{{{1|}}}}}
|deceased = {{#ifeq: {{{play|}}} | Deceased | | [[Category:Widowed Sims]]}}
|deceased = {{#ifeq: {{{play|}}} | Deceased | | [[Category:Widowed Sims]]}}
|ex-wife
|ex-wife
Line 24: Line 24:
|ex-boyfriend = [[Category:Sims who have exes{{Checkfns|&nbsp;(fanon)}}]]
|ex-boyfriend = [[Category:Sims who have exes{{Checkfns|&nbsp;(fanon)}}]]
|married = [[Category:Married Sims{{Checkfns|&nbsp;(fanon)}}]]
|married = [[Category:Married Sims{{Checkfns|&nbsp;(fanon)}}]]
}} }}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 15:45, 28 May 2012

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?)