Anonymous user
Template:Infobox Sim: Difference between revisions
m
Cleaning up more redundant #if functions
sims>LostInRiverview mNo edit summary |
sims>LostInRiverview m (Cleaning up more redundant #if functions) |
||
Line 38:
{{#if:{{{sex<includeonly>|</includeonly>}}} |
{{!}} '''Gender'''
{{!}}
<includeonly>{{#ifeq: {{{sex}}}| Male |{{Checkmns|[[Category:Male Sims]]}}{{Checkfns|[[Category:Male Sims (fanon)]]}} }}{{#ifeq: {{{sex}}}| Female |{{Checkmns|[[Category:Female Sims]]}}{{Checkfns|[[Category:Female Sims (fanon)]]}} }}{{#ifeq: {{{sex}}}| Ambiguous |{{Checkmns|[[Category:Sims with an ambiguous gender]]}} }}</includeonly>
{{!}}-
Line 44:
{{#if:{{{sex2<includeonly>|</includeonly>}}} |
{{!}} '''Gender'''
{{!}}
<includeonly>{{#ifeq: {{{sex2}}}| Male |{{Checkmns|[[Category:Male Sims]]}}{{Checkfns|[[Category:Male Sims (fanon)]]}} }}{{#ifeq: {{{sex2}}}| Female |{{Checkmns|[[Category:Female Sims]]}}{{Checkfns|[[Category:Female Sims (fanon)]]}} }}{{#ifeq: {{{sex2}}}| Ambiguous |{{Checkmns|[[Category:Sims with an ambiguous gender]]}} }}</includeonly>
{{!}}-
Line 50:
{{#if:{{{age<includeonly>|</includeonly>}}} |
{{!}}'''Age'''
{{!}}
<includeonly>{{GetStageCat|{{{age}}}}}</includeonly>
{{!}}-
Line 56:
{{#if:{{{state<includeonly>|</includeonly>}}} |
{{!}}'''Life state'''
{{!}}
<includeonly>{{GetStateCat|{{{state}}}}}</includeonly>
{{!}}-
Line 62:
{{#if:{{{state2<includeonly>|</includeonly>}}} |
{{!}}'''Life state'''
{{!}}
<includeonly>{{GetStateCat|{{{state2}}}}}</includeonly>
{{!}}-
Line 72:
{{#if:{{{school<includeonly>|</includeonly>}}} |
{{!}}'''{{#ifeq: {{#expr: {{#ifeq:{{lc:{{{age|}}}}}|young adult|1|0}} or {{#ifeq:{{lc:{{{age|}}}}}|adult|1|0}} or {{#ifeq:{{lc:{{{age|}}}}}|elder|1|0}} }} | 1 | Alma Mater | School}}'''
{{!}}
<includeonly>{{GetSchoolCat|{{{school}}}}}</includeonly>
{{!}}-
Line 103:
{{!}} rowspan="2" {{!}}'''Career'''
{{!}}-
{{!}}
<includeonly>{{Checkmns|{{GetCareerCat|{{{career2}}}}}}}{{Checkfns|{{GetCareerCat|{{{career2}}}}}}}</includeonly>
{{!}}-
Line 110:
{{!}} rowspan="2" {{!}}'''Career'''
{{!}}-
{{!}}
<includeonly>{{Checkmns|{{GetCareerCat|{{{career3}}}}}}}{{Checkfns|{{GetCareerCat|{{{career3}}}}}}}</includeonly>
{{!}}-
|