Anonymous user
Template:Infobox Sim: Difference between revisions
Adding degree parameter for TS4:DU students
(Updating some more fields for the CC namespace) |
imported>LostInRiverview (Adding degree parameter for TS4:DU students) |
||
Line 1:
|type = notice
|image = Icon-warning-48x48.png
|headline = This template is used on thousands of pages
|text = To avoid large-scale disruption and unnecessary server load, consider testing your changes elsewhere, such as by copying the source code of this template and pasting it into your [[w:Help:User page|user space]], or in the [[The Sims Wiki:Sandbox|sandbox]]. Consider proposing your changes on the [[Template talk:Sim|talk page]] before editing this template.
|nocat = true
}}{{era|PR}}</noinclude>
<!---*****OVERALL DESIGN CODE*****--->
{| class="metainfobox {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" cellpadding="1.5"
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
<includeonly>{{
{{!}}-
Line 23 ⟶ 29:
{{!}} Gender
{{!}} {{GetGenderImage|{{{sex}}} }} {{#ifeq: {{{sex}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex}}} }}
<includeonly>{{#ifeq: {{lc:{{{sex}}}}}| male |{{
{{!}}-
| {{#if:{{{sex2|}}}|<!-- If "sex2" used, ignore --> | <includeonly>{{
}}
Line 31 ⟶ 37:
{{!}} Gender
{{!}} {{GetGender2Image|{{{sex2}}} }} {{#ifeq: {{{sex2}}}| Ambiguous |[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex2}}} }}
<includeonly>{{#ifeq: {{lc:{{{sex2}}}}}| male |{{
{{!}}-
| {{#if:{{{sex|}}}|<!-- If "sex" used, ignore --> | <includeonly>{{
}}
Line 66 ⟶ 72:
<!---*****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}} or {{#if:{{{degree|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2" {{!}} Education and employment
{{!}}-
Line 86 ⟶ 92:
{{!}} Major
{{!}}[[File:{{{major}}}.png|20px]] {{{major}}}
<includeonly>{{
}}▼
{{#if:{{{degree<includeonly>|</includeonly>}}} |
{{!}} Degree
{{!}} [[File:TS4 Degree {{{degree}}}.png|20px|{{{degree}}} degree]] {{{degree}}}<includeonly>{{Checkmns|[[Category:{{{degree}}} students]]}}{{checkfns|[[Category:{{{degree}}} students (fanon)]]}}</includeonly>
{{!}}-
}}
Line 93 ⟶ 105:
{{!}} Year
{{!}} {{{year}}}
<includeonly>{{#ifeq: {{lc:{{{year}}}}} | freshman | {{
{{!}}-
}}
Line 100 ⟶ 112:
{{!}} Career
{{!}} {{GetCareerImage|{{{career}}}|{{{game}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career}}} }}|{{{careerlevel}}}]] | {{{career}}} }}
<includeonly>{{
{{!}}-
}}
Line 107 ⟶ 119:
{{!}} Career
{{!}} {{GetCareer2Image|{{{career2}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career2}}} }}|{{{careerlevel}}}]] | {{{career2}}} }}
<includeonly>{{
{{!}}-
}}
Line 114 ⟶ 126:
{{!}} Career
{{!}}{{GetCareer3Image|{{{career3}}} }} {{#if: {{{careerlevel|}}} | [[{{GetCareerLink|{{{career3}}} }}|{{{careerlevel}}}]] | {{{career3}}} }}
<includeonly>{{
{{!}}-
}}
Line 158 ⟶ 170:
{{!}} Children
{{!}} {{{child}}}
<includeonly>{{#ifeq: {{lc:{{{child|}}}}}| none | | {{#ifeq: {{lc:{{{child|}}}}}| unknown |<!-- Not known to have children --> | {{
{{!}}-
}}
Line 183 ⟶ 195:
{{!}} Pets
{{!}} {{{pets}}}
<includeonly>{{
{{!}}-
}}
Line 447 ⟶ 459:
{{!}} Celebrity status
{{!}} {{GetCelebrityImage|{{{celebritystatus}}} }}
<includeonly>{{
{{!}}-
}}
Line 521 ⟶ 533:
{{!}} Game
{{!}} {{GetGameIcon|{{{game}}}|{{{neighbor}}} }} ''[[{{{game}}}]]''
<includeonly>{{Checkmns|{{GetGameCat|{{{game}}}}} }}</includeonly>
{{!}}-
}}
Line 528 ⟶ 540:
{{!}} Playability
{{!}} {{{play}}}
<includeonly>{{GetPlayCat|{{{play}}} }}{{#if: {{{neighbor|}}} | {{#ifeq: {{{play|}}}| Townie | {{#ifeq: {{{neighbor|}}}| Downtown |
{{!}}-
}}
Line 544 ⟶ 556:
|TS4= World
|#default= Neighborhood}}
▲ |main = {{#switch: {{{neighbor}}}
|Downtown = {{#ifeq:{{{game}}}|The Sims: Hot Date|[[Downtown (The Sims)|Downtown]]|[[Downtown (The Sims 2)|Downtown]]}}
|Pets = [[Pets (neighborhood)|Pets]]
Line 551 ⟶ 562:
|Hobbies = [[Hobbies (neighborhood)|Hobbies]]
|Magic = [[Magic (neighborhood)|Magic]]
|
}} }}{{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 | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2"{{!}} {{{fanoncomments}}}
}}
|}<noinclude>{{Documentation}}</noinclude>
▲{{clr}}
▲</noinclude>
|