Template:EB1911 Page Heading/doc

Purpose
This is intended only for use in the Page space Heading box, and creates a standardized close visual representation of the normal page heading. It takes four positional parameters, of which only two or three will usually be present:
 * 1) The page number, if it is aligned to the left of the page.
 * 2) The first or only article title to be centered on the page.
 * 3) If present, the second article title (the end of the range).
 * 4) The page number, if it is aligned to the right of the page.

Just one of parameters 1 and 4 should be provided, and parameter 2 should always be specified, but there is no error detection if these conventions are not followed. Parameters 2, and 3 if present, are forced to be in uppercase.

Example: produces:

produces:

Exceptional page headings
Some page headings include a major section title on the opposite side from the page number, set in medium-large capitals — for example, volume 4, page 122. The current version of this template would require you to use: or the (almost) equivalent although that imperfectly centers the central text. Updates to make this easier would be welcome. — A work-around is to add spacing next to the page number, e.g.: which adds 2.5 em-spaces to the right of the page number and evens up the center. Change the spacing for single or double digit page numbers or different length section text.

Note that the {{em| template doesn't seem to work in the < {{EB1911 Page Heading template, but you can use  & emsp; or & nbsp;  characters. (I had to include a space after the "&" above so it shows on the page - remove the space when using it.