Template:Deposit/view: Difference between revisions

From Against the Storm Official Wiki
Name column header now omitted when numdeposits is exactly 1
Adding building column for rows
Line 13: Line 13:
     |<!--then only one bonus-->
     |<!--then only one bonus-->
{{#ifexpr: {{{numdeposits|0}}} > 1 |! Name |}}
{{#ifexpr: {{{numdeposits|0}}} > 1 |! Name |}}
{{#ifeq: {{{building|}}} | skip | |! Building }}
! Charges
! Charges
! Primary
! Primary
Line 18: Line 19:
     |<!--else multiple bonuses-->
     |<!--else multiple bonuses-->
{{#ifexpr: {{{numdeposits|0}}} > 1 |!rowspan=2{{!}} Name |}}
{{#ifexpr: {{{numdeposits|0}}} > 1 |!rowspan=2{{!}} Name |}}
{{#ifeq: {{{building|}}} | skip | |!rowspan=2{{!}} Building }}
!rowspan=2{{!}} Charges
!rowspan=2{{!}} Charges
!rowspan=2{{!}} Primary
!rowspan=2{{!}} Primary

Revision as of 03:19, 14 March 2025



Deposits

Node

No deposits.

Deposits

A dense shrub, full of many useful plant species. Requires a gathering camp.

Test caption

Name Building Charges Primary Bonus Resources
#1 #2 #3
0 Primary Clay Stone Berries x x x x x x x x x x
0 Primary Reed Berries Coal x x x x x x x x x x
0 Primary Bricks Planks Fabric x x x x x x x x x x

Deposits

Test caption

Building Charges Primary Bonus

Deposits

Test caption

Building Charges Primary Bonus Resources
#1 #2

Deposits

Test caption

Building Charges Primary Bonus Resources
#1 #2 #3

Deposits

Test caption

Name Building Charges Primary Bonus Resources
#1 #2 #3 #4

Deposits

Test caption

Name Building Charges Primary Bonus Resources
#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.