Template:Infocard/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
m (Vinifera7 moved page Template:Infocard2/doc to Template:Infocard/doc without leaving a redirect)
No edit summary
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>header</code> || Header text
|-
| <code>subheader</code> || Secondary header 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
|}


{{Documentation categories|
{{Documentation categories|

Revision as of 18:59, 25 February 2022

This subpage provides documentation for Template:Infocard.

Lua logo

This template uses the following modules:

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
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
1 to 10 Blocks of content inserted into the inner section in order
1class to 10class CSS classes appended to their corresponding blocks