Template:Deposit/view/row: Difference between revisions

From Against the Storm Official Wiki
Adding biome columns
Total number of biomes is now 10
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
{{#if: {{{deposit|}}} | {{!}}class="ats-table-deposit-node"{{!}} {{{deposit|Deposit}}} |}}
{{#if: {{{deposit|}}} | {{!}}class="ats-table-deposit-node"{{!}} {{{deposit|Deposit}}} |}}
{{#if: {{{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 | {{!}}{{!}} — |}} }}
{{#ifeq: {{{skip_biomes|show}}} | skip
{{#ifeq: {{{skip_biomes|show}}} | skip
   |<!--then do nothing-->
   |<!--then do nothing-->
   |<!--else show biomes columns-->
   |<!--else show biomes columns-->
{{!}}class="ats-table-deposit-biome"{{!}} {{{biome1|—}}}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome1|}}} | [[{{{biome1}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{{biome2|—}}}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome2|}}} | [[{{{biome2}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{{biome3|—}}}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome3|}}} | [[{{{biome3}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{{biome4|—}}}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome4|}}} | [[{{{biome4}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{{biome5|—}}}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome5|}}} | [[{{{biome5}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{{biome6|—}}}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome6|}}} | [[{{{biome6}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{{biome7|—}}}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome7|}}} | [[{{{biome7}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{{biome8|—}}}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome8|}}} | [[{{{biome8}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome9|}}} | [[{{{biome9}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
{{!}}class="ats-table-deposit-biome"{{!}} {{#if: {{{biome10|}}} | [[{{{biome10}}} {{!}} {{ImgM}}]] | {{c|Red|x}} }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Deposit|building=Mine|skip_biomes=skip}}


{{Template:Reserved_template_warning}}
{{Template:Reserved_template_warning}}

Latest revision as of 22:45, 8 August 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.