Template:Lot: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>A morris (adding option to not add categories) |
SimDestroyer (talk | contribs) m (Protected "Template:Lot" ([Edit=Allow only administrators and content moderators] (indefinite) [Move=Allow only administrators and content moderators] (indefinite) [Delete=Allow only administrators and content moderators] (indefinite))) |
||
(44 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Warning-header|This template is currently being phased out in favor of {{tl|Infobox lot}}. Please use that template instead.}} |
|||
{| style="margin-left:5px; float:right; width:264px; font-size:94%; text-align:left; border:1px solid #007FFF; -moz-border-radius:10px; background-color: #FFFFFF;" cellpadding="0" |
</noinclude>{| style="margin-left:5px; float:right; width:264px; font-size:94%; text-align:left; border:1px solid #007FFF; -moz-border-radius:10px; -webkit-border-radius:10px; background-color: #FFFFFF;" cellpadding="0" |
||
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'' |
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'' |
||
|- |
|- |
||
Line 14: | Line 15: | ||
{{!}} '''Owner''': |
{{!}} '''Owner''': |
||
{{!}} {{{owner}}} |
{{!}} {{{owner}}} |
||
{{!}}- |
|||
⚫ | |||
{{#if: {{{slot<includeonly>|</includeonly>}}} | |
|||
{{!}} '''Number of units''': |
|||
{{!}} {{{slot}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 19: | Line 25: | ||
{{!}} '''Value''': |
{{!}} '''Value''': |
||
{{!}} §{{{value}}} |
{{!}} §{{{value}}} |
||
{{!}}- |
|||
}} |
|||
{{#if: {{{rent<includeonly>|</includeonly>}}} | |
|||
{{!}} '''Price range''': |
|||
{{!}} §{{{rent}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 54: | Line 65: | ||
{{!}} '''Number of bathrooms''': |
{{!}} '''Number of bathrooms''': |
||
{{!}} {{{baths}}} |
{{!}} {{{baths}}} |
||
{{!}}- |
|||
}} |
|||
{{#if: {{{occupant<includeonly>|</includeonly>}}} | |
|||
{{!}} '''Occupants''': |
|||
{{!}} {{{occupant}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
{{#if: {{{neighbor<includeonly>|</includeonly>}}} | |
{{#if: {{{neighbor<includeonly>|</includeonly>}}} | |
||
{{!}} '''Neighborhood''': |
{{!}} '''Neighborhood''': |
||
{{!}} [[{{{neighbor}}}]] |
{{!}} {{#switch: {{lc:{{{neighbor}}}}}|hobbies |magic = {{{neighbor}}} |[[{{{neighbor}}}]]}} |
||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
[[Category:Lots]] |
[[Category:Lots]] |
||
{{#if: {{{type|}}}| {{#ifeq: {{lc:{{{type|}}}}} | rabbit hole | [[Category:Rabbit holes]] | [[Category:{{{type}}} lots]]}}}} |
{{#if: {{{type|}}}| {{#ifeq: {{lc:{{{type|}}}}} | rabbit hole | [[Category:Rabbit holes]] | [[Category:{{{type}}} lots]]}}}} |
||
{{#if: {{{floors|}}}| {{#ifeq: {{{floors}}} | 1 | [[Category:Lots with 1 floor]]| [[Category:Lots with {{{floors}}} floors]]}} }} |
{{#if: {{{floors|}}}| {{#ifeq: {{{floors}}} | 1 | [[Category:Lots with 1 floor]]| [[Category:Lots with {{{floors}}} floors]]}} }} |
||
{{#if: {{{size|}}}|{{ |
{{#if: {{{size|}}}|{{GetLotSizeCat|{{lc:{{{size}}}}} }} }} |
||
| 30x10 |
|||
| 20x20 |
|||
| 20x30 |
|||
| 30x20 |
|||
| 20x40 |
|||
| small = [[Category:Small-sized lots]] |
|||
| 30x30 |
|||
| 50x20 |
|||
| 40x30 |
|||
| 30x40 |
|||
| 50x30 |
|||
| 30x50 |
|||
| medium = [[Category:Medium-sized lots]] |
|||
| 40x40 |
|||
| 50x40 |
|||
| 40x50 |
|||
| 50x50 |
|||
| large = [[Category:Large-sized lots]] |
|||
| 60x50 |
|||
| Huge lots = [[Category:Huge lots]] |
|||
| [[Category:{{{size}}} lots]] |
|||
}} }} |
|||
{{#if: {{{family|}}} | {{#ifeq: {{{family}}} | None | [[Category:Unoccupied lots]] | [[Category:Occupied lots]]}} | {{#ifeq: {{lc:{{{type|}}}}}| residential | [[Category:Unoccupied lots]] }} }} |
{{#if: {{{family|}}} | {{#ifeq: {{{family}}} | None | [[Category:Unoccupied lots]] | [[Category:Occupied lots]]}} | {{#ifeq: {{lc:{{{type|}}}}}| residential | [[Category:Unoccupied lots]] }} }} |
||
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}} |
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}} |
||
|<!--Not in Main: namespace-->}}}}}}<!---Tracking Category-->{{#if:{{{neighbor2|}}}|[[Category:Lots in multiple neighborhoods]]|}}</includeonly><noinclude>{{clr}}{{Documentation}}</noinclude> |
|||
|<!--Not in Main: namespace-->}}}}}}</includeonly> |
|||
<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 15:55, 10 March 2019
Warning
This template is currently being phased out in favor of {{Infobox lot}}. Please use that template instead.
Lot | |
---|---|
{{{image}}} | |
Type: | {{{type}}} |
Owner: | {{{owner}}} |
Number of units: | {{{slot}}} |
Value: | §{{{value}}} |
Price range: | §{{{rent}}} |
Unfurnished lot value: | §{{{unfurnished}}} |
Furnished lot value: | §{{{furnished}}} |
Size: | {{{size}}} |
Number of floors: | {{{floors}}} |
Occupants: | {{{family}}} |
Number of bedrooms: | {{{beds}}} |
Number of bathrooms: | {{{baths}}} |
Occupants: | {{{occupant}}} |
Neighborhood: | [[{{{neighbor}}}]] |
- Description
- An infobox for lots.
Syntax
{{Lot|<...>}}
- Any type
{{Lot |image = |type = |value = |furnished = |unfurnished = |size = |floors = |beds = |baths = |family = |owner = |neighbor = }}
- Community lot
{{Lot |image = |type = Community |value = |size = |floors = |owner = |neighbor = }}
- Residential lot
{{Lot |image = |type = Residential |value = |size = |floors = |beds = |baths = |family = |neighbor = }}
Parameters
- type
- The type of lot: Residential, Community, Secret, etc.
- value
- The value of the lot in Simoleons, excluding §.
- furnished
- The value of the lot furnished in Simoleons, excluding §. Used instead of value for The Sims 3 lots.
- unfurnished
- The value of the lot unfurnished in Simoleons, excluding §. Used instead of value for The Sims 3 lots.
- size
- The size of the lot.
- floors
- The number of livable floors.
- beds
- The number of bedrooms.
- baths
- The number of bathrooms including half baths as a decimal.
- family
- The family or household living on the lot.
- owner
- The owner of a community lot.
- neighbor
- The neighborhood where the lot originally existed.
Visit Template:Lot/doc to edit this text! (How does this work?) (Refresh this text - why?)