Template:Deposit/view: Difference between revisions

From Against the Storm Official Wiki
m Removing example to make the reserved template warning stand out
m adding ats classes to headers
Line 10: Line 10:
!class="unsortable"{{!}} No deposits.
!class="unsortable"{{!}} No deposits.
   |<!--else show deposits-->
   |<!--else show deposits-->
{{#ifexpr: {{{numdeposits|0}}} > 1 | !rowspan=2{{!}} Name |}}
{{#ifexpr: {{{numdeposits|0}}} > 1 | !rowspan=2 class="ats-deposit-table-node"{{!}} Name |}}
{{#ifeq: {{{building|show}}} | skip | <!--skip--> | !rowspan=2{{!}} Building }}
{{#ifeq: {{{building|show}}} | skip | <!--skip--> | !rowspan=2 class="ats-deposit-table-building"{{!}} Building }}
!rowspan=2{{!}} Charges
!rowspan=2 class="ats-deposit-charges"{{!}} Charges
!rowspan=2{{!}} Primary
!rowspan=2 class="ats-table-deposit-primary"{{!}} Primary
!colspan={{{maxbonuses|1}}}{{!}} Bonus
!colspan={{{maxbonuses|1}}} class="ats-table-deposit-spanning"{{!}} Bonus
{{#ifeq: {{{skip_biomes|show}}} | skip | <!--skip--> | !colspan=8{{!}} In Biomes }}
{{#ifeq: {{{skip_biomes|show}}} | skip | <!--skip--> | !colspan=8 class="ats-table-deposit-spanning"{{!}} In Biomes }}
{{!}}-
{{!}}-
! &#35;1 {{#ifexpr: {{{maxbonuses|0}}} > 1 | !! &#35;2 |}} {{#ifexpr: {{{maxbonuses|0}}} > 2 | !! &#35;3 |}} {{#ifexpr: {{{maxbonuses|0}}} > 3 | !! &#35;4 |}}
!class="ats-table-deposit-bonus"{{!}} &#35;1 {{#ifexpr: {{{maxbonuses|0}}} > 1 | !!class="ats-table-deposit-bonus"{{!}} &#35;2 |}} {{#ifexpr: {{{maxbonuses|0}}} > 2 | !!class="ats-table-deposit-bonus"{{!}} &#35;3 |}} {{#ifexpr: {{{maxbonuses|0}}} > 3 | !!class="ats-table-deposit-bonus"{{!}} &#35;4 |}}
   {{#ifeq: {{{skip_biomes|show}}} | skip
   {{#ifeq: {{{skip_biomes|show}}} | skip
     |<!--then skip biomes-->
     |<!--then skip biomes-->
     |<!--else show biome column headers-->
     |<!--else show biome column headers-->
! [[ {{{biome1|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
!class="ats-table-deposit-biome"{{!}} [[ {{{biome1|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
! [[ {{{biome2|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
!class="ats-table-deposit-biome"{{!}} [[ {{{biome2|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
! [[ {{{biome3|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
!class="ats-table-deposit-biome"{{!}} [[ {{{biome3|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
! [[ {{{biome4|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
!class="ats-table-deposit-biome"{{!}} [[ {{{biome4|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
! [[ {{{biome5|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
!class="ats-table-deposit-biome"{{!}} [[ {{{biome5|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
! [[ {{{biome6|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
!class="ats-table-deposit-biome"{{!}} [[ {{{biome6|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
! [[ {{{biome7|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
!class="ats-table-deposit-biome"{{!}} [[ {{{biome7|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
! [[ {{{biome8|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
!class="ats-table-deposit-biome"{{!}} [[ {{{biome8|File:Question_mark.png}}} {{!}} {{ImgM}} ]]
   }}
   }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 19:35, 15 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.