Template:Infocard/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
mNo edit summary
>Vinifera7
mNo edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


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.
{{Lua|Module:Infocard}}
 
==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>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|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:Infocard templates| ]]
[[Category:Infocard templates]]
}}
}}

Revision as of 21:50, 2 December 2020

This subpage provides documentation for Template:Infocard.

Lua logo

This template uses the following modules: