Template:Ackermann dual prices/s
Appearance
This template uses TemplateStyles: |
Usage
[edit]Set of templates to simplify dual (and more) pricing tables in Ackermann's Repository of Arts.
- {{Ackermann dual prices/s}} - start
- {{Ackermann dual prices/m}} - column break
- {{Ackermann dual prices/e}} - end
Within the template environment opened by this template, lay the tables out as normal templates. The table style is provided by TemplateStyles CSS (Template:Ackermann/style.css) and should rarely need to be overridden.
- {{Ackermann dual prices/c}} - centred table row under the main table. One freetext parameter.
Parameters
[edit]- class: table class (_acker_prices is added automatically). Applies to /s and /m only. Can be different on each side. For example:
- _acker_1to1_col
- _acker_2to2_col
- _acker_2_col
- line: vertical line CSS style between tables. Optional, defaults to 1px solid black in /s, none in /m. /s and /m only.
- width: adjust the overall width. Default to 100%, but auto is useful for layout with more than two tables side-by-side.
Example
[edit]{{Ackermann dual prices/s|class=_acker_1to1_col}} ! TITLE !! £ !! !! £ |- | Commodity || 1 || a || 11 |- | Commodity || 2 || a || 22 {{Ackermann dual prices/m|class=_acker_2_col}} ! TITLE !! £ !! s. |- | Commodity || 1 || 11 |- | Commodity || 2 || 22 {{Ackermann dual prices/e}} {{Ackermann dual prices/c| Centred item is free text.}}
|
|
Centred item is free text.
See also
[edit]- Template:Ackermann/style.css: the CSS stylesheet that provides this styling.