Template:Apartment: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Nikel23 No edit summary |
SimDestroyer (talk | contribs) (Made the doc not overlap with the infobox.) |
||
(4 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: {{{ |
{{#if: {{{slot<includeonly>|</includeonly>}}} | |
||
{{!}} '''Number of units''': |
{{!}} '''Number of units''': |
||
{{!}} {{{slot}}} |
{{!}} {{{slot}}} |
||
Line 16: | Line 17: | ||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
{{#if: {{{ |
{{#if: {{{rent<includeonly>|</includeonly>}}} | |
||
{{!}} '''Price range''': |
{{!}} '''Price range''': |
||
{{!}} §{{{rent}}} |
{{!}} §{{{rent}}} |
||
Line 31: | Line 32: | ||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
{{#if: {{{ |
{{#if: {{{occupant<includeonly>|</includeonly>}}} | |
||
{{!}} '''Occupants''': |
{{!}} '''Occupants''': |
||
{{!}} {{{occupant}}} |
{{!}} {{{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>{{ |
<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}}}]] |
- 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?)