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
(updating with GetLotSizeCat)
sims>A morris
mNo edit summary
Line 33: Line 33:
}}{{#if: {{{neighbor4<includeonly>|</includeonly>}}} | , [[{{{neighbor4}}}]]
}}{{#if: {{{neighbor4<includeonly>|</includeonly>}}} | , [[{{{neighbor4}}}]]
}}
}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]][[Category:Rabbit holes]][[Category:Neighborhood objects]]{{GetObjectCats|game|{{{game}}}}}
|}<includeonly>{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |
{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]][[Category:Rabbit holes]][[Category:Neighborhood objects]]{{GetObjectCats|game|{{{game}}}}}
{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |
{{#if: {{{size|}}}|{{GetLotSizeCat|{{lc:{{{size}}}}} }} }}
{{#if: {{{size|}}}|{{GetLotSizeCat|{{lc:{{{size}}}}} }} }}
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}}
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}}
Line 40: Line 40:
{{#if: {{{neighbor3|}}} | [[Category:Lots in {{{neighbor3}}}]]}}
{{#if: {{{neighbor3|}}} | [[Category:Lots in {{{neighbor3}}}]]}}
{{#if: {{{neighbor4|}}} | [[Category:Lots in {{{neighbor4}}}]]}}
{{#if: {{{neighbor4|}}} | [[Category:Lots in {{{neighbor4}}}]]}}
|<!-- Not in Main namespace -->}} }} }}
}} }}
|<!-- Not in Main namespace -->}}</includeonly><noinclude>
</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 01:31, 27 November 2010

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.