Template:GetMaritalCat: Difference between revisions
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> |
<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| (fanon)}}]] |
|ex-boyfriend = [[Category:Sims who have exes{{Checkfns| (fanon)}}]] |
||
|married = [[Category:Married Sims{{Checkfns| (fanon)}}]] |
|married = [[Category:Married Sims{{Checkfns| (fanon)}}]] |
||
}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 15:45, 28 May 2012
- 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?)