Jump to content
Wikipedia The Free Encyclopedia

User:Mathglot/sandbox/Templates/x-axis

From Wikipedia, the free encyclopedia
0
50
100
150
200
250
300
350
400
450
page views for Liberation of France
Documentation

Generates an x-axis legend with labeled tick marks for a horizontal page views graph, based on max page views for a given page.

Usage

{{xviews|pageviews filename}}

Parameters

  • |1= – a page views dump file downloaded from the pageviews tool (required)
  • |caption= – second line of description under the labeled ticks (optional; default: "page views for ArticleName")
  • |shift= – right-shift (padding-left) for axis origin to account for date labels (optional; default=16px) use this to vertically align the axis origin with the left margin of progress bars if labels are excluded, abbreviated, or lengthened)
  • |ff= – fudge factor: expansion factor for tick mark placement (temp. param while in development)

See also

Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this page.

AltStyle によって変換されたページ (->オリジナル) /