Open main menu

Template:Ackermann dual prices/c

Documentation icon Template documentation[view] [edit] [history] [purge]

UsageEdit

Set of templates to simplify dual (and more) pricing tables in Ackermann's Repository of Arts.

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.

ParametersEdit

  • 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.

ExampleEdit

{{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.}}


TITLE £ £
Commodity 1 a 11
Commodity 2 a 22

TITLE £ s.
Commodity 1 11
Commodity 2 22

Centred item is free text.

See alsoEdit