Template:Infobox Sim: Difference between revisions

Updating some more fields for the CC namespace
(per https://sims.wikia.com/wiki/Template:Infobox_Sim?curid=173863&diff=874333&oldid=861873)
(Updating some more fields for the CC namespace)
Line 3:
{| class="metainfobox {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" cellpadding="1.5"
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
<includeonly>{{CheckmnsNamespace detect |main=[[Category:Sims]]}}{{Checkfns |fanon=[[Category:Sims (fanon)]] |custom=[[Category:Sims (custom)]]}}</includeonly>
{{!}}-
 
Line 23:
{{!}} Gender
{{!}} {{GetGenderImage|{{{sex}}} }} {{#ifeq: {{{sex}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex}}} }}
<includeonly>{{#ifeq: {{lc:{{{sex}}}}}| male |{{CheckmnsNamespace detect |main=[[Category:Male Sims]]}}{{Checkfns |fanon=[[Category:Male Sims (fanon)]] |custom=[[Category:Male Sims (custom)]]}} }}{{#ifeq: {{lc:{{{sex}}}}}| female |{{CheckmnsNamespace detect |main=[[Category:Female Sims]]}}{{Checkfns |fanon=[[Category:Female Sims (fanon)]] |custom=[[Category:Female Sims (custom)]]}} }}{{#ifeq: {{lc:{{{sex}}}}}| ambiguous |{{CheckmnsNamespace detect |main=[[Category:Sims with an ambiguous gender]] |custom=[[Category:Sims with an ambiguous gender (custom)]]}} }}</includeonly>
{{!}}-
| {{#if:{{{sex2|}}}|<!-- If "sex2" used, ignore --> | <includeonly>{{CheckmnsNamespace detect |main=[[Category:Sims with no gender]]}}{{Checkfns |fanon=[[Category:Sims with no gender (fanon)]] |custom=[[Category:Sims with no gender (custom)]]}}</includeonly>}}
}}
 
Line 31:
{{!}} Gender
{{!}} {{GetGender2Image|{{{sex2}}} }} {{#ifeq: {{{sex2}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex2}}} }}
<includeonly>{{#ifeq: {{lc:{{{sex2}}}}}| male |{{CheckmnsNamespace detect |main=[[Category:Male Sims]]}}{{Checkfns |fanon=[[Category:Male Sims (fanon)]] |custom=[[Category:Male Sims (custom)]]}} }}{{#ifeq: {{lc:{{{sex2}}}}}| female |{{CheckmnsNamespace detect |main=[[Category:Female Sims]]}}{{Checkfns |fanon=[[Category:Female Sims (fanon)]] |custom=[[Category:Female Sims (custom)]]}} }}{{#ifeq: {{lc:{{{sex2}}}}}| ambiguous |{{CheckmnsNamespace detect |main=[[Category:Sims with an ambiguous gender]] |custom=[[Category:Sims with an ambiguous gender (custom)]]}} }}</includeonly>
{{!}}-
| {{#if:{{{sex|}}}|<!-- If "sex" used, ignore --> | <includeonly>{{CheckmnsNamespace detect |main=[[Category:Sims with no gender]]}}{{Checkfns |fanon=[[Category:Sims with no gender (fanon)]] |custom=[[Category:Sims with no gender (custom)]]}}</includeonly>}}
}}
 
Line 86:
{{!}} Major
{{!}}[[File:{{{major}}}.png|20px]] {{{major}}}
<includeonly>{{CheckmnsNamespace detect |main=[[Category:{{{major}}} majors]]}} |fanon=[[Category:{{Checkfns{major}}} majors (fanon)]] |custom=[[Category:{{{major}}} majors (fanoncustom)]]}}</includeonly>
{{!}}-
}}
Line 93:
{{!}} Year
{{!}} {{{year}}}
<includeonly>{{#ifeq: {{lc:{{{year}}}}} | freshman | {{CheckmnsNamespace detect |main=[[Category:Freshmen]]}}{{Checkfns |fanon=[[Category:Freshmen (fanon)]] |custom=[[Category:Freshmen (custom)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | sophomore | {{CheckmnsNamespace detect |main=[[Category:Sophomores]]}}{{Checkfns |fanon=[[Category:Sophomores (fanon)]] |custom=[[Category:Sophomores (custom)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | junior | {{CheckmnsNamespace detect |main=[[Category:Juniors]]}}{{Checkfns |fanon=[[Category:Juniors (fanon)]] |custom=[[Category:Juniors (custom)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | senior | {{CheckmnsNamespace detect |main=[[Category:Seniors]]}}{{Checkfns |fanon=[[Category:Seniors (fanon)]] |custom=[[Category:Seniors (custom)]]}} }}</includeonly>
{{!}}-
}}
Line 158:
{{!}} Children
{{!}} {{{child}}}
<includeonly>{{#ifeq: {{lc:{{{child|}}}}}| none | | {{#ifeq: {{lc:{{{child|}}}}}| unknown |<!-- Not known to have children --> | {{CheckmnsNamespace detect |main=[[Category:Parents]]}}{{Checkfns |fanon=[[Category:Parents (fanon)]] |custom=[[Category:Parents (custom)]]}} }} }}</includeonly>
{{!}}-
}}
Line 183:
{{!}} Pets
{{!}} {{{pets}}}
<includeonly>{{CheckmnsNamespace detect |main=[[Category:Pet owners]]}}{{Checkfns |fanon=[[Category:Pet owners (fanon)]] |custom=[[Category:Pet owners (custom)]]}}</includeonly>
{{!}}-
}}
Line 447:
{{!}} Celebrity status
{{!}} {{GetCelebrityImage|{{{celebritystatus}}} }}
<includeonly>{{CheckmnsNamespace detect |main=[[Category:Celebrities]]}}{{Checkfns |fanon=[[Category:Celebrities (fanon)]] |custom=[[Category:Celebrities (custom)]]}}</includeonly>
{{!}}-
}}
Line 528:
{{!}} Playability
{{!}} {{{play}}}
<includeonly>{{GetPlayCat|{{{play}}} }}{{#if: {{{neighbor|}}} | {{#ifeq: {{{play|}}}| Townie | {{#ifeq: {{{neighbor|}}}| Downtown | {{Checkmns|[[Category:Downtownies]]}} }} }} }}{{#ifeq: {{#expr: {{#ifeq:{{{play|}}}|Deceased|1|0}} or {{#ifeq:{{{state|}}}|Ghost|1|0}} }}| 1 | {{#ifeq: {{{age|}}}| Elder || {{CheckmnsNamespace detect |main=[[Category:Sims that died young]]}}{{Checkfns |fanon=[[Category:Sims that died young (fanon)]] |custom=[[Category:Sims that died young (custom)]]}} }} }}</includeonly>
{{!}}-
}}