Template:Deposit/view/row: Difference between revisions

From Against the Storm Official Wiki
m adding ats classes to building cells
m typos in class names
Line 2: Line 2:
{{#if: {{{deposit|}}} | {{!}}class="ats-table-deposit-node"{{!}} {{{deposit|Deposit}}} |}}
{{#if: {{{deposit|}}} | {{!}}class="ats-table-deposit-node"{{!}} {{{deposit|Deposit}}} |}}
{{#if: {{{building|}}} | {{!}}class="ats-table-deposit-building"{{!}} {{{building|}}} |}}
{{#if: {{{building|}}} | {{!}}class="ats-table-deposit-building"{{!}} {{{building|}}} |}}
|class="ats-deposit-charges"| {{{charges|0}}}
|class="ats-table-deposit-charges"| {{{charges|0}}}
|class="ats-table-deposit-primary"| {{{primary|Primary}}}
|class="ats-table-deposit-primary"| {{{primary|Primary}}}
{{#if: {{{bonus1|}}} | {{!}}class="ats-table-deposit-bonus"{{!}} {{{bonus1}}} | {{!}} — }}  {{#if: {{{bonus2|}}} | {{!}}{{!}}class="ats-table-deposit-bonus"{{!}} {{{bonus2}}} | {{#ifexpr: {{{maxbonuses|0}}} > 1 | {{!}}{{!}} — |}} }}  {{#if: {{{bonus3|}}} | {{!}}{{!}}class="ats-table-deposit-bonus"{{!}} {{{bonus3}}} | {{#ifexpr: {{{maxbonuses|0}}} > 2 | {{!}}{{!}} — |}} }}  {{#if: {{{bonus4|}}} | {{!}}{{!}}class="ats-table-deposit-bonus"{{!}} {{{bonus4}}} | {{#ifexpr: {{{maxbonuses|0}}} > 3 | {{!}}{{!}} — |}} }}
{{#if: {{{bonus1|}}} | {{!}}class="ats-table-deposit-bonus"{{!}} {{{bonus1}}} | {{!}} — }}  {{#if: {{{bonus2|}}} | {{!}}{{!}}class="ats-table-deposit-bonus"{{!}} {{{bonus2}}} | {{#ifexpr: {{{maxbonuses|0}}} > 1 | {{!}}{{!}} — |}} }}  {{#if: {{{bonus3|}}} | {{!}}{{!}}class="ats-table-deposit-bonus"{{!}} {{{bonus3}}} | {{#ifexpr: {{{maxbonuses|0}}} > 2 | {{!}}{{!}} — |}} }}  {{#if: {{{bonus4|}}} | {{!}}{{!}}class="ats-table-deposit-bonus"{{!}} {{{bonus4}}} | {{#ifexpr: {{{maxbonuses|0}}} > 3 | {{!}}{{!}} — |}} }}

Revision as of 01:50, 16 March 2025


Templates in the Reserved templates subcategory are NOT intended to be used directly by article authors.

These templates are reserved for special pages, meta pages, and automated by Lua modules.

Please reach out to the wiki community for alternatives before you use these templates on your pages.