Difference between revisions of "Template:Infobox grow/table"
Jump to navigation
Jump to search
sc4e>Jdenm8 (Adding functionality to automatically append (Dilapidated) to occupants$$ when there is a value provided for occupants$$$) |
m (21 revisions imported) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | <noinclude> | ||
| + | {{documentation}} | ||
| + | </noinclude> | ||
| + | |||
{{infobox/table|title=Lot Stats| | {{infobox/table|title=Lot Stats| | ||
{{row|{{{size|}}}|'''Lot Size''' | {{row|{{{size|}}}|'''Lot Size''' | ||
| Line 18: | Line 22: | ||
{{row|{{{occupants$|}}}|'''Occupants (§)''' | {{row|{{{occupants$|}}}|'''Occupants (§)''' | ||
{{!}}{{#if:{{{occupants$$}}}|{{#ifeq:{{{wealth}}}|CO$$|Cannot Degrade to this Wealth|{{#ifeq:{{{wealth}}}|CO§§§|Cannot Degrade to this Wealth|{{{occupants$}}} (Dilapidated)}}}}|{{{occupants$}}}}}}} | {{!}}{{#if:{{{occupants$$}}}|{{#ifeq:{{{wealth}}}|CO$$|Cannot Degrade to this Wealth|{{#ifeq:{{{wealth}}}|CO§§§|Cannot Degrade to this Wealth|{{{occupants$}}} (Dilapidated)}}}}|{{{occupants$}}}}}}} | ||
| − | {{row|{{{occupants$$|}}}|'''Occupants (§§)''' | + | {{#if:{{{occupants$$}}}|{{row|{{{occupants$$|}}}|'''Occupants (§§)''' |
| − | {{!}}{{#if:{{{occupants$$$}}}|{{{occupants$$}}} (Dilapidated)|{{{occupants$$}}}}}}} | + | {{!}}{{{occupants$$}}}|{{#if:{{{occupants$$$}}}|{{{occupants$$}}} (Dilapidated)|{{{occupants$$}}}}}}}|}} |
| − | {{row|{{{occupants$$$|}}}|'''Occupants (§§§)''' | + | {{#if:{{{occupants$$$}}}|{{row|{{{occupants$$$|}}}|'''Occupants (§§§)''' |
| − | {{!}}{{{occupants$$$}}}}} | + | {{!}}{{{occupants$$$}}}}}|}} |
{{row|{{{worth|}}}|'''Worth''' | {{row|{{{worth|}}}|'''Worth''' | ||
{{!}}{{{worth}}}}} | {{!}}{{{worth}}}}} | ||