Template:CostLine/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{Documentation|Template:CostLine}} The '''CostTable''' templates are used to display the cost of one or multiple items, and can calculate a total to display at the bottom. ==Usage== <pre> {{CostTableHead |caption = <!-- (Optional) Adds a caption to the table --> |quantity = <!-- (Optional) Display the quantity column --> |class = <!-- (Optional) Additional classes for the table --> |style = <!-- (Optional) Allows for style overrides in the table head --> }}...")
 
No edit summary
 
Line 69:
|{{*}}||'''compare''':||(Optional) Adds an additional item to compare the total cost to. Intended for comparing set items with their individual pieces. See below for an example.
|-
|{{*}}||'''gemwname''':||(Optional) Provides an override to the displayed link text and the string that is passed to the <code><nowiki>{{GEP}}</nowiki></code> template. Mostly for mw.pages where the page name differs from the item's actual name.
|-
|{{*}}||'''quantity''':||(Optional) Changes the quantity of the item, defaults to 1. Useful when a recipe produces more than 1 of something at a time.

Navigation menu