Jump to content

Template:Metrics dashboard/doc

From Wikipedia, the free encyclopedia

This template invokes Module:Metrics dashboard's "list" function and uses Template:Metrics dashboard/styles.css to format it less like a list and more like a dashboard.

Usage

[edit]

The parameters accepted are figureN-value and figureN-label, where N is the number of the dashboard item in order. Additionally, you can provide a footer and last-updated parameter. Use a bot parameter to show the bot's username in the footer.

{{Metrics dashboard
|figure1-value=299
|figure1-label=articles
|figure2-value=13.5%
|figure2-label=improvement
|footer=Some additional information
|last-updated=2023-05-10
|bot=Bot username
}}
  • 299articles
  • 13.5%improvement

Parameters

[edit]
  • figureN-value: The value of the dashboard item at index N.
  • figureN-label: The label of the dashboard item at index N.
  • footer: (Optional) Additional information displayed at the bottom left of the dashboard.
  • last-updated: (Optional) A timestamp indicating when the dashboard was last updated. Displayed at the bottom right of the dashboard.

N should be a positive integer, and you can create as many dashboard items as needed by incrementing the index.