Template:Infocard/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
>Vinifera7
mNo edit summary
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
{{lua|Module:Infocard}}
 
<includeonly>
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.
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Infocard templates]]
==Parameters==
</includeonly>
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>style</code> || Inline styles 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>innerstyle</code> || Inline styles appended to the inner section
|-
| <code>b1</code> to <code>b10</code> || Blocks of content inserted into the inner section in order
|-
| <code>b1class</code> to <code>b10class</code> || CSS classes appended to their corresponding blocks
|-
| <code>b1style</code> to <code>b10style</code> || Inline styles appended to their corresponding blocks
|}
 
{{Documentation categories|
<!-- Categories and interwikis go here. -->
[[Category:Infocard templates| ]]
}}

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