Template:Infocard/doc: Difference between revisions
Jump to navigation
Jump to search
>Vinifera7 mNo edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Lua|Module:Infocard}} | {{Lua|Module:Infocard}} | ||
This template is used as a base for building other infocard templates. Their purpose is to display page-specific information in a uniform way across multiple pages. | |||
==Parameters== | |||
All parameters except for <code>header</code> are optional. They can be excluded or left blank. | |||
{| class="wikitable" | |||
! Parameter !! Description | |||
|- | |||
| <code>class</code> || CSS classes appended to the infocard | |||
|- | |||
| <code>above</code> || Content inserted above the infocard | |||
|- | |||
| <code>heading</code> || Heading text | |||
|- | |||
| <code>subheading</code> || Secondary heading text | |||
|- | |||
| <code>headerleft</code> || Content inserted to the left of the header and subheader | |||
|- | |||
| <code>headerright</code> || Content inserted to the right of the header and subheader | |||
|- | |||
| <code>1</code> to <code>10</code> || Blocks of content inserted into the inner section in order | |||
|- | |||
| <code>1class</code> to <code>10class</code> || CSS classes appended to their corresponding blocks | |||
|- | |||
| <code>below</code> || Content inserted below the infocard | |||
|} | |||
{{Documentation categories| | {{Documentation categories| |
Latest revision as of 21:34, 25 February 2022
This subpage provides documentation for Template:Infocard.
This template is used as a base for building other infocard templates. Their purpose is to display page-specific information in a uniform way across multiple pages.
Parameters
All parameters except for header
are optional. They can be excluded or left blank.
Parameter | Description |
---|---|
class |
CSS classes appended to the infocard |
above |
Content inserted above the infocard |
heading |
Heading text |
subheading |
Secondary heading text |
headerleft |
Content inserted to the left of the header and subheader |
headerright |
Content inserted to the right of the header and subheader |
1 to 10 |
Blocks of content inserted into the inner section in order |
1class to 10class |
CSS classes appended to their corresponding blocks |
below |
Content inserted below the infocard |