Template:Infobox pet/test: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 83: Line 83:
{{!}} Offspring
{{!}} Offspring
{{!}} {{{child}}}
{{!}} {{{child}}}
<includeonly>{{#ifeq: {{lc:{{{child|}}}}}| none | | {{#ifeq: {{lc:{{{child|}}}}}| unknown |<!-- Not known to have children --> | {{Checkmns|[[Category:Parent {{lc:{{{species}}}}}s]]}}{{Checkfns|[[Category:Parent {{lc:{{{species}}}}}s (fanon)]]}} }} }}</includeonly>
<includeonly>{{#ifeq: {{lc:{{{child|}}}}}| none | | {{#ifeq: {{lc:{{{child|}}}}}| unknown |<!-- Not known to have children --> | {{Namespace detect |main=[[Category:Parent {{lc:{{{species}}}}}s]] |fanon=[[Category:Parent {{lc:{{{species}}}}}s (fanon)]] |custom content=[[Category:Parent {{lc:{{{species}}}}}s (custom)]]}} }} }}</includeonly>
{{!}}-
{{!}}-
}}
}}
Line 138: Line 138:
{{!}} Playability
{{!}} Playability
{{!}} {{{play}}}<includeonly>{{#switch: {{lc:{{{play}}}}}
{{!}} {{{play}}}<includeonly>{{#switch: {{lc:{{{play}}}}}
|playable = {{Checkmns|[[Category:Playable pets]]}}{{Checkfns|[[Category:Playable pets (fanon)]]}}
|playable = {{Namespace detect |main=[[Category:Playable pets]] |fanon=[[Category:Playable pets (fanon)]] |custom content=[[Category:Playable pets (custom)]]}}
|deceased = {{Checkmns|[[Category:Deceased pets]]}}{{Checkfns|[[Category:Deceased pets (fanon)]]}}
|deceased = {{Namespace detect |main=[[Category:Deceased pets]] |fanon=[[Category:Deceased pets (fanon)]] |custom content=[[Category:Deceased pets (custom)]]}}
|townie
|townie
|stray = {{Checkmns|[[Category:Strays]]}}{{Checkfns|[[Category:Strays (fanon)]]}}
|stray = {{Namespace detect |main=[[Category:Strays]] |fanon=[[Category:Strays (fanon)]] |custom content=[[Category:Strays (custom)]]}}
|npc = {{Checkmns|[[Category:NPCs]]}}{{Checkfns|[[Category:NPCs (fanon)]]}}
|npc = {{Namespace detect |main=[[Category:NPCs]] |fanon=[[Category:NPCs (fanon)]] |custom content=[[Category:NPCs (custom)]]}}
|family bin = {{Checkmns|[[Category:Family bin pets]]}}{{Checkfns|[[Category:Family bin pets (fanon)]]}}
|family bin = {{Namespace detect |main=[[Category:Family bin pets]] |fanon=[[Category:Family bin pets (fanon)]] |custom content=[[Category:Family bin pets (custom)]]}}
|lots and houses bin = {{Checkmns|[[Category:Lots and houses bin pets]]}}{{Checkfns|[[Category:Lots and houses bin pets (fanon)]]}}
|lots and houses bin = {{Namespace detect |main=[[Category:Lots and houses bin pets]] |fanon=[[Category:Lots and houses bin pets (fanon)]] |custom content=[[Category:Lots and houses bin pets (custom)]]}}
|gallery = {{Namespace detect |main = |[[Category:Gallery pets]] |fanon=[[Category:Gallery pets (fanon)]] |custom content=[[Category:Gallery pets (custom)]]}}
}}</includeonly>
}}</includeonly>
{{!}}-
{{!}}-
Line 154: Line 155:
|TS4= World
|TS4= World
|#default= Neighborhood}}
|#default= Neighborhood}}
{{!}}{{Namespace detect
{{!}}{{Checkmns| {{#switch: {{{neighbor}}}
|main = {{#switch: {{{neighbor}}}
|Downtown = {{#ifeq:{{{game}}}|The Sims: Hot Date|[[Downtown (The Sims)|Downtown]]|[[Downtown (The Sims 2)|Downtown]]}}
|Downtown = {{#ifeq:{{{game}}}|The Sims: Hot Date|[[Downtown (The Sims)|Downtown]]|[[Downtown (The Sims 2)|Downtown]]}}
|Pets = [[Pets (neighborhood)|Pets]]
|Pets = [[Pets (neighborhood)|Pets]]
Line 160: Line 162:
|Hobbies = [[Hobbies (neighborhood)|Hobbies]]
|Hobbies = [[Hobbies (neighborhood)|Hobbies]]
|Magic = [[Magic (neighborhood)|Magic]]
|Magic = [[Magic (neighborhood)|Magic]]
|[[{{{neighbor}}}]]
|{{Addlink|{{{neighbor}}}}}
}}
}} }}{{Checkfns| {{#ifexist: Fanon:{{{neighbor}}}|[[Fanon:{{{neighbor}}}]]|{{{neighbor}}} }} }}
<includeonly>{{Checkmns|{{#ifeq: {{{neighbor|}}}|Pets|[[Category:Pets from the pets sub-neighborhood]]|[[Category:{{{neighbor}}} pets]]}} }}{{Checkfns|[[Category:{{{neighbor}}} pets (fanon)]]}}</includeonly>
|fanon = {{#ifexist: Fanon:{{{neighbor}}}|[[Fanon:{{{neighbor}}}]]|{{Addlink|{{{neighbor}}}}} }}
|other = {{Addlink|{{{neighbor}}}}}
}}

<includeonly>{{Namespace detect |main={{#ifeq: {{{neighbor|}}}|Pets|[[Category:Pets from the pets sub-neighborhood]]|[[Category:{{Delink|{{{neighbor}}}}} pets]]}} |fanon=[[Category:{{Delink|{{{neighbor}}}}} pets (fanon)]] |custom=[[Category:{{Delink|{{{neighbor}}}}} pets (custom)]]}}</includeonly>
{{!}}-
{{!}}-
}}
}}

Latest revision as of 15:30, 4 October 2020

Infobox pet/test
{{{image}}}
Gender {{{sex}}}
Age {{{age}}}
Species {{{species}}}
Breed {{{breed}}}
Biography
{{{caption}}}
Family
Family/Families {{{family}}}
Owners {{{owner}}}
Progenitors {{{parents}}}
Littermates {{{siblings}}}
Mates {{{mate}}}
Offspring {{{child}}}
Personality
Traits {{{trait1}}}
{{{trait2}}}
{{{trait3}}}
{{{trait4}}}
{{{trait5}}}
Other information
Game [[{{{game}}}]]
Playability {{{play}}}
Neighborhood [[{{{neighbor}}}]]


Template documentation (View · Edit · History · Purge)
This template currently doesn't have any documentation! Help out by writing some.