Template:Infocard/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(Created page with "{{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 unif...")
 
>Illviljan
(Created page with "{{lua|Module:Infocard}}")
Line 1: Line 1:
{{documentation subpage}}
{{lua|Module: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 <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
|}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Infocard templates| ]]
</includeonly>

Revision as of 08:26, 8 July 2016

Lua logo

This template uses the following modules: