Template:Lot: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>A morris (adding category) |
sims>A morris (changing format to a table, adding cateories based on parameters) |
||
Line 1: | Line 1: | ||
{| 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" |
|||
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'' |
|||
|- |
|||
'''''{{{name|{{PAGENAME}}}}}''''' <br> |
|||
{{#if: |
{{#if:{{{image<includeonly>|</includeonly>}}} | |
||
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}<br /><span style="font-size:80%;"> |
|||
⚫ | |||
}} |
{{!}}- |
||
}} |
|||
---- |
|||
⚫ | |||
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%"> |
|||
{{!}} '''Lot Type''': |
|||
⚫ | |||
{{!}} {{{type}}} |
|||
⚫ | |||
{{!}}- |
|||
⚫ | |||
}} |
|||
⚫ | |||
{{#if: {{{ |
{{#if: {{{value<includeonly>|</includeonly>}}} | |
||
{{!}} '''Lot Value''': |
|||
⚫ | |||
{{!}} {{{value}}} |
|||
<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude> |
|||
{{!}}- |
|||
}} |
|||
⚫ | |||
{{!}} '''Lot Size''': |
|||
{{!}} {{{size}}} |
|||
{{!}}- |
|||
}} |
|||
⚫ | |||
{{!}} '''Number of Floors''': |
|||
{{!}} {{{floors}}} |
|||
{{!}}- |
|||
}} |
|||
⚫ | |||
{{!}} '''Occupants''': |
|||
{{!}} {{{family}}} |
|||
{{!}}- |
|||
}} |
|||
⚫ | |||
{{!}} '''Neighborhood''': |
|||
{{!}} {{{neighbor}}} |
|||
}} |
|||
|} |
|||
<includeonly>{{#ifeq:{{NAMESPACE}}| | |
|||
[[Category:Lots]] |
|||
{{#if: {{{type|}}}| [[Category:{{{type}}} lots]]}} |
|||
{{#if: {{{floors|}}}| [[Category:Lots with {{{floors}}} floors]]}} |
|||
{{#if: {{{size|}}}| [[Category:{{{size}}} lots]]}} |
|||
{{#if: {{{family|}}} | {{#ifeq: {{{family}}} | None | [[Category:Unoccupied lots]] | [[Category:Occupied lots]]}}}} |
|||
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}} |
|||
⚫ | |||
<noinclude>{{Documentation}}</noinclude> |
Revision as of 02:22, 3 January 2010
Lot | |
---|---|
{{{image}}} | |
Lot Type: | {{{type}}} |
Lot Value: | {{{value}}} |
Lot Size: | {{{size}}} |
Number of Floors: | {{{floors}}} |
Occupants: | {{{family}}} |
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?)