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

Revision as of 10:06, 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}}}
Sibling(s) {{{siblings}}}
Marital status {{{maritalstatus}}}
Romances {{{spouse}}}
Child(ren) {{{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}}}


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.