User:Nikel23/Sandbox6: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>Nikel23
No edit summary
imported>Nikel23
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!---*****OVERALL DESIGN CODE*****--->
<!---*****OVERALL DESIGN CODE*****--->
{| class="sim-infobox bgcolor{{lc: {{MGL | The Sims 2 }} }}" cellpadding="1.5"
{| class="metainfobox {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" cellpadding="1.5"
! colspan="2" style="font-size:125%; text-align:center; background:{{IB-headercolor|{{Vgcode|{{{game|PAGENAME}}} }} }}; color:white; padding:3px; box-shadow: 1px 1px 3px #777; text-shadow: 1px 1px 2px #222; font-weight: bold;"{{!}}{{{name|{{PAGENAME}}}}}
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Sims]]|<!--Not in Main: namespace-->}}{{#ifeq:{{NAMESPACE}}|Fanon|[[Category:Sims (fanon)]]|<!--Not in Main: namespace-->}}</includeonly>
<includeonly>{{Checkmns|[[Category:Sims]]}}{{Checkfns|[[Category:Sims (fanon)]]}}</includeonly>
{{!}}-
{{!}}-


<!---*****GAME LOGO*****--->
<!---*****GAME LOGO*****--->
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="float:center; text-align:center" {{!}}<small><center>{{GetGameImage|{{{game}}}|{{{neighbor|}}}}}</center></small>
{{!}} class="metainfobox-logo" colspan="2" {{!}} <small><center>{{GetGameImage|{{{game}}}|{{{neighbor|}}}}}</center></small>
{{!}}-
{{!}}-
}}
}}
Line 13: Line 13:
<!---*****HEADSHOT*****--->
<!---*****HEADSHOT*****--->
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-image" colspan="2" {{!}} {{{image}}}
{{!}} colspan="2" style="float:center; border:1px solid #e0e0e0; width:250px; padding:0px; text-align:center; background: #FFFFFF;" {{!}}{{{image}}}
{{!}}-
{{!}}-
}}
}}
Line 19: Line 19:
<!---*****BIOGRAPHY SECTION*****--->
<!---*****BIOGRAPHY SECTION*****--->
{{#if:{{{caption<includeonly>|</includeonly>}}} |
{{#if:{{{caption<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2" {{!}} Biography
{{!}} {{IB-sectionheader|Biography|{{{game}}} }}
{{!}}-
{{!}}-
{{!}} class="metainfobox-caption" colspan="2" {{!}} {{{caption}}}
{{!}} colspan="2" style = "border-bottom:{{IB-headercolor|{{Vgcode|{{{game}}} }} }} 1px solid; text-align: center; font-size: 85%;"{{!}}''{{{caption}}}''
{{!}}-
{{!}} class="metainfobox-header line" colspan="2" {{!}}
{{!}}-
{{!}}-
}}
}}
Line 27: Line 29:
<!---*****BASIC SIMOLOGY*****--->
<!---*****BASIC SIMOLOGY*****--->
{{#if:{{{name<includeonly>|</includeonly>}}} |
{{#if:{{{name<includeonly>|</includeonly>}}} |
{{!}} '''Name'''
{{!}} Name
{{!}}{{{name}}}
{{!}} {{{name}}}
{{!}}-
{{!}}-
}}
}}

{{#if:{{{sex<includeonly>|</includeonly>}}} |
{{#if:{{{sex<includeonly>|</includeonly>}}} |
{{!}} '''Gender'''
{{!}} Gender
{{!}} {{GetGenderImage|{{{sex}}} }} {{#ifeq: {{{sex}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex}}} }}
{{!}} {{GetGenderImage|{{{sex}}} }} {{#ifeq: {{{sex}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex}}} }}
<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>
<includeonly>{{#ifeq: {{lc:{{{sex}}}}}| male |{{Checkmns|[[Category:Male Sims]]}}{{Checkfns|[[Category:Male Sims (fanon)]]}} }}{{#ifeq: {{lc:{{{sex}}}}}| female |{{Checkmns|[[Category:Female Sims]]}}{{Checkfns|[[Category:Female Sims (fanon)]]}} }}{{#ifeq: {{lc:{{{sex}}}}}| ambiguous |{{Checkmns|[[Category:Sims with an ambiguous gender]]}} }}</includeonly>
{{!}}-
{{!}}-
}}
}}

{{#if:{{{sex2<includeonly>|</includeonly>}}} |
{{#if:{{{sex2<includeonly>|</includeonly>}}} |
{{!}} '''Gender'''
{{!}} Gender
{{!}} {{GetGender2Image|{{{sex2}}} }} {{#ifeq: {{{sex2}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex2}}} }}
{{!}} {{GetGender2Image|{{{sex2}}} }} {{#ifeq: {{{sex2}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex2}}} }}
<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>
<includeonly>{{#ifeq: {{lc:{{{sex2}}}}}| male |{{Checkmns|[[Category:Male Sims]]}}{{Checkfns|[[Category:Male Sims (fanon)]]}} }}{{#ifeq: {{lc:{{{sex2}}}}}| female |{{Checkmns|[[Category:Female Sims]]}}{{Checkfns|[[Category:Female Sims (fanon)]]}} }}{{#ifeq: {{lc:{{{sex2}}}}}| ambiguous |{{Checkmns|[[Category:Sims with an ambiguous gender]]}} }}</includeonly>
{{!}}-
{{!}}-
}}
}}

{{#if:{{{age<includeonly>|</includeonly>}}} |
{{#if:{{{age<includeonly>|</includeonly>}}} |
{{!}}'''Age'''
{{!}} Age
{{!}} {{GetStageImage|{{{age}}} }} {{{age}}}
{{!}} {{GetStageImage|{{{age}}} }} {{{age}}}
<includeonly>{{GetStageCat|{{{age}}}}}</includeonly>
<includeonly>{{GetStageCat|{{{age}}}}}</includeonly>
{{!}}-
{{!}}-
}}
}}

{{#if:{{{state<includeonly>|</includeonly>}}} |
{{#if:{{{state<includeonly>|</includeonly>}}} |
{{!}}'''Life state'''
{{!}} Life state
{{!}} {{GetStateImage|{{{state}}} }} {{#ifeq:{{{state}}}|Mannequin|[[Mannequin (The Sims 2)|Mannequin]]|[[{{{state}}}]]}}
{{!}} {{GetStateImage|{{{state}}} }} {{#ifeq:{{{state}}}|Mannequin|[[Mannequin (The Sims 2)|Mannequin]]|[[{{{state}}}]]}}
<includeonly>{{GetStateCat|{{{state}}}}}</includeonly>
<includeonly>{{GetStateCat|{{{state}}}}}</includeonly>
{{!}}-
{{!}}-
}}
}}

{{#if:{{{state2<includeonly>|</includeonly>}}} |
{{#if:{{{state2<includeonly>|</includeonly>}}} |
{{!}}'''Life state'''
{{!}} Life state
{{!}} {{GetState2Image|{{{state2}}} }} [[{{{state2}}}]]
{{!}} {{GetState2Image|{{{state2}}} }} [[{{{state2}}}]]
<includeonly>{{GetStateCat|{{{state2}}}}}</includeonly>
<includeonly>{{GetStateCat|{{{state2}}}}}</includeonly>
Line 62: Line 69:
}}
}}


<!---*****EDUCATION/EMPLOYMENT*****--->
|}<!--Closing brace for infobox-->
{{#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
{{!}}-

{{#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:{{{year<includeonly>|</includeonly>}}} |
{{!}} Year
{{!}} {{{year}}}
<includeonly>{{#ifeq: {{lc:{{{year}}}}} | freshman | {{Checkmns|[[Category:Freshmen]]}}{{Checkfns|[[Category:Freshmen (fanon)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | sophomore | {{Checkmns|[[Category:Sophomores]]}}{{Checkfns|[[Category:Sophomores (fanon)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | junior | {{Checkmns|[[Category:Juniors]]}}{{Checkfns|[[Category:Juniors (fanon)]]}} }}{{#ifeq: {{lc:{{{year}}}}} | senior | {{Checkmns|[[Category:Seniors]]}}{{Checkfns|[[Category:Seniors (fanon)]]}} }}</includeonly>
{{!}}-
}}

{{#if:{{{career<includeonly>|</includeonly>}}} |
{{!}} Career
{{!}} {{GetCareerImage|{{{career}}}|{{{game}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career}}} }}|{{{careerlevel}}}]] | {{{career}}} }}
<includeonly>{{Checkmns|{{GetCareerCat|{{{career}}}}}}}{{Checkfns|{{GetCareerCat|{{{career}}}}}}}</includeonly>
{{!}}-
}}

{{#if:{{{career2<includeonly>|</includeonly>}}} |
{{!}} Career
{{!}} {{GetCareer2Image|{{{career2}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career2}}} }}|{{{careerlevel}}}]] | {{{career2}}} }}
<includeonly>{{Checkmns|{{GetCareerCat|{{{career2}}}}}}}{{Checkfns|{{GetCareerCat|{{{career2}}}}}}}</includeonly>
{{!}}-
}}

{{#if:{{{career3<includeonly>|</includeonly>}}} |
{{!}} Career
{{!}}{{GetCareer3Image|{{{career3}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career3}}} }}|{{{careerlevel}}}]] | {{{career3}}} }}
<includeonly>{{Checkmns|{{GetCareerCat|{{{career3}}}}}}}{{Checkfns|{{GetCareerCat|{{{career3}}}}}}}</includeonly>
{{!}}-
}}
}}<!--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}}
{{!}}-

{{#if:{{{parents<includeonly>|</includeonly>}}} |
{{!}} Parents
{{!}} {{{parents}}}
{{!}}-
}}

{{#if:{{{siblings<includeonly>|</includeonly>}}} |
{{!}} Siblings
{{!}} {{{siblings}}}
{{!}}-
}}

{{#if:{{{maritalstatus<includeonly>|</includeonly>}}} |
{{!}} Marital status
{{!}} {{{maritalstatus}}}
<includeonly>{{GetMaritalCat|{{{maritalstatus}}}}}</includeonly>
{{!}}-
}}

{{#if:{{{spouse<includeonly>|</includeonly>}}} |
{{!}} Romances
{{!}} {{{spouse}}}
{{!}}-
}}

{{#if:{{{child<includeonly>|</includeonly>}}} |
{{!}} Children
{{!}} {{{child}}}
<includeonly>{{#ifeq: {{lc:{{{child|}}}}}| none | | {{#ifeq: {{lc:{{{child|}}}}}| unknown |<!-- Not known to have children --> | {{Checkmns|[[Category:Parents]]}}{{Checkfns|[[Category:Parents (fanon)]]}} }} }}</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}}
{{!}}-

{{#if:{{{roommates<includeonly>|</includeonly>}}} |
{{!}} Roommates
{{!}} {{{roommates}}}
{{!}}-
}}

{{#if:{{{pets<includeonly>|</includeonly>}}} |
{{!}} Pets
{{!}} {{{pets}}}
<includeonly>{{Checkmns|[[Category:Pet owners]]}}{{Checkfns|[[Category:Pet owners (fanon)]]}}</includeonly>
{{!}}-
}}
}}<!--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
{{!}}-

<!--THE SIMS 3 / THE SIMS 4 TRAITS-->
{{#if:{{{trait1<includeonly>|</includeonly>}}} |
{{!}} 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}}}}}| plumbot | Trait chips | Traits}}
{{!}} {{GetTraitImage|{{{trait1}}}|{{{game}}} }} {{GetTraitLink|{{{trait1}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait1}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{trait2<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{trait2}}}|{{{game}}} }} {{GetTraitLink|{{{trait2}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait2}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{trait3<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{trait3}}}|{{{game}}} }} {{GetTraitLink|{{{trait3}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait3}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{trait4<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{trait4}}}|{{{game}}} }} {{GetTraitLink|{{{trait4}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait4}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{trait5<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{trait5}}}|{{{game}}} }} {{GetTraitLink|{{{trait5}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait5}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{trait6<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{trait6}}}|{{{game}}} }} {{GetTraitLink|{{{trait6}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait6}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{trait7<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{trait7}}}|{{{game}}} }} {{GetTraitLink|{{{trait7}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{trait7}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{hiddentrait1<includeonly>|</includeonly>}}} |
{{!}} rowspan="{{#expr: 1+{{#if:{{{hiddentrait2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{hiddentrait3<includeonly>|</includeonly>}}}|1|0}} }}" {{!}} Hidden traits
{{!}} {{GetTraitImage|{{{hiddentrait1}}}|{{{game}}} }} {{GetTraitLink|{{{hiddentrait1}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{hiddentrait1}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{hiddentrait2<includeonly>|</includeonly>}}} |
{{!}} {{GetTraitImage|{{{hiddentrait2}}}|{{{game}}} }} {{GetTraitLink|{{{hiddentrait2}}}|{{{game}}}}}
<includeonly>{{GetTraitCat|{{{hiddentrait2}}}|{{{game}}}}}</includeonly>
{{!}}-
}}

{{#if:{{{hiddentrait3<includeonly>|</includeonly>}}} |
{{!}}{{GetTraitImage|{{{hiddentrait3}}}|{{{game}}} }} {{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}} }}" {{!}} Traits
{{!}} {{GetMedievalTraitImage|trait|{{{medievaltrait1}}} }} {{GetTraitLink|{{{medievaltrait1}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{medievaltrait1}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{medievaltrait2<includeonly>|</includeonly>}}} |
{{!}} {{GetMedievalTraitImage|trait|{{{medievaltrait2}}} }} {{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>
{{!}}-
}}

{{#if:{{{legendary<includeonly>|</includeonly>}}} |
{{!}} Legendary trait
{{!}} {{GetMedievalTraitImage|legendary|{{{legendary}}} }} {{GetTraitLink|{{{legendary}}}|{{{game}}} }}
<includeonly>{{GetTraitCat|{{{legendary}}}|{{{game}}} }}</includeonly>
{{!}}-
}}

<!--ZODIAC-->
{{#if:{{{sign<includeonly>|</includeonly>}}} |
{{!}} Zodiac sign
{{!}} {{GetSignImage|{{{sign}}} }} {{{sign}}}
<includeonly>{{Checkmns|[[Category:{{{sign}}} Sims]]}}{{Checkfns|[[Category:{{{sign}}} Sims (fanon)]]}}</includeonly>
{{!}}-
}}

{{#if:{{{sign2<includeonly>|</includeonly>}}} |
{{!}} Zodiac sign
{{!}} {{GetSign2Image|{{{sign2}}} }} {{{sign2}}}
<includeonly>{{Checkmns|[[Category:{{{sign2}}} Sims]]}}{{Checkfns|[[Category:{{{sign2}}} Sims (fanon)]]}}</includeonly>
{{!}}-
}}

<!--ASPIRATIONS (TS2/TS4)/LIFETIME WANT (TS2)/LIFETIME WISH (TS3)-->
{{#if:{{{asp<includeonly>|</includeonly>}}} |
{{!}} Aspiration
{{!}} {{GetAspirationImage|{{{asp}}} }} {{{asp}}}
<includeonly>{{Checkmns|[[Category:{{{asp}}} Sims]]}}{{Checkfns|[[Category:{{{asp}}} Sims (fanon)]]}}</includeonly>
{{!}}-
}}

{{#if:{{{asp2<includeonly>|</includeonly>}}} |
{{!}} Secondary aspiration
{{!}} {{GetAspirationImage|{{{asp2}}} }} {{{asp2}}}
<includeonly>{{Checkmns|[[Category:{{{asp2}}} Sims]]}}{{Checkfns|[[Category:{{{asp2}}} Sims (fanon)]]}}</includeonly>
{{!}}-
}}

{{#if:{{{asp3<includeonly>|</includeonly>}}} |
{{!}} Aspiration
{{!}} {{GetAspiration3Image|{{{asp3}}} }} {{{asp3}}}
{{!}}-
}}

{{#if:{{{want<includeonly>|</includeonly>}}} |
{{!}} Lifetime want
{{!}} {{GetWantImage|{{{want}}} }} {{{want}}}
{{!}}-
}}

{{#if:{{{wish<includeonly>|</includeonly>}}} |
{{!}} Lifetime wish
{{!}} {{GetWishImage|{{{wish}}} }} {{{wish}}}
{{!}}-
}}

<!--FAVORITES-->
{{#ifeq: {{#expr: {{#if:{{{music|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{food|}}}|1|0}} or {{#if:{{{color|}}}|1|0}} }} | 1 |
{{!}} 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>}}} |
{{!}} {{GetFavoritesImage|music|{{{music}}} }} {{{music}}}
<includeonly>{{GetFavoritesCat|music|{{{music}}}}}</includeonly>
{{!}}-
}}

{{#if:{{{food<includeonly>|</includeonly>}}} |
{{!}} {{GetFavoritesImage|food|{{{food}}} }} {{{food}}}
<includeonly>{{GetFavoritesCat|food|{{{food}}}}}</includeonly>
{{!}}-
}}

{{#if:{{{color<includeonly>|</includeonly>}}} |
{{!}} {{GetFavoritesImage|color|{{{color}}} }} {{{color}}}
<includeonly>{{GetFavoritesCat|color|{{{color}}}}}</includeonly>
{{!}}-
}}<!--Closing bracket for "Color" parameter--->
}}<!--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
{{!}}-

{{#if:{{{turnon1<includeonly>|</includeonly>}}} |
{{!}} rowspan="{{#expr: 1+{{#if:{{{turnon2<includeonly>|</includeonly>}}}|1|0}} }}" {{!}} Turn-ons
{{!}} {{GetChemistryImage|{{{turnon1}}} }} {{{turnon1}}}
<includeonly>{{GetChemistryCat|turnon1|{{{turnon1}}}}}</includeonly>
{{!}}-
}}

{{#if:{{{turnon2<includeonly>|</includeonly>}}} |
{{!}} {{GetChemistryImage|{{{turnon2}}} }} {{{turnon2}}}
<includeonly>{{GetChemistryCat|turnon2|{{{turnon2}}}}}</includeonly>
{{!}}-
}}

{{#if:{{{turnoff<includeonly>|</includeonly>}}} |
{{!}} Turn-off
{{!}} {{GetChemistryImage|{{{turnoff}}} }} {{{turnoff}}}
<includeonly>{{GetChemistryCat|turnoff|{{{turnoff}}}}}</includeonly>
{{!}}-
}}
}}<!--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
{{!}}-

{{#if:{{{hair<includeonly>|</includeonly>}}} |
{{!}} Hair color
{{!}} {{GetAppearanceImage|hair|{{{hair}}} }} {{{hair}}}
<includeonly>{{GetAppearanceCat|hair|{{{hair}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{hair2<includeonly>|</includeonly>}}} |
{{!}} Hair color
{{!}} {{GetAppearance2Image|hair|{{{hair2}}} }} {{{hair2}}}
<includeonly>{{GetAppearanceCat|hair|{{{hair2}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{eye<includeonly>|</includeonly>}}} |
{{!}} Eye color
{{!}} {{GetAppearanceImage|eye|{{{eye}}} }} {{{eye}}}
<includeonly>{{GetAppearanceCat|eye|{{{eye}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{eye2<includeonly>|</includeonly>}}} |
{{!}} Eye color
{{!}} {{GetAppearance2Image|eye|{{{eye2}}} }} {{{eye2}}}
<includeonly>{{GetAppearanceCat|eye|{{{eye2}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{skin<includeonly>|</includeonly>}}} |
{{!}} Skin color
{{!}} {{GetAppearanceImage|skin|{{{skin}}} }} {{{skin}}}
<includeonly>{{GetAppearanceCat|skin|{{{skin}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{skin2<includeonly>|</includeonly>}}} |
{{!}} Skin color
{{!}} {{GetAppearance2Image|skin|{{{skin2}}} }} {{{skin2}}}
<includeonly>{{GetAppearanceCat|skin|{{{skin2}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{body<includeonly>|</includeonly>}}} |
{{!}} Body shape
{{!}} {{GetAppearanceImage|body|{{{body}}} }} {{{body}}}
<includeonly>{{GetAppearanceCat|body|{{{body}}} }}</includeonly>
{{!}}-
}}<!--Closing bracket for "Body" parameter-->
<!---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
{{!}}-

{{#if:{{{celebritystatus<includeonly>|</includeonly>}}} |
{{!}} Celebrity status
{{!}} {{GetCelebrityImage|{{{celebritystatus}}} }}
<includeonly>{{Checkmns|[[Category:Celebrities]]}}{{Checkfns|[[Category:Celebrities (fanon)]]}}</includeonly>
{{!}}-
}}

{{#if:{{{rep<includeonly>|</includeonly>}}} |
{{!}} Rep group
{{!}} {{{rep}}}
<includeonly>{{GetRepGroupCat|{{{rep}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{district<includeonly>|</includeonly>}}} |
{{!}} District
{{!}} {{{district}}}
<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}} }}" {{!}} Social group
{{!}} [[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>
{{!}}-
}}

{{#if:{{{group3<includeonly>|</includeonly>}}} |
{{!}} [[File:{{{group3}}} social group.png|20px]] {{{group3}}}
<includeonly>{{GetSocialGroupCat|{{{group3}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{club1<includeonly>|</includeonly>}}} |
{{!}} 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:{{{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
{{!}}-

{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} Game
{{!}} {{GetGameIcon|{{{game}}}|{{{neighbor}}} }} ''[[{{{game}}}]]''
<includeonly>{{Checkmns|{{GetGameCat|{{{game}}}}} }}</includeonly>
{{!}}-
}}

{{#if:{{{play<includeonly>|</includeonly>}}} |
{{!}} Playability
{{!}} {{{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]]}}
|Pets = [[Pets (neighborhood)|Pets]]
|Weather = [[Weather (neighborhood)|Weather]]
|Hobbies = [[Hobbies (neighborhood)|Hobbies]]
|Magic = [[Magic (neighborhood)|Magic]]
|[[{{{neighbor}}}]]
}} }}{{Checkfns| {{#ifexist: Fanon:{{{neighbor}}}|[[Fanon:{{{neighbor}}}]]|{{{neighbor}}} }} }}
<includeonly>{{Checkmns|[[Category:{{{neighbor}}} Sims]]}}{{Checkfns|[[Category:{{{neighbor}}} Sims (fanon)]]}}</includeonly>
{{!}}-
}}
}}<!--Closing bracket for "Other Information" header section-->

<!---*****FANON COMMENTS LINK*****-->
{{#ifeq: {{#expr: {{#if:{{{fanoncomments|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2"{{!}} {{{fanoncomments}}}
}}<!--Closing bracket for "Fanon Comments" section-->
|}<noinclude>

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>

Latest revision as of 03:45, 16 January 2018

Nikel23/Sandbox6
{{{image}}}
Biography
{{{caption}}}
Name {{{name}}}
Gender {{{sex}}}
Gender {{{sex2}}}
Age {{{age}}}
Life state [[{{{state}}}]]
Life state [[{{{state2}}}]]
Education and employment
School {{{school}}}
Grade {{{grade}}}
Year {{{year}}}
Career {{{career}}}
Career {{{career2}}}
Career {{{career3}}}
{{{family}}}
Parents {{{parents}}}
Siblings {{{siblings}}}
Marital status {{{maritalstatus}}}
Romances {{{spouse}}}
Children {{{child}}}
{{{household}}}
Roommates {{{roommates}}}
Pets {{{pets}}}
Personality
Traits {{{trait1}}}
{{{trait2}}}
{{{trait3}}}
{{{trait4}}}
{{{trait5}}}
{{{trait6}}}
{{{trait7}}}
Hidden traits {{{hiddentrait1}}}
{{{hiddentrait2}}}
{{{hiddentrait3}}}
Traits {{{medievaltrait1}}}
{{{medievaltrait2}}}
Fatal flaw  {{{flaw}}}
Legendary trait {{{legendary}}}
Zodiac sign {{{sign}}}
Zodiac sign {{{sign2}}}
Aspiration {{{asp}}}
Secondary aspiration {{{asp2}}}
Aspiration {{{asp3}}}
Lifetime want {{{want}}}
Lifetime wish {{{wish}}}
Favorites {{{music}}}
{{{food}}}
{{{color}}}
Chemistry
Turn-ons {{{turnon1}}}
{{{turnon2}}}
Turn-off {{{turnoff}}}
Appearance
Hair color {{{hair}}}
Hair color {{{hair2}}}
Eye color {{{eye}}}
Eye color {{{eye2}}}
Skin color {{{skin}}}
Skin color {{{skin2}}}
Body shape {{{body}}}
Social standing
Celebrity status
Rep group {{{rep}}}
District {{{district}}}
Reputation {{{reputation}}}
Social class {{{social}}}
Social group [[File:{{{group1}}} social group.png|20px]] {{{group1}}}
[[File:{{{group2}}} social group.png|20px]] {{{group2}}}
[[File:{{{group3}}} social group.png|20px]] {{{group3}}}
Clubs {{{club1}}}
{{{club2}}}
{{{club3}}}
Social standing
Game [[{{{game}}}]]
Playability {{{play}}}
Cause of death {{{cod}}}
Neighborhood
{{{fanoncomments}}}

Things done:

  1. Categorization now consistently uses {{Checkmns}} and {{Checkfns}} to check namespace.
  2. {{{family}}} and {{{household}}} parameters are properly added.
  3. Css elements and styles now properly use class whenever applicable.
  4. Generally tidied the code.
  5. 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).
  6. Every cell is now vertically-aligned.
  7. 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.