Template:RabbitholeInfobox: Difference between revisions

updating with GetLotSizeCat
sims>A morris
mNo edit summary
sims>A morris
(updating with GetLotSizeCat)
Line 35:
|}<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]][[Category:Rabbit holes]][[Category:Neighborhood objects]]{{GetObjectCats|game|{{{game}}}}}
{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |
{{#if: {{{size|}}}|{{#switch: 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: {{{neighbor2|}}} | [[Category:Lots in {{{neighbor2}}}]]}}
Anonymous user