Stats are a list of paired properties and values that we use at the end of meta or blurbs and similar descriptive blocks. They are usually countable values (e.g. Hits: 100) or some kind of binary status (e.g. Status: Complete).
The stats style is declared in 10-types-groups.css.
Rules
Stats are always a dl.stats
. You can never have any other kind of stats.
Stats always come at the end of meta and work blurbs. Stats may also appear in other contexts.
dl.stats
may appear within a dd.stats
, but it can’t be depended on.
The colon should be included in the translation string, not inserted with CSS.
Property and value pairs may be given matching class names. Never give a class to the property and not the value (or vice verse).
Quick reference
- [...]
- always included
- {...}
- sometimes included
[dl stats] [dt][/dt] [dd][/dd] [/dl]
XHTML diagram
This diagram is taken from work meta.
<dl class="stats">
<dt class="published">
<dd class="published">
<dt class="words">
<dd class="words">
<dt class="chapters">
<dd class="chapters">
<dt class="comments">
<dd class="comments">
<dt class="kudos">
<dd class="kudos">
<dt class="hits">
<dd class="hits">