Template:Infocard/doc: Difference between revisions

From Path of Exile Wiki
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}}


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}}
 
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>style</code> || Inline styles appended to the infocard
| <code>above</code> || Content inserted above the infocard
|-
|-
| <code>header</code> || Header text
| <code>heading</code> || Heading text
|-
|-
| <code>subheader</code> || Secondary header text
| <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>innerstyle</code> || Inline styles appended to the inner section
| <code>1</code> to <code>10</code> || Blocks of content inserted into the inner section in order
|-
| <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>1class</code> to <code>10class</code> || CSS classes appended to their corresponding blocks
|-
|-
| <code>b1style</code> to <code>b10style</code> || Inline styles appended to their corresponding blocks
| <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.

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
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