Jump to content

Template:Meta box/Section

From WikiGenius
Revision as of 17:46, 22 January 2017 by vikidiaen>Klipe (moved nowiki code end to the right place)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is part of a series meta templates that can be used to create information boxes summarising facts about the subject of the article. It should not be used directly in articles.

This template inserts a section title in a box table: it must be used between {{Meta box/Header}} and {{Meta box/Footer}}. A section title will typically be followed with one or more {{Meta box/Row}} and {{Meta box/Area}}. It is possible to display the section title only if some parameters (e.g. used in those subsequent rows and areas) are not empty.

Parameters:

displayIf
The list of parameters whose existence will trigger the display of the section title. If empty, then the section title will be displayed in any case. Example: {{{parameter1|}}}{{{parameter2|}}} (beware the triple braces and the pipe around each parameter!).
title
The title of the section.
titleShape
The shape of the title area. Can be square or round. Default: round.
titleTextColour
The text colour of the section title.
titleBackground
The background colour of the section title area.
style
Additional CSS style for the section title area. Example: text-align:center; will centre the section title.

fr:Modèle:Boîte/Section

Cookies help us deliver our services. By using our services, you agree to our use of cookies.