Template:Apartment: 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>Nikel23
(Created page with "{| 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-...")
 
(Made the doc not overlap with the infobox.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Info||This template is currently being phased out in favor of {{tl|Infobox apartment}}. Please use that template instead.}}</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"
{| 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 6: Line 7:
{{!}}-
{{!}}-
}}
}}
{{#if: {{{type<includeonly>|</includeonly>}}} |
{{#if: {{{slot<includeonly>|</includeonly>}}} |
{{!}} '''Number of units''':
{{!}} '''Number of units''':
{{!}} {{{slot}}}
{{!}} {{{slot}}}
Line 16: Line 17:
{{!}}-
{{!}}-
}}
}}
{{#if: {{{furnished<includeonly>|</includeonly>}}} |
{{#if: {{{rent<includeonly>|</includeonly>}}} |
{{!}} '''Price range''':
{{!}} '''Price range''':
{{!}} §{{{rent}}}
{{!}} §{{{rent}}}
Line 31: Line 32:
{{!}}-
{{!}}-
}}
}}
{{#if: {{{family<includeonly>|</includeonly>}}} |
{{#if: {{{occupant<includeonly>|</includeonly>}}} |
{{!}} '''Occupants''':
{{!}} '''Occupants''':
{{!}} {{{occupants}}}
{{!}} {{{occupant}}}
{{!}}-
{{!}}-
}}
}}
Line 54: Line 55:
{{#if: {{{neighbor4|}}} | [[Category:Lots in {{{neighbor4}}}]]}}
{{#if: {{{neighbor4|}}} | [[Category:Lots in {{{neighbor4}}}]]}}
|<!--Not in Main: namespace-->}}}}}}</includeonly>
|<!--Not in Main: namespace-->}}}}}}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{clr}}
{{Documentation}}</noinclude>

Latest revision as of 16:09, 27 February 2019

Information
This template is currently being phased out in favor of {{Infobox apartment}}. Please use that template instead.
Apartment
{{{image}}}
Number of units: {{{slot}}}
Value: §{{{value}}}
Price range: §{{{rent}}}
Size: {{{size}}}
Number of floors: {{{floors}}}
Occupants: {{{occupant}}}
Neighborhood: [[{{{neighbor}}}]], [[{{{neighbor2}}}]], [[{{{neighbor3}}}]], [[{{{neighbor4}}}]]
Template documentation (View · Edit · History · Purge)
Description
An infobox for apartments.

Syntax[edit source]

{{Apartment|<...>}}

Any type
{{Apartment
|name     = 
|image    = 
|slot     = 
|value    = 
|rent     = 
|size     = 
|floors   = 
|occupant = 
|neighbor = 
}}

Parameters[edit source]

slot
The number of available slots for rent in the apartment.
value
The value of the lot in Simoleons, excluding §.
rent
The price rent of the apartment, excluding §.
size
The size of the lot.
floors
The number of livable floors.
occupant
The families or households living on the lot.
neighbor
The neighborhood where the lot originally existed.

Visit Template:Apartment/doc to edit this text! (How does this work?) (Refresh this text - why?)