Template:Lot: Difference between revisions

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))
sims>Lost Labyrinth
(+ webkit code)
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)))
 
(15 intermediate revisions by 8 users not shown)
Line 1:
<noinclude>{{Warning-header|This template is currently being phased out in favor of {{tl|Infobox lot}}. 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"
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''
|-
Line 14 ⟶ 15:
{{!}} '''Owner''':
{{!}} {{{owner}}}
{{!}}-
|}}
}}{{#if: {{{neighbor2slot<includeonly>|</includeonly>}}} | , [[{{{neighbor2}}}]]
{{!}} '''Number of units''':
{{!}} {{{slot}}}
{{!}}-
}}
Line 19 ⟶ 25:
{{!}} '''Value''':
{{!}} §{{{value}}}
{{!}}-
}}
}}{{#if: {{{neighbor3rent<includeonly>|</includeonly>}}} | , [[{{{neighbor3}}}]]
{{!}} '''Price range''':
{{!}} §{{{rent}}}
{{!}}-
}}
Line 54 ⟶ 65:
{{!}} '''Number of bathrooms''':
{{!}} {{{baths}}}
{{!}}-
}}
}}{{#if: {{{neighbor4occupant<includeonly>|</includeonly>}}} | , [[{{{neighbor4}}}]]
{{!}} '''Occupants''':
{{!}} {{{occupant}}}
{{!}}-
}}
Line 59 ⟶ 75:
{{!}} '''Neighborhood''':
{{!}} {{#switch: {{lc:{{{neighbor}}}}}|hobbies |magic = {{{neighbor}}} |[[{{{neighbor}}}]]}}
}}{{#if: {{{neighbor2<includeonly>|</includeonly>}}} | , [[{{{neighbor2}}}]]
}}{{#if: {{{neighbor3<includeonly>|</includeonly>}}} | , [[{{{neighbor3}}}]]
}}{{#if: {{{neighbor4<includeonly>|</includeonly>}}} | , [[{{{neighbor4}}}]]
}}
|}<includeonly>{{#ifeq: {{lc:{{{cat}}}}}|no| |{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq:{{NAMESPACE}}| |
|}
<includeonly>{{#ifeq: {{lc:{{{cat}}}}}|no| |{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq:{{NAMESPACE}}| |
[[Category:Lots]]
{{#if: {{{type|}}}| {{#ifeq: {{lc:{{{type|}}}}} | rabbit hole | [[Category:Rabbit holes]] | [[Category:{{{type}}} lots]]}}}}
Line 71 ⟶ 83:
{{#if: {{{family|}}} | {{#ifeq: {{{family}}} | None | [[Category:Unoccupied lots]] | [[Category:Occupied lots]]}} | {{#ifeq: {{lc:{{{type|}}}}}| residential | [[Category:Unoccupied lots]] }} }}
{{#if: {{{neighbor|}}} | [[Category:Lots in {{{neighbor}}}]]}}
|<!--Not in Main: namespace-->}}}}}}<!---Tracking Category-->{{#if: {{{neighbor2|}}} | [[Category:Lots in multiple neighborhoods]]|}}</includeonly><noinclude>{{{neighbor2clr}}}]]{{Documentation}}</noinclude>
{{#if: {{{neighbor3|}}} | [[Category:Lots in {{{neighbor3}}}]]}}
{{#if: {{{neighbor4|}}} | [[Category:Lots in {{{neighbor4}}}]]}}
{{#if: {{{beds|}}} | {{#if: {{{baths|}}} | [[Category:Lots with {{{beds}}} bdrms and {{{baths}}} bths]]}} }}
|<!--Not in Main: namespace-->}}}}}}</includeonly>
<noinclude>{{Documentation}}</noinclude>