Template:GetMaritalCat: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>A morris (Ex-fiancé and Ex-fiancée) |
sims>A morris No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{NAMESPACE}}||{{#switch:{{ucfirst:{{{1|}}}}} |
<includeonly>{{#ifeq:{{NAMESPACE}}||{{#switch:{{ucfirst:{{{1|}}}}} |
||
|Deceased = {{#ifeq: {{{play|}}} | Deceased | | [[Category:Widowed Sims]]}} |
|Deceased = {{#ifeq: {{{play|}}} | Deceased | | [[Category:Widowed Sims]]}} |
||
|Ex-wife |
|||
|Ex-husband |
|||
|Divorced = [[Category:Divorced Sims]] |
|Divorced = [[Category:Divorced Sims]] |
||
|Engaged = [[Category:Engaged Sims]] |
|Engaged = [[Category:Engaged Sims]] |
Revision as of 00:17, 12 June 2010
- 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?)