Template:RabbitholeInfobox: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>A morris
mNo edit summary
sims>Nikel23
No edit summary
Line 34: Line 34:
}}
}}
|}<includeonly>{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |
|}<includeonly>{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |
{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]][[Category:Rabbit holes]][[Category:Neighborhood objects]]{{GetObjectCats|game|{{{game}}}}}
{{#ifeq:{{NAMESPACE}}| |{{GetObjectCats|game|{{{game}}}}}
{{#if: {{{size|}}}|{{GetLotSizeCat|{{lc:{{{size}}}}} }} }}
{{#if: {{{size|}}}|{{GetLotSizeCat|{{lc:{{{size}}}}} }} }}
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}}
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}}

Revision as of 09:00, 2 September 2013

RabbitholeInfobox
{{{image}}}
Game: {{{game}}}
Buyable: Edit Town mode
Price: §0
Type:

Rabbit hole

Size: {{{size}}}
Neighborhood: [[{{{neighbor}}}]], [[{{{neighbor2}}}]], [[{{{neighbor3}}}]], [[{{{neighbor4}}}]]
Template documentation (View · Edit · History · Purge)
Description
Infobox for rabbit holes. Similar to {{Object}} but with aspects of {{Lot}}. Uses {{GetObjectCats}} for game parameter.
Syntax
{{RabbitholeInfobox|<...>}}
{{RabbitholeInfobox
|name       = 
|image      = 
|game       = 
|size       = 
|neighbor   = 
}}
Paramters
name = the name of the rabbit hole.
image = and image of the rabbit hole.
game = the game it is from.
size = the size of its footprint
neighbor = the neighborhood it is in. neighbor2 ... neighbor4 can be used for additional neighborhoods.
buy, type, and price can also be used but default to standard values for a rabbit hole.