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 495: Line 495:
{{!}}-
{{!}}-
}}
}}
}}<!--Closing bracket for "Social Standing" header section-->
}}<!--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="metabox-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="metabox-header large {{lc: {{MGL | {{vgcode | {{{game<includeonly>|</includeonly>}}} }} }} }}" colspan="2"{{!}} {{{fanoncomments}}}
}}<!--Closing bracket for "Fanon Comments" section-->
|}<noinclude>


Things done:
Things done:
Line 506: Line 556:
#Every cell is now vertically-aligned.
#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.
#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>

Revision as of 11:07, 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}}}
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.