Difference between revisions of "Template:Infobox grow/table"
Jump to navigation
Jump to search
sc4e>Jdenm8 |
sc4e>Jdenm8 (Adding conditions so that hopefully occupants$$ and occupants$$$ will no longer show if they have no value.) |
||
Line 22: | 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}}}}} |