![]() |
Migrate your account | Wiki Discord |
---|
Template:StoreTableCell
Jump to navigation
Jump to search
data-store-currency="" data-store-value="" data-sort-value="" class="sell-col" |
Template documentation (for the above template, sometimes hidden or invisible)
Template to be used when using a wikitable with the class lighttable
and store-table
enabled. It adds the necessary data attributes to a cell for the store-table
class to properly calculate the final resource/currencies needed at the footer. It is not meant to be used on its own.
store-table
class logic can be found in MediaWiki:Gadget-highlightTable-core.js.
StoreTableCell accepts two parameters:
- Parameter 1: Number of item required
- Parameter 2: Name of item (optional)
Example:
{{StoreTableCell|15}}
{{StoreTableCell|8|Orokin Cells}}
{{StoreTableCell|3000|Mastery Points}}
Single Item Table Use Case[edit source]
{| class="listtable lighttable store-table" style="width: 600px;" |- ! Blueprint ! Type ! Quantity |- |{{WF|Cyte-09}} Chassis || Component || {{StoreTableCell|2|Orokin Cells}} |- |{{WF|Cyte-09}} Systems || Component || {{StoreTableCell|4|Orokin Cells}} |- |{{Weapon|AX-52}} || Weapon || {{StoreTableCell|6|Orokin Cells}} |- |{{Weapon|Vesper 77}} Receiver || Component || {{StoreTableCell|8|Orokin Cells}} |- |{{Weapon|Vesper 77}} Handle || Component || {{StoreTableCell|10|Orokin Cells}} |}
Blueprint | Type | Quantity |
---|---|---|
![]() |
Component | 2 |
![]() |
Component | 4 |
![]() |
Weapon | 6 |
![]() |
Component | 8 |
![]() |
Component | 10 |
Multi Item Table Use Case[edit source]
{| class="listtable lighttable store-table" style="width: 600px;" |- ! Blueprint ! Type ! Quantity |- |{{WF|Cyte-09}} Chassis || Component || {{StoreTableCell|2|Orokin Cells}} |- |{{WF|Cyte-09}} Systems || Component || {{StoreTableCell|4|Orokin Cells}} |- |{{Weapon|AX-52}} || Weapon || {{StoreTableCell|6|Orokin Cells}} |- |{{Weapon|Vesper 77}} Receiver || Component || {{StoreTableCell|3000|Mastery Points}} |- |{{Weapon|Vesper 77}} Handle || Component || {{StoreTableCell|3000|Mastery Points}} |}
Blueprint | Type | Quantity |
---|---|---|
![]() |
Component | 2 |
![]() |
Component | 4 |
![]() |
Weapon | 6 |
![]() |
Component | 3000 |
![]() |
Component | 3000 |
Nameless Item Table Use Case[edit source]
{| class="listtable lighttable store-table" style="width: 600px;" |- ! Blueprint ! Type ! Quantity |- |{{WF|Cyte-09}} Chassis || Component || {{StoreTableCell|2}} |- |{{WF|Cyte-09}} Systems || Component || {{StoreTableCell|4}} |- |{{Weapon|AX-52}} || Weapon || {{StoreTableCell|6}} |- |{{Weapon|Vesper 77}} Receiver || Component || {{StoreTableCell|8}} |- |{{Weapon|Vesper 77}} Handle || Component || {{StoreTableCell|10}} |}
Blueprint | Type | Quantity |
---|---|---|
![]() |
Component | 2 |
![]() |
Component | 4 |
![]() |
Weapon | 6 |
![]() |
Component | 8 |
![]() |
Component | 10 |
Visit Template:StoreTableCell/doc to edit this text! (How does this work?)
Lorem ipsum dolor sit amet