Template:Deposit/view: Difference between revisions
From Against the Storm Official Wiki
Adding building column for rows |
Adding biome columns |
||
| 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 |}} | |||
{{#ifeq: {{{building|show}}} | skip | <!--skip--> | !rowspan=2{{!}} Building }} | |||
{{ | |||
{{#ifeq: {{{building|}}} | skip | |||
!rowspan=2{{!}} Charges | !rowspan=2{{!}} Charges | ||
!rowspan=2{{!}} Primary | !rowspan=2{{!}} Primary | ||
!colspan={{{maxbonuses}}}{{!}} Bonus | !colspan={{{maxbonuses|1}}}{{!}} Bonus | ||
{{#ifeq: {{{skip_biomes|show}}} | skip | <!--skip--> | !colspan=8{{!}} In Biomes }} | |||
{{!}}- | {{!}}- | ||
! #1 | ! #1 | ||
{{#ifexpr: {{{maxbonuses|0}}} > 1 | ! #2 |}} | |||
{{#ifexpr: {{{maxbonuses|0}}} > 2 | ! #3 |}} | |||
{{#ifexpr: {{{maxbonuses|0}}} > 3 | ! #4 |}} | |||
{{#ifeq: {{{skip_biomes|show}}} | skip | |||
|<!--then skip biomes--> | |||
|<!--else show biome column headers--> | |||
! [[ {{{biome1|File:Question_mark.png}}} {{!}} {{ImgS}} ]] | |||
! [[ {{{biome2|File:Question_mark.png}}} {{!}} {{ImgS}} ]] | |||
! [[ {{{biome3|File:Question_mark.png}}} {{!}} {{ImgS}} ]] | |||
! [[ {{{biome4|File:Question_mark.png}}} {{!}} {{ImgS}} ]] | |||
! [[ {{{biome5|File:Question_mark.png}}} {{!}} {{ImgS}} ]] | |||
! [[ {{{biome6|File:Question_mark.png}}} {{!}} {{ImgS}} ]] | |||
! [[ {{{biome7|File:Question_mark.png}}} {{!}} {{ImgS}} ]] | |||
! [[ {{{biome8|File:Question_mark.png}}} {{!}} {{ImgS}} ]] | |||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
| Line 50: | Line 57: | ||
{{Deposit/view/end}} | {{Deposit/view/end}} | ||
<hr> | <hr> | ||
{{Deposit/view|caption=Test caption|numdeposits=2|maxbonuses=5}} | {{Deposit/view|skip_biomes=skip|caption=Test caption|numdeposits=2|maxbonuses=5}} | ||
{{Deposit/view/end}} | {{Deposit/view/end}} | ||
<hr> | <hr> | ||
Revision as of 14:17, 14 March 2025
Deposits
Node
| No deposits. |
|---|
Deposits
A dense shrub, full of many useful plant species. Requires a gathering camp.
Deposits
Test caption
| Name | Building | Charges | Primary | Bonus | ||||
|---|---|---|---|---|---|---|---|---|
| #1 | #2 | #3 | #4 | |||||
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.


