User:SimDestroyer/Sandbox: Difference between revisions

no edit summary
No edit summary
imported>SimDestroyer
No edit summary
 
(146 intermediate revisions by 3 users not shown)
Line 1:
[[{{User:SimDestroyer/Sandbox 4|{{{1}}}|{{{2|}}}}}|50px|link={{vgcode|{{{1}}}}}]]<noinclude>{{Documentation}}</noinclude><noinclude>
{| class="metainfobox {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" cellpadding="1.5"
[[Category:Image retrieval templates|{{PAGENAME}}]]</noinclude>
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
<includeonly>{{Checkmns|[[Category:Premade families]]}}{{Checkfns|[[Category:Families (fanon)]]}}</includeonly>
{{!}}-
 
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-logo" colspan="2" {{!}} <small><center>{{GetGameImage|{{{game}}}|{{{neighbor|}}}}}</center></small>
{{!}}-
}}
 
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-image" colspan="2" {{!}} {{{image}}}
{{!}}-
}}
 
{{#if:{{{caption<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2" {{!}} Description
{{!}}-
{{!}} class="metainfobox-caption" colspan="2" {{!}} {{{caption}}}
{{!}}-
{{!}} class="metainfobox-header line {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2" {{!}}
{{!}}-
}}
 
{{#if:{{{name<includeonly>|</includeonly>}}} |
{{!}} Name
{{!}} {{{name}}}
{{!}}-
}}
 
{{#if:{{{members<includeonly>|</includeonly>}}} |
{{!}} Members
{{!}} {{{members}}}
{{!}}-
}}
 
{{#if:{{{generations<includeonly>|</includeonly>}}} |
{{!}} Number of generations
{{!}} {{{generations}}} generations
<includeonly>{{Checkmns|{{#if: {{{generations|}}} | {{#ifeq: {{{generations|}}} | 1 | [[Category:Families with 1 generation]] | [[Category:Families with {{{generations}}} generations]] }} }} }}{{Checkfns|{{#if: {{{generations|}}} | {{#ifeq: {{#switch:{{{generations}}} | 1 | 2 | 3 | 4 | 5 | 6 = 1 }} | 1 | {{#ifeq: {{{generations|}}} | 1 | [[Category:Families with 1 generation (fanon)]] | [[Category:Families with {{{generations}}} generations (fanon)]] }} | [[Category:Families with other generations (fanon)]]}} }} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{connect<includeonly>|</includeonly>}}} |
{{!}} Family connections
{{!}} {{{connect}}}
{{!}}-
}}
 
{{#if:{{{lot<includeonly>|</includeonly>}}} |
{{!}} Lot
{{!}} {{{lot}}}
{{!}}-
}}
 
{{#if:{{{funds<includeonly>|</includeonly>}}} |
{{!}} Funds
{{!}} §{{{funds}}}
{{!}}-
}}
 
{{#if:{{{worth<includeonly>|</includeonly>}}} |
{{!}} Net worth
{{!}} §{{{worth}}}
{{!}}-
}}
 
{{#if:{{{resources<includeonly>|</includeonly>}}} |
{{!}} Resources
{{!}} {{{resources}}}
{{!}}-
}}
 
{{#if:{{{food<includeonly>|</includeonly>}}} |
{{!}} Food
{{!}} {{{food}}}
{{!}}-
}}
 
{{#if:{{{difficulty<includeonly>|</includeonly>}}} |
{{!}} Difficulty level
{{!}} [[File:Difficulty{{{difficulty}}}.png|{{{difficulty}}} of 6]]
<includeonly>{{Checkmns|{{#if: {{{difficulty|}}} | [[Category:Families with difficulty level {{{difficulty}}}]] }} }}{{Checkfns|{{#if: {{{difficulty|}}} | [[Category:Families with difficulty level {{{difficulty}}} (fanon)]] }} }}</includeonly>
{{!}}-
}}
 
{{#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 | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{game<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2" {{!}} Other information
{{!}}-
 
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} Game
{{!}} {{GetGameIcon|{{{game}}}|{{{neighbor}}} }} ''[[{{{game}}}]]''
<includeonly>{{Checkmns|{{GetFamilyGameCat|{{{game}}}}} }}</includeonly>
{{!}}-
}}
 
{{#if:{{{play<includeonly>|</includeonly>}}} |
{{!}} Playability
{{!}}{{{play}}}<includeonly>{{#ifeq:{{NAMESPACE}}| |
{{#ifeq: {{{play}}}| Playable |[[Category:Playable families]] }}
{{#ifeq: {{{play}}}| Unplayable |[[Category:Unplayable families]] }}
{{#ifeq: {{{play}}}| Family Bin |[[Category:Family bin families]] }}
{{#ifeq: {{{play}}}| Deceased |[[Category:Deceased families]] }}
{{#ifeq: {{{play}}}| NPC |[[Category:NPC families]] }}
{{#ifeq: {{{play}}}| Downloadable |[[Category:Downloadable families]] }}
|<!--Not in Main: namespace-->}}
</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}}} families]]}}{{Checkfns|[[Category:{{{neighbor}}} families (fanon)]]}}</includeonly>
{{!}}-
}}
}}
 
{{#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><noinclude>
[[Category:Metainfobox templates|Family]]</noinclude>
Anonymous user