Template:RabbitholeInfobox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>A morris mNo edit summary |
sims>A morris (updating with GetLotSizeCat) |
||
Line 35: | Line 35: | ||
|}<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]][[Category:Rabbit holes]][[Category:Neighborhood objects]]{{GetObjectCats|game|{{{game}}}}} |
|}<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]][[Category:Rabbit holes]][[Category:Neighborhood objects]]{{GetObjectCats|game|{{{game}}}}} |
||
{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| | |
{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| | |
||
{{#if: {{{size|}}}|{{ |
{{#if: {{{size|}}}|{{GetLotSizeCat|{{lc:{{{size}}}}} }} }} |
||
| 10x7 |
|||
| 11x17 |
|||
| 14x13 |
|||
| 15x30 |
|||
| 17x25 |
|||
| 30x10 |
|||
| 20x20 |
|||
| 20x30 |
|||
| 30x20 |
|||
| 20x40 |
|||
| small = [[Category:Small-sized lots]] |
|||
| 30x30 |
|||
| 50x20 |
|||
| 40x30 |
|||
| 30x40 |
|||
| 50x30 |
|||
| 50x32 |
|||
| 30x50 |
|||
| 39x39 |
|||
| medium = [[Category:Medium-sized lots]] |
|||
| 40x40 |
|||
| 50x40 |
|||
| 40x50 |
|||
| 50x50 |
|||
| large = [[Category:Large-sized lots]] |
|||
| 64x64 |
|||
| 60x50 |
|||
| Huge lots = [[Category:Huge lots]] |
|||
| [[Category:{{{size}}} lots]] |
|||
}} }} |
|||
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}} |
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}} |
||
{{#if: {{{neighbor2|}}} | [[Category:Lots in {{{neighbor2}}}]]}} |
{{#if: {{{neighbor2|}}} | [[Category:Lots in {{{neighbor2}}}]]}} |
Revision as of 20:40, 23 November 2010
RabbitholeInfobox | |
---|---|
{{{image}}} | |
Game: | {{{game}}} |
Buyable: | Edit Town mode |
Price: | §0 |
Type: |
Rabbit hole |
Size: | {{{size}}} |
Neighborhood: | [[{{{neighbor}}}]], [[{{{neighbor2}}}]], [[{{{neighbor3}}}]], [[{{{neighbor4}}}]] |
- 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 footprintneighbor
= the neighborhood it is in.neighbor2
...neighbor4
can be used for additional neighborhoods.buy
,type
, andprice
can also be used but default to standard values for a rabbit hole.
Visit Template:RabbitholeInfobox/doc to edit this text! (How does this work?) (Refresh this text - why?)