Template:FurnitureCard

From Blue Archive Wiki
Revision as of 09:59, 29 October 2022 by Electricsheep (talk | contribs) (Created page with "<includeonly>{{#ifeq: {{{2|}}} | block | {{#vardefine:block_output | true }} }}{{#ifeq: {{{3|}}} | block | {{#vardefine:block_output | true }} }}{{#ifeq: {{{4|}}} | block | {{#vardefine:block_output | true }} }}{{#ifeq: {{{5|}}} | block | {{#vardefine:block_output | true }} }}{{#if: {{#var:furnituredata_{{{1|}}}}} || {{#vardefine:furnituredata_{{{1|}}} | {{#cargo_query: tables=furniture |fields= CONCAT(Icon, '{{!}}', NameEN, '{{!}}', Category, '{{!}}', Rarity, '{{!}}', _...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Outputs an image of the item that links back to its page. Behaves just like Template:ItemCard, but for cafe furniture.

Usage

{{FurnitureCard|Name[|32px[|text=AltName][|block]][|quantity=1]}}

Options

  • 32px: image size with statement format corresponding to MediaWiki File size style (32px for set width, x32px for set height, 32x32px for arbitrary scaling); should be a width only value if using block output
  • text: alternative item name to display. Use text= to disable text output entirely
  • quantity: EXPERIMENTAL prefix the item icon with a quantity, intended for inline use with default size
  • block: display card as a block element the width of the icon, with item name underneath

Examples

Military chair・BlueMilitary chair・Blue

Military chair・GreenMilitary chair・Green

AltNameAltName

Valentine ChairValentine Chair

95Counter Chair・Dark VioletCounter Chair・Dark Violet