Template:Title: Difference between revisions

From Electrical Installation Guide
m (1 revision imported: Import all new templates etc (exported from PPR))
m (Protected "Template:Title" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 22:34, 22 December 2019


Description

This template is used to generate complete "object" titles (<prefix num> + <title>). It adds these 2 elements as 2 consecutive <div>s with related classes ("num" and "title"). The "prefix" used for "Table" (in "Table F2") in local language is coming from system message mediawiki:table-acronym (to be created / localized in new wikis)

Template parameters

ParameterDescriptionTypeStatus
Prefix to add before numberprefix 1

The prefix which can be "Fig." or "Table"

Example
Fig.
Stringsuggested
Table or figure numbernum 2

The number of this table or figure, in its containing chapter (with chapter letter)

Example
F12
Stringsuggested
Table or figure titletitle 3

The title of the table or figure

Example
Standards for Grid power quality assessment
Stringsuggested