User:Nikel23/Sandbox6: Difference between revisions

no edit summary
imported>Nikel23
No edit summary
imported>Nikel23
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1:
<!---*****OVERALL DESIGN CODE*****--->
{| class="metaboxmetainfobox {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" cellpadding="1.5"
! class="metaboxmetainfobox-header large {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
<includeonly>{{Checkmns|[[Category:Sims]]}}{{Checkfns|[[Category:Sims (fanon)]]}}</includeonly>
{{!}}-
Line 7:
<!---*****GAME LOGO*****--->
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} class="metaboxmetainfobox-logo" colspan="2" {{!}} <small><center>{{GetGameImage|{{{game}}}|{{{neighbor|}}}}}</center></small>
{{!}}-
}}
Line 13:
<!---*****HEADSHOT*****--->
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} class="metaboxmetainfobox-image" colspan="2" {{!}} {{{image}}}
{{!}}-
}}
Line 19:
<!---*****BIOGRAPHY SECTION*****--->
{{#if:{{{caption<includeonly>|</includeonly>}}} |
{{!}} class="metaboxmetainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} Biography
{{!}}-
{{!}} class="metaboxmetainfobox-caption" colspan="2" {{!}} {{{caption}}}
{{!}}-
{{!}} class="metaboxmetainfobox-header- line" colspan="2" {{!}}
{{!}}-
}}
Line 29:
<!---*****BASIC SIMOLOGY*****--->
{{#if:{{{name<includeonly>|</includeonly>}}} |
{{!}} '''Name'''
{{!}} {{{name}}}
{{!}}-
}}
 
{{#if:{{{sex<includeonly>|</includeonly>}}} |
{{!}} '''Gender'''
{{!}} {{GetGenderImage|{{{sex}}} }} {{#ifeq: {{{sex}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex}}} }}
<includeonly>{{#ifeq: {{lc:{{{sex}}}}}| Malemale |{{Checkmns|[[Category:Male Sims]]}}{{Checkfns|[[Category:Male Sims (fanon)]]}} }}{{#ifeq: {{lc:{{{sex}}}}}| Femalefemale |{{Checkmns|[[Category:Female Sims]]}}{{Checkfns|[[Category:Female Sims (fanon)]]}} }}{{#ifeq: {{lc:{{{sex}}}}}| Ambiguousambiguous |{{Checkmns|[[Category:Sims with an ambiguous gender]]}} }}</includeonly>
{{!}}-
}}
 
|class="sim-infobox-header ts2 line" colspan="2" |
|-
{{#if:{{{sex2<includeonly>|</includeonly>}}} |
{{!}} '''Gender'''
{{!}} {{GetGender2Image|{{{sex2}}} }} {{#ifeq: {{{sex2}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex2}}} }}
<includeonly>{{#ifeq: {{lc:{{{sex2}}}}}| Malemale |{{Checkmns|[[Category:Male Sims]]}}{{Checkfns|[[Category:Male Sims (fanon)]]}} }}{{#ifeq: {{lc:{{{sex2}}}}}| Femalefemale |{{Checkmns|[[Category:Female Sims]]}}{{Checkfns|[[Category:Female Sims (fanon)]]}} }}{{#ifeq: {{lc:{{{sex2}}}}}| Ambiguousambiguous |{{Checkmns|[[Category:Sims with an ambiguous gender]]}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{age<includeonly>|</includeonly>}}} |
{{!}}''' Age'''
{{!}} {{GetStageImage|{{{age}}} }} {{{age}}}
<includeonly>{{GetStageCat|{{{age}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{state<includeonly>|</includeonly>}}} |
{{!}}''' Life state'''
{{!}} {{GetStateImage|{{{state}}} }} {{#ifeq:{{{state}}}|Mannequin|[[Mannequin (The Sims 2)|Mannequin]]|[[{{{state}}}]]}}
<includeonly>{{GetStateCat|{{{state}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{state2<includeonly>|</includeonly>}}} |
{{!}}''' Life state'''
{{!}} {{GetState2Image|{{{state2}}} }} [[{{{state2}}}]]
<includeonly>{{GetStateCat|{{{state2}}}}}</includeonly>
{{!}}-
}}
 
 
<!---*****EDUCATION/EMPLOYMENT*****--->
{{#ifeq: {{#expr: {{#if:{{{school|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{grade|}}}|1|0}} or {{#if:{{{career|}}}|1|0}} or {{#if:{{{career2|}}}|1|0}} or {{#if:{{{career3|}}}|1|0}} or {{#if:{{{major|}}}|1|0}} or {{#if:{{{year|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} Education and employment
{{!}} {{IB-sectionheader|Education and Employment|{{{game}}} }}
{{!}}-
 
{{#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}}'''
{{!}} {{GetSchoolImage|{{{school}}} }} {{{school}}}
<includeonly>{{GetSchoolCat|{{{school}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{grade<includeonly>|</includeonly>}}} |
{{!}}''' Grade'''
{{!}} {{{grade}}}
{{!}}-
}}
 
{{#if:{{{major<includeonly>|</includeonly>}}} |
{{!}}'''Major'''
{{!}}[[File:{{{major}}}.png|20px]] {{{major}}}
<includeonly>{{#if: {{{major|}}} | {{#ifeq:{{NAMESPACE}}| | [[Category:{{{major}}} majors]] }} }}{{#if: {{{major|}}} | {{#ifeq:{{NAMESPACE}}|Fanon| [[Category:{{{major}}} majors (fanon)]] }} }}</includeonly>
{{!}}-
}}
{{#if:{{{year<includeonly>|</includeonly>}}} |
{{!}}''' Year'''
{{!}} {{{year}}}
{{!}}{{{year}}}<includeonly>{{#if: {{{year|}}} | {{#ifeq:{{NAMESPACE}}| |{{#ifeq: {{{year}}}| Freshman | [[Category:Freshmen]] }}{{#ifeq: {{{year}}}| Sophomore | [[Category:Sophomores]] }}{{#ifeq: {{{year}}}| Junior | [[Category:Juniors]] }}{{#ifeq: {{{year}}}| Senior | [[Category:Seniors]] }} }} }}</includeonly>
<includeonly>{{#ififeq: {{lc:{{{year|}}}}} | freshman | {{#ifeqCheckmns|[[Category:{{NAMESPACEFreshmen]]}}|Fanon|{{#ifeq: {{{year}}}Checkfns| Freshman | [[Category:Freshmen (fanon)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | Sophomoresophomore | {{Checkmns|[[Category:Sophomores]]}}{{Checkfns|[[Category:Sophomores (fanon)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | Juniorjunior | {{Checkmns|[[Category:Juniors]]}}{{Checkfns|[[Category:Juniors (fanon)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | Seniorsenior | {{Checkmns|[[Category:Seniors]]}}{{Checkfns|[[Category:Seniors (fanon)]] }} }} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{career<includeonly>|</includeonly>}}} |
{{!}} rowspan="2" {{!}}'''Career'''
{{!}} {{GetCareerImage|{{{career}}}|{{{game}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career}}} }}|{{{careerlevel}}}]] | {{{career}}} }}
{{!}}-
{{!}}{{GetCareerImage|{{{career}}}|{{{game}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career}}} }}|{{{careerlevel}}}]] | {{{career}}} }}
<includeonly>{{Checkmns|{{GetCareerCat|{{{career}}}}}}}{{Checkfns|{{GetCareerCat|{{{career}}}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{career2<includeonly>|</includeonly>}}} |
{{!}} rowspan="2" {{!}}'''Career'''
{{!}} {{GetCareer2Image|{{{career2}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career2}}} }}|{{{careerlevel}}}]] | {{{career2}}} }}
{{!}}-
{{!}}{{GetCareer2Image|{{{career2}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career2}}} }}|{{{careerlevel}}}]] | {{{career2}}} }}
<includeonly>{{Checkmns|{{GetCareerCat|{{{career2}}}}}}}{{Checkfns|{{GetCareerCat|{{{career2}}}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{career3<includeonly>|</includeonly>}}} |
{{!}} rowspan="2" {{!}}'''Career'''
{{!}}-
{{!}}{{GetCareer3Image|{{{career3}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career3}}} }}|{{{careerlevel}}}]] | {{{career3}}} }}
<includeonly>{{Checkmns|{{GetCareerCat|{{{career3}}}}}}}{{Checkfns|{{GetCareerCat|{{{career3}}}}}}}</includeonly>
{{!}}-
}}
}}<!--Closing bracket for "Career 3" parameter-->
}}<!--Closing bracket for "Education and Employment" header section-->
 
<!---*****FAMILY*****--->
{{#ifeq: {{#expr: {{#if:{{{parents|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{siblings|}}}|1|0}} or {{#if:{{{spouse|}}}|1|0}} or {{#if:{{{maritalstatus|}}}|1|0}} or {{#if:{{{child|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} {{#if:{{{family<includeonly>|</includeonly>}}} | {{{family}}} | Family}}
{{!}} {{IB-sectionheader|Family|{{{game}}} }}
{{!}}-
 
{{#if:{{{parents<includeonly>|</includeonly>}}} |
{{!}} style="vertical-align:text-top" {{!}}'''Parents'''
{{!}} style="vertical-align:text-top" {{!}}{{{parents}}}
{{!}}-
}}
 
{{#if:{{{siblings<includeonly>|</includeonly>}}} |
{{!}} Siblings
{{!}} style="vertical-align:text-top" {{!}} '''Sibling(s)'''
{{!}} style="vertical-align:text-top" {{!}}{{{siblings}}}
{{!}}-
}}
 
{{#if:{{{maritalstatus<includeonly>|</includeonly>}}} |
{{!}} style="vertical-align:text-top" {{!}}'''Marital status'''
{{!}} style="vertical-align:text-top" {{!}}{{{maritalstatus}}}
<includeonly>{{GetMaritalCat|{{{maritalstatus}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{spouse<includeonly>|</includeonly>}}} |
{{!}} style="vertical-align:text-top" {{!}}'''Romances'''
{{!}} style="vertical-align:text-top" {{!}}{{{spouse}}}
{{!}}-
}}
 
{{#if:{{{child<includeonly>|</includeonly>}}} |
{{!}} Children
{{!}} style="vertical-align:text-top;" {{!}}'''Child(ren)'''
{{!}} style="vertical-align:text-top;" {{!}} {{{child}}}
<includeonly>{{#ifeq: {{lc:{{{child|}}}}}| Nonenone | | {{#ifeq: {{lc:{{{child|}}}}}| Unknownunknown |<!-- Not known to have children --> | {{#ifeq:{{NAMESPACE}}| Checkmns|[[Category:Parents]]|<!--Not in Main: namespace-->}} }} }}{{#ifeq: {{{child|}}}| None | | {{#ifeq: {{{child|}}}| Unknown | |{{#ifeq:{{NAMESPACE}}|FanonCheckfns|[[Category:Parents (fanon)]]|<!--Not in Main: namespace-->}} }} }}</includeonly>
{{!}}-
}}
}}
 
<!---*****HOUSEHOLD/PETS*****--->
{{#ifeq: {{#expr: {{#if:{{{roommates|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{pets|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} {{#if:{{{household<includeonly>|</includeonly>}}} | {{{household}}} | Household}}
{{!}} {{IB-sectionheader|Household|{{{game}}} }}
{{!}}-
 
{{#if:{{{roommates<includeonly>|</includeonly>}}} |
{{!}}''' Roommates'''
{{!}} {{{roommates}}}
{{!}}-
}}
 
{{#if:{{{pets<includeonly>|</includeonly>}}} |
{{!}}''' Pets'''
{{!}} {{{pets}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| Checkmns|[[Category:Pet owners]]|<!--Not in Main: namespace-->}}{{#ifeq:{{NAMESPACE}}|FanonCheckfns|[[Category:Pet owners (fanon)]]|<!--Not in Main: namespace-->}}</includeonly>
{{!}}-
}}
}}<!--Closing bracket for "Pets" parameter-->
}}<!--Closing bracket for "Household" header section-->
 
<!---*****PERSONALITY/TRAITS/FAVORITES/ZODIAC/ASPIRATIONS/ETC*****--->
{{#ifeq: {{#expr: {{#if:{{{trait1|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{trait2|}}}|1|0}} or {{#if:{{{trait3|}}}|1|0}} or {{#if:{{{trait4|}}}|1|0}} or {{#if:{{{trait5|}}}|1|0}} or {{#if:{{{trait6|}}}|1|0}} or {{#if:{{{trait7|}}}|1|0}} or {{#if:{{{hiddentrait1|}}}|1|0}} or {{#if:{{{hiddentrait2|}}}|1|0}} or {{#if:{{{hiddentrait3|}}}|1|0}} or {{#if:{{{medievaltrait1|}}}|1|0}} or {{#if:{{{medievaltrait2|}}}|1|0}} or {{#if:{{{flaw|}}}|1|0}} or {{#if:{{{legendary|}}}|1|0}} or {{#if:{{{sign|}}}|1|0}} or {{#if:{{{sign2|}}}|1|0}} or {{#if:{{{asp|}}}|1|0}} or {{#if:{{{asp2|}}}|1|0}} or {{#if:{{{asp3|}}}|1|0}} or {{#if:{{{want|}}}|1|0}} or {{#if:{{{wish|}}}|1|0}} or {{#if:{{{music|}}}|1|0}} or {{#if:{{{food|}}}|1|0}} or {{#if:{{{color|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} Personality
{{!}} {{IB-sectionheader|Personality|{{{game}}} }}
{{!}}-
 
<!--THE SIMS 3 / THE SIMS 4 TRAITS-->
{{#if:{{{trait1<includeonly>|</includeonly>}}} |
{{!}} style="vertical-align:text-top;" rowspan="{{#expr: 1+{{#if:{{{trait2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{trait3<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{trait4<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{trait5<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{trait6<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{trait7<includeonly>|</includeonly>}}}|1|0}} }}" {{!}} {{#ifeq: {{lc:{{{state2|}}}}}| Plumbotplumbot |''' Trait chips''' |''' Traits'''}}
{{!}} {{GetTraitImage|{{{trait1}}}|{{{game}}} }} &nbsp;{{GetTraitLink|{{{trait1}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait1}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{trait2<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{trait2}}}|{{{game}}} }} &nbsp;{{GetTraitLink|{{{trait2}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait2}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{trait3<includeonly>|</includeonly>}}} |
{{#if:{{{trait3<includeonly>|</includeonly>}}} |
{{!}}{{GetTraitImage|{{{trait3}}}|{{{game}}} }}&nbsp;{{GetTraitLink|{{{trait3}}}|{{{game}}} }}
{{!}} {{GetTraitImage|{{{trait3}}}|{{{game}}} }} {{GetTraitLink|{{{trait3}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait3}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{trait4<includeonly>|</includeonly>}}} |
{{#if:{{{trait4<includeonly>|</includeonly>}}} |
{{!}}{{GetTraitImage|{{{trait4}}}|{{{game}}} }}&nbsp;{{GetTraitLink|{{{trait4}}}|{{{game}}} }}
{{!}} {{GetTraitImage|{{{trait4}}}|{{{game}}} }} {{GetTraitLink|{{{trait4}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait4}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{trait5<includeonly>|</includeonly>}}} |
{{#if:{{{trait5<includeonly>|</includeonly>}}} |
{{!}}{{GetTraitImage|{{{trait5}}}|{{{game}}} }}&nbsp;{{GetTraitLink|{{{trait5}}}|{{{game}}} }}
{{!}} {{GetTraitImage|{{{trait5}}}|{{{game}}} }} {{GetTraitLink|{{{trait5}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait5}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{trait6<includeonly>|</includeonly>}}} |
{{#if:{{{trait6<includeonly>|</includeonly>}}} |
{{!}}{{GetTraitImage|{{{trait6}}}|{{{game}}} }}&nbsp;{{GetTraitLink|{{{trait6}}}|{{{game}}} }}
{{!}} {{GetTraitImage|{{{trait6}}}|{{{game}}} }} {{GetTraitLink|{{{trait6}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait6}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{trait7<includeonly>|</includeonly>}}} |
{{#if:{{{trait7<includeonly>|</includeonly>}}} |
{{!}}{{GetTraitImage|{{{trait7}}}|{{{game}}} }}&nbsp;{{GetTraitLink|{{{trait7}}}|{{{game}}} }}
{{!}} {{GetTraitImage|{{{trait7}}}|{{{game}}} }} {{GetTraitLink|{{{trait7}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait7}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
}}<!--- This bracket must exist or hidden traits remain hidden all the time--->
 
{{#if:{{{hiddentrait1<includeonly>|</includeonly>}}} |
{{!}} style="vertical-align:text-top;" rowspan="{{#expr: 1+{{#if:{{{hiddentrait2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{hiddentrait3<includeonly>|</includeonly>}}}|1|0}} }}" {{!}}'''Hidden Traits'''Hidden traits
{{!}} {{GetTraitImage|{{{hiddentrait1}}}|{{{game}}} }} &nbsp;{{GetTraitLink|{{{hiddentrait1}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{hiddentrait1}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{hiddentrait2<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{hiddentrait2}}}|{{{game}}} }} &nbsp;{{GetTraitLink|{{{hiddentrait2}}}|{{{game}}}}}
<includeonly>{{GetTraitCat|{{{hiddentrait2}}}|{{{game}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{hiddentrait3<includeonly>|</includeonly>}}} |
{{!}}{{GetTraitImage|{{{hiddentrait3}}}|{{{game}}} }}&nbsp; {{GetTraitLink|{{{hiddentrait3}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{hiddentrait3}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
<!--THE SIMS MEDIEVAL TRAITS/FLAWS-->
{{#if:{{{medievaltrait1<includeonly>|</includeonly>}}} |
{{!}} rowspan="{{#expr: 1+{{#if:{{{medievaltrait2<includeonly>|</includeonly>}}}|1|0}} }}" style="vertical-align:text-top;" {{!}}''' Traits'''
{{!}} {{GetMedievalTraitImage|trait|{{{medievaltrait1}}} }}&nbsp; {{GetTraitLink|{{{medievaltrait1}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{medievaltrait1}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{medievaltrait2<includeonly>|</includeonly>}}} |
{{!}} {{GetMedievalTraitImage|trait|{{{medievaltrait2}}} }}&nbsp; {{GetTraitLink|{{{medievaltrait2}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{medievaltrait2}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{flaw<includeonly>|</includeonly>}}} |
{{!}}''' Fatal flaw'''
{{!}} {{GetMedievalTraitImage|flaw|{{{flaw}}} }}&nbsp;{{GetTraitLink|{{{flaw}}}|{{{game}}} }}<includeonly>{{GetTraitCat|{{{flaw}}}|{{{game}}} }}</includeonly>
<includeonly>{{GetTraitCat|{{{flaw}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{legendary<includeonly>|</includeonly>}}} |
{{!}}''' Legendary trait'''
{{!}} {{GetMedievalTraitImage|legendary|{{{legendary}}} }}&nbsp; {{GetTraitLink|{{{legendary}}}|{{{game}}} }}<includeonly>{{GetTraitCat|{{{legendary}}}|{{{game}}} }}</includeonly>
<includeonly>{{GetTraitCat|{{{legendary}}}|{{{game}}} }}</includeonly>
{{!}}-
}}
 
<!--ZODIAC-->
{{#if:{{{sign<includeonly>|</includeonly>}}} |
{{!}} '''Zodiac sign'''
{{!}} {{GetSignImage|{{{sign}}} }}&nbsp; {{{sign}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| Checkmns|[[Category:{{{sign}}} Sims]]|<!--Not in Main: namespace-->}}{{#ifeq:{{NAMESPACE}}|FanonCheckfns|[[Category:{{{sign}}} Sims (fanon)]]|<!--Not in Main: namespace-->}}</includeonly>
{{!}}-
}}
 
{{#if:{{{sign2<includeonly>|</includeonly>}}} |
{{!}} '''Zodiac sign'''
{{!}} {{GetSign2Image|{{{sign2}}} }}&nbsp; {{{sign2}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| Checkmns|[[Category:{{{sign2}}} Sims]]|<!--Not in Main: namespace-->}}{{#ifeq:{{NAMESPACE}}|FanonCheckfns|[[Category:{{{sign2}}} Sims (fanon)]]|<!--Not in Main: namespace-->}}</includeonly>
{{!}}-
}}
 
<!--ASPIRATIONS (TS2/TS4)/LIFETIME WANT (TS2)/LIFETIME WISH (TS3)-->
{{#if:{{{asp<includeonly>|</includeonly>}}} |
{{!}} '''Aspiration'''
{{!}} {{GetAspirationImage|{{{asp}}} }}&nbsp; {{{asp}}}
<includeonly>{{Checkmns|[[Category:{{{asp}}} Sims]]}}{{Checkfns|[[Category:{{{asp}}} Sims (fanon)]]}}</includeonly>
{{!}}-
}}
 
{{#if:{{{asp2<includeonly>|</includeonly>}}} |
{{!}} '''Secondary aspiration'''
{{!}} {{GetAspirationImage|{{{asp2}}} }}&nbsp; {{{asp2}}}
<includeonly>{{Checkmns|[[Category:{{{asp2}}} Sims]]}}{{Checkfns|[[Category:{{{asp2}}} Sims (fanon)]]}}</includeonly>
{{!}}-
}}
 
{{#if:{{{asp3<includeonly>|</includeonly>}}} |
{{!}}''' Aspiration'''
{{!}} {{GetAspiration3Image|{{{asp3}}} }}&nbsp; {{{asp3}}}
{{!}}-
}}
 
{{#if:{{{want<includeonly>|</includeonly>}}} |
{{!}} style="vertical-align: text-top;"{{!}}'''Lifetime want'''
{{!}} style="vertical-align: text-top;" {{!}}{{GetWantImage|{{{want}}} }}&nbsp; {{{want}}}
{{!}}-
}}
 
{{#if:{{{wish<includeonly>|</includeonly>}}} |
{{!}} style="vertical-align: text-top;"{{!}}'''Lifetime wish'''
{{!}} style="vertical-align: text-top;" {{!}}{{GetWishImage|{{{wish}}} }}&nbsp; {{{wish}}}
{{!}}-
}}
 
|-
<!--FAVORITES-->
{{#ifeq: {{#expr: {{#if:{{{music|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{food|}}}|1|0}} or {{#if:{{{color|}}}|1|0}} }} | 1 |
{{!}} style="vertical-align: text-top;" rowspan="{{#expr: {{#if:{{{music<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{food<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{color<includeonly>|</includeonly>}}}|1|0}} }}" {{!}} '''Favorites'''
 
{{!}}{{#if:{{{music<includeonly>|</includeonly>}}} |
{{#if:{{{music<includeonly>|</includeonly>}}} |
{{!}}{{GetFavoritesImage|music|{{{music}}} }}&nbsp;{{{music}}}
{{!}} {{GetFavoritesImage|music|{{{music}}} }} {{{music}}}
<includeonly>{{GetFavoritesCat|music|{{{music}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{food<includeonly>|</includeonly>}}} |
{{!}} {{GetFavoritesImage|food|{{{food}}} }}&nbsp; {{{food}}}
<includeonly>{{GetFavoritesCat|food|{{{food}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{color<includeonly>|</includeonly>}}} |
{{!}} {{GetFavoritesImage|color|{{{color}}} }}&nbsp; {{{color}}}
<includeonly>{{GetFavoritesCat|color|{{{color}}}}}</includeonly>
{{!}}-
Line 305 ⟶ 340:
}}<!--Closing bracket for "Favorites" section-->
}}<!--Closing bracket for "Personality" header section-->
 
<!---*****CHEMISTRY*****--->
{{#ifeq: {{#expr: {{#if:{{{turnon1|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{turnon2|}}}|1|0}} or {{#if:{{{turnoff|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} Chemistry
{{!}} {{IB-sectionheader|Chemistry|{{{game}}} }}
{{!}}-
 
{{#if:{{{turnon1<includeonly>|</includeonly>}}} |
{{!}} rowspan="{{#expr: 1+{{#if:{{{turnon2<includeonly>|</includeonly>}}}|1|0}} }}" style="vertical-align: text-top;" {{!}}''' Turn -ons'''
{{!}} {{GetChemistryImage|{{{turnon1}}} }}&nbsp; {{{turnon1}}}
<includeonly>{{GetChemistryCat|turnon1|{{{turnon1}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{turnon2<includeonly>|</includeonly>}}} |
{{!}} {{GetChemistryImage|{{{turnon2}}} }}&nbsp; {{{turnon2}}}
<includeonly>{{GetChemistryCat|turnon2|{{{turnon2}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{turnoff<includeonly>|</includeonly>}}} |
{{!}} '''Turn -off'''
{{!}} {{GetChemistryImage|{{{turnoff}}} }}&nbsp; {{{turnoff}}}
<includeonly>{{GetChemistryCat|turnoff|{{{turnoff}}}}}</includeonly>
{{!}}-
}}
}}<!--Closing bracket for "Turn-off" parameter-->
}}<!--Closing bracket for "Chemistry" header section-->
 
<!---*****APPEARANCE*****--->
{{#ifeq: {{#expr: {{#if:{{{hair|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{hair2|}}}|1|0}} or {{#if:{{{eye|}}}|1|0}} or {{#if:{{{eye2|}}}|1|0}} or {{#if:{{{skin|}}}|1|0}} or {{#if:{{{skin2|}}}|1|0}} or {{#if:{{{body|}}}|1|0}} or {{#if:{{{build|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} Appearance
{{!}} {{IB-sectionheader|Appearance|{{{game}}} }}
{{!}}-
 
{{#if:{{{hair<includeonly>|</includeonly>}}} |
{{!}}''' Hair color'''
{{!}} {{GetAppearanceImage|hair|{{{hair}}} }}&nbsp; {{{hair}}}
<includeonly>{{GetAppearanceCat|hair|{{{hair}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{hair2<includeonly>|</includeonly>}}} |
{{!}} '''Hair color'''
{{!}} {{GetAppearance2Image|hair|{{{hair2}}} }}&nbsp; {{{hair2}}}
<includeonly>{{GetAppearanceCat|hair|{{{hair2}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{eye<includeonly>|</includeonly>}}} |
{{!}} '''Eye color'''
{{!}} {{GetAppearanceImage|eye|{{{eye}}} }}&nbsp; {{{eye}}}
<includeonly>{{GetAppearanceCat|eye|{{{eye}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{eye2<includeonly>|</includeonly>}}} |
{{!}} '''Eye color'''
{{!}} {{GetAppearance2Image|eye|{{{eye2}}} }}&nbsp; {{{eye2}}}
<includeonly>{{GetAppearanceCat|eye|{{{eye2}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{skin<includeonly>|</includeonly>}}} |
{{!}}''' Skin color'''
{{!}} {{GetAppearanceImage|skin|{{{skin}}} }}&nbsp; {{{skin}}}
<includeonly>{{GetAppearanceCat|skin|{{{skin}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{skin2<includeonly>|</includeonly>}}} |
{{!}} '''Skin color'''
{{!}} {{GetAppearance2Image|skin|{{{skin2}}} }}&nbsp; {{{skin2}}}
<includeonly>{{GetAppearanceCat|skin|{{{skin2}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{body<includeonly>|</includeonly>}}} |
{{!}} '''Body shape'''
{{!}} {{GetAppearanceImage|body|{{{body}}} }}&nbsp; {{{body}}}
<includeonly>{{GetAppearanceCat|body|{{{body}}} }}</includeonly>
{{!}}-
Line 375 ⟶ 422:
<!---Editor note: Removed previously-defined parameter "build" that appeared to have no usage on the wiki. If this causes problems, please restore the body parameter - ~~LiR~~ --->
}}<!--Closing bracket for "Appearance" header section-->
 
<!---*****REPUTATION/CELEBRITY STATUS/GROUP*****--->
{{#ifeq: {{#expr: {{#if:{{{celebritystatus|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{rep|}}}|1|0}} or {{#if:{{{district|}}}|1|0}} or {{#if:{{{reputation|}}}|1|0}} or {{#if:{{{social|}}}|1|0}} or {{#if:{{{group1|}}}|1|0}} or {{#if:{{{group2|}}}|1|0}} or {{#if:{{{group3|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} Social standing
{{!}} {{IB-sectionheader|Social Standing|{{{game}}} }}
{{!}}-
 
{{#if:{{{celebritystatus<includeonly>|</includeonly>}}} |
{{!}} '''Celebrity status'''
{{!}} {{GetCelebrityImage|{{{celebritystatus}}} }}
<includeonly>{{#ifeq:{{NAMESPACE}}| Checkmns|[[Category:Celebrities]]|<!--Not in Main: namespace-->}}{{#ifeq:{{NAMESPACE}}|FanonCheckfns|[[Category:Celebrities (fanon)]]|<!--Fanon namespace-->}}</includeonly>
{{!}}-
}}
 
{{#if:{{{rep<includeonly>|</includeonly>}}} |
{{!}} '''Rep group'''
{{!}} {{{rep}}}<includeonly>{{GetRepGroupCat|{{{rep}}} }}</includeonly>
<includeonly>{{GetRepGroupCat|{{{rep}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{district<includeonly>|</includeonly>}}} |
{{!}} '''District'''
{{!}} {{{district}}}<includeonly>{{GetDistrictCat|{{{district}}} }}</includeonly>
<includeonly>{{GetDistrictCat|{{{district}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{reputation<includeonly>|</includeonly>}}} |
{{!}}''' Reputation'''
{{!}} {{GetReputationImage|{{{reputation}}} }} {{{reputation}}}
{{!}}-
}}
 
{{#if:{{{social<includeonly>|</includeonly>}}} |
{{!}} '''Social class'''
{{!}} {{{social}}}<includeonly>{{GetSocialClassCat|{{{social}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{group1<includeonly>|</includeonly>}}} |
{{!}} rowspan="{{#expr: 1+{{#if:{{{group2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{group3<includeonly>|</includeonly>}}}|1|0}} }}" style="vertical-align: text-top;"{{!}}''' Social group'''
{{!}} [[File:{{{group1}}} social group.png|20px]] {{{group1}}}
{{#if:{{{group1<includeonly>|</includeonly>}}} |
{{!}} [[File:{{{group1}}} social group.png|20px]] {{{group1}}}<includeonly>{{GetSocialGroupCat|{{{group1}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{group2<includeonly>|</includeonly>}}} |
{{!}} [[File:{{{group2}}} social group.png|20px]] {{{group2}}}<includeonly>{{GetSocialGroupCat|{{{group2}}} }}</includeonly>
<includeonly>{{GetSocialGroupCat|{{{group2}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{group3<includeonly>|</includeonly>}}} |
{{!}} [[File:{{{group3}}} social group.png|20px]] {{{group3}}}<includeonly>{{GetSocialGroupCat|{{{group3}}} }}</includeonly>
<includeonly>{{GetSocialGroupCat|{{{group3}}} }}</includeonly>
{{!}}-
}}
}}<!--Closing bracket for "Group3" parameter.-->
 
}}<!--Closing bracket for "Social Group(s) section-->
{{#if:{{{club1<includeonly>|</includeonly>}}} |
}}<!--Closing bracket for "Social Standing" header section-->
{{!}} rowspan="{{#expr: {{#if:{{{club1<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{club2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{club3<includeonly>|</includeonly>}}}|1|0}} }}" {{!}} Clubs
{{!}} {{GetClub|{{{club1}}}}}
{{!}}-
}}
 
{{#if:{{{club2<includeonly>|</includeonly>}}} |
{{!}} {{GetClub|{{{club2}}}}}
{{!}}-
}}
 
{{#if:{{{club3<includeonly>|</includeonly>}}} |
{{!}} {{GetClub|{{{club3}}}}}
{{!}}-
}}
}}<!--Closing bracket for "Social Standing" header section-->
 
<!---*****OTHER INFORMATION*****--->
{{#ifeq: {{#expr: {{#if:{{{game|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{rep|}}}|1|0}} or {{#if:{{{district|}}}|1|0}} or {{#if:{{{play|}}}|1|0}} or {{#if:{{{cod|}}}|1|0}} or {{#if:{{{neighbor|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} Social standing
{{!}} {{IB-sectionheader|Other Information|{{{game}}} }}
{{!}}-
 
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}}''' Game'''
{{!}} {{GetGameIcon|{{{game}}}|{{{neighbor}}} }} ''[[{{{game}}}]]''
<includeonly>{{#ifeq:{{NAMESPACE}}| Checkmns|{{GetGameCat|{{{game}}}}}|<!--Not in Main: namespace-->}}</includeonly>
{{!}}-
}}
 
{{#if:{{{play<includeonly>|</includeonly>}}} |
{{!}} '''Playability'''
{{!}} {{{play}}}<includeonly>{{GetPlayCat|{{{play}}} }}
<includeonly>{{GetPlayCat|{{{play}}} }}
{{#if: {{{neighbor|}}} | {{#ifeq: {{{play|}}}| Townie | {{#ifeq: {{{neighbor|}}}| Downtown | [[Category:Downtownies]]}} }} }}{{#ifeq: {{#expr: {{#ifeq:{{{play|}}}|Deceased|1|0}} or {{#ifeq:{{{state|}}}|Ghost|1|0}} }}| 1 | {{#ifeq: {{{age|}}}| Elder || {{Checkmns|[[Category:Sims that died young]]}}{{Checkfns|[[Category:Sims that died young (fanon)]]}} }} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{cod<includeonly>|</includeonly>}}} |
{{!}}''' Cause of death'''
{{!}} {{{cod}}}
<includeonly>{{GetCodCat|{{{cod}}}}}</includeonly>
{{!}}-
}}
 
{{#if:{{{neighbor<includeonly>|</includeonly>}}} |
{{!}} {{#switch:{{MGL|{{{game}}} }}
|TS3
|TS4=''' World'''
|#default=''' Neighborhood'''}}
{{!}}{{Checkmns| {{#switch: {{{neighbor}}}
|Downtown = {{#ifeq:{{{game}}}|The Sims: Hot Date|[[Downtown (The Sims)|Downtown]]|[[Downtown (The Sims 2)|Downtown]]}}
Line 458 ⟶ 539:
<includeonly>{{Checkmns|[[Category:{{{neighbor}}} Sims]]}}{{Checkfns|[[Category:{{{neighbor}}} Sims (fanon)]]}}</includeonly>
{{!}}-
}}
}}<!--Closing bracket for "Neighborhood/World" parameter-->
}}<!--Closing bracket for "Other Information" header section-->
 
<!---*****FANON COMMENTS LINK*****-->
{{#ifeq: {{#expr: {{#if:{{{fanoncomments|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}} colspanclass="2" style="fontmetainfobox-size:120%;header text-alignlarge {{lc:center; background:{{IB-headercolorMGL | {{Vgcodevgcode | {{{game<includeonly>|PAGENAME</includeonly>}}} }} }}; color:white;}}" padding:3px; box-shadow: 1px 1px 3px #777; text-shadow: 1px 1px 2px #222; font-weight: bold;colspan="2"{{!}} {{{fanoncomments}}}
}}<!--Closing bracket for "Fanon Comments" section-->
|}<noinclude>
|}<!--Closing brace for infobox-->
 
Things done:
#Categorization now consistently uses {{T|Checkmns}} and {{T|Checkfns}} to check namespace.
#<nowiki>{{{family}}} and {{{household}}}</nowiki> parameters are properly added.
#Css elements and styles now properly use class whenever applicable.
#Generally tidied the code.
#Column width for first column of each row is now set by class, so it can be made consistent for other infoboxes that use this class (might still have possible bugs – need to foresee more).
#Every cell is now vertically-aligned.
#Removed triple quotes for first column of each row – bolding the text is now part of css class. Text should be as raw as possible and let css class modify the style. The same is applied to caption.
</noinclude>
Anonymous user