Welcome to the new official WARFRAME Wiki!
Migrate your account | Wiki Discord

Template:StoreTableCell

From WARFRAME Wiki
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
 Cyte-09 Chassis Component 2
 Cyte-09 Systems Component 4
 AX-52 Weapon 6
 Vesper 77 Receiver Component 8
 Vesper 77 Handle 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
 Cyte-09 Chassis Component 2
 Cyte-09 Systems Component 4
 AX-52 Weapon 6
 Vesper 77 Receiver Component 3000
 Vesper 77 Handle 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
 Cyte-09 Chassis Component 2
 Cyte-09 Systems Component 4
 AX-52 Weapon 6
 Vesper 77 Receiver Component 8
 Vesper 77 Handle Component 10