
This article refers to a process used on sites that have not been migrated to the New WMS yet.
If your site is already migrated, consult the Index of documentation for the McGill Web Management System.
Target audience: Site Administrators, Site Managers, Site Editors
The Big Numbers template is used to display visually appealing statistical or infographic information on a Web Management System (WMS) site.
In this article:
The Big Numbers template consists of a value (large red text) with a caption beneath (grey, italic text). It can be created and configured entirely in the WYSIWYG editor interface.
The source code of the Big Numbers layout looks like this:
<div> <bignumber> <bnvalue>13 is a default value</bnvalue>
<bncaption>This is a default caption</bncaption> </bignumber></div>
The various tags are defined as follows:
<bignumber>: tag set that encompasses the template<bnvalue>: tag that contains the number itself<bncaption>: tag that contains a caption<div>: division container for the templateThe instructions below explain how to modify the code to display Big Number variations.
To display the caption above the digits, simply cut the <bncaption> tag set and paste it above the <bnvalue> tag set:
Default code |
Modified code |
|---|---|
|
|
|
To display captions both above and below the digits, simply copy the <bncaption> tag set and paste it above the <bnvalue> tag set:
Default code |
Modified code |
|---|---|
|
|
|
To add an image to Big Numbers, do the following:
The recommended method for deleting Big Numbers is to do so via the HTML source.
To remove Big Numbers:
<div> tag of the tag set that contains the Big Numbers to be deleted.<div> tag to the closing </div> tag.