Template:Infocard/doc: Difference between revisions
Jump to navigation
Jump to search
>Vinifera7 mNo edit summary |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{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== | ==Parameters== | ||
Line 11: | Line 13: | ||
| <code>class</code> || CSS classes appended to the infocard | | <code>class</code> || CSS classes appended to the infocard | ||
|- | |- | ||
| <code> | | <code>above</code> || Content inserted above the infocard | ||
|- | |- | ||
| <code> | | <code>heading</code> || Heading text | ||
|- | |- | ||
| <code> | | <code>subheading</code> || Secondary heading text | ||
|- | |- | ||
| <code>headerleft</code> || Content inserted to the left of the header and subheader | | <code>headerleft</code> || Content inserted to the left of the header and subheader | ||
Line 21: | Line 23: | ||
| <code>headerright</code> || Content inserted to the right of the header and subheader | | <code>headerright</code> || Content inserted to the right of the header and subheader | ||
|- | |- | ||
| <code> | | <code>1</code> to <code>10</code> || Blocks of content inserted into the inner section in order | ||
|- | |- | ||
| <code> | | <code>1class</code> to <code>10class</code> || CSS classes appended to their corresponding blocks | ||
|- | |- | ||
| <code> | | <code>below</code> || Content inserted below the infocard | ||
|} | |} | ||
{{Documentation categories| | {{Documentation categories| | ||
<!-- Categories and interwikis go here. --> | <!-- Categories and interwikis go here. --> | ||
[[Category:Infocard templates | [[Category:Infocard templates]] | ||
}} | }} |
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 |