Template:Version History/doc

From Calamity Mod Wiki
Jump to navigation Jump to search

This is a shortcut template that transcludes history subpages onto their respective main page. If no such page exists, the template will produce a redlink.

If the section is getting large, some version entities will be collapsed. The rules are:

  • Collapse will not start inside a version entry, it will always start at the beginning of a version entity.
  • If the number of lines reaches T1 in (n)th version entry, collapse will start at (n+1)th version entry. (Expect to show T1 lines or slightly more.)
    • However, if in (n)th version entry the number of lines further reaches T2, collapse will start earlier at (n)th version entry. (If (n)th entity happens to be fairly long, also collapse it.)
  • The first version entry is never collapsed, no matter how long it is.

By default, T1=10 and T2=15, and can be changed via |showlines= and |maxshowlines= parameters respectively.