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
Line 128: Line 128:


{{#if:{{{siblings<includeonly>|</includeonly>}}} |
{{#if:{{{siblings<includeonly>|</includeonly>}}} |
{{!}} Sibling(s)
{{!}} Siblings
{{!}} {{{siblings}}}
{{!}} {{{siblings}}}
{{!}}-
{{!}}-
Line 147: Line 147:


{{#if:{{{child<includeonly>|</includeonly>}}} |
{{#if:{{{child<includeonly>|</includeonly>}}} |
{{!}} Child(ren)
{{!}} Children
{{!}} {{{child}}}
{{!}} {{{child}}}
<includeonly>{{#ifeq: {{lc:{{{child|}}}}}| none | | {{#ifeq: {{lc:{{{child|}}}}}| unknown |<!-- Not known to have children --> | {{Checkmns|[[Category:Parents]]}}{{Checkfns|[[Category:Parents (fanon)]]}} }} }}</includeonly>
<includeonly>{{#ifeq: {{lc:{{{child|}}}}}| none | | {{#ifeq: {{lc:{{{child|}}}}}| unknown |<!-- Not known to have children --> | {{Checkmns|[[Category:Parents]]}}{{Checkfns|[[Category:Parents (fanon)]]}} }} }}</includeonly>
Line 340: Line 340:
}}<!--Closing bracket for "Favorites" section-->
}}<!--Closing bracket for "Favorites" section-->
}}<!--Closing bracket for "Personality" header section-->
}}<!--Closing bracket for "Personality" header section-->
|}<!--Closing brace for infobox-->


<!---*****CHEMISTRY*****--->
{{#ifeq: {{#expr: {{#if:{{{turnon1|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{turnon2|}}}|1|0}} or {{#if:{{{turnoff|}}}|1|0}} }} | 1 |
{{!}} class="metabox-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="metabox-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="metabox-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-->
|}


Things done:
Things done:

Revision as of 10:37, 12 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}}}

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.