Template:Infocard/doc: Difference between revisions
Jump to navigation
Jump to search
>Vinifera7 mNo edit summary |
>Vinifera7 mNo edit summary |
(No difference)
|
Revision as of 21:49, 2 December 2020
This subpage provides documentation for Template:Infocard.
The infocard 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 |
style |
Inline styles appended to the infocard |
header |
Header text |
subheader |
Secondary header text |
headerleft |
Content inserted to the left of the header and subheader |
headerright |
Content inserted to the right of the header and subheader |
innerstyle |
Inline styles appended to the inner section |
b1 to b10 |
Blocks of content inserted into the inner section in order |
b1class to b10class |
CSS classes appended to their corresponding blocks |
b1style to b10style |
Inline styles appended to their corresponding blocks |