Template:Infocard: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
>Vinifera7
mNo edit summary
Line 8: Line 8:
<div class="right">{{#if: {{{headerright|}}} | {{{headerright}}} }}</div>
<div class="right">{{#if: {{{headerright|}}} | {{{headerright}}} }}</div>
</div>
</div>
<ul class="inner" style="{{{innerstyle|}}}">
<div class="inner" style="{{{innerstyle|}}}">
{{#if: {{{b1|}}} | <li class="{{{b1class|}}}" style="{{{b1style|}}}">{{{b1}}}</li> }}<!--
{{#if: {{{b1|}}} | <div class="block {{{b1class|}}}" style="{{{b1style|}}}">{{{b1}}}</div> }}<!--
-->{{#if: {{{b2|}}} | <li class="{{{b2class|}}}" style="{{{b2style|}}}">{{{b2}}}</li> }}<!--
-->{{#if: {{{b2|}}} | <div class="block {{{b2class|}}}" style="{{{b2style|}}}">{{{b2}}}</div> }}<!--
-->{{#if: {{{b3|}}} | <li class="{{{b3class|}}}" style="{{{b3style|}}}">{{{b3}}}</li> }}<!--
-->{{#if: {{{b3|}}} | <div class="block {{{b3class|}}}" style="{{{b3style|}}}">{{{b3}}}</div> }}<!--
-->{{#if: {{{b4|}}} | <li class="{{{b4class|}}}" style="{{{b4style|}}}">{{{b4}}}</li> }}<!--
-->{{#if: {{{b4|}}} | <div class="block {{{b4class|}}}" style="{{{b4style|}}}">{{{b4}}}</div> }}<!--
-->{{#if: {{{b5|}}} | <li class="{{{b5class|}}}" style="{{{b5style|}}}">{{{b5}}}</li> }}<!--
-->{{#if: {{{b5|}}} | <div class="block {{{b5class|}}}" style="{{{b5style|}}}">{{{b5}}}</div> }}<!--
-->{{#if: {{{b6|}}} | <li class="{{{b6class|}}}" style="{{{b6style|}}}">{{{b6}}}</li> }}<!--
-->{{#if: {{{b6|}}} | <div class="block {{{b6class|}}}" style="{{{b6style|}}}">{{{b6}}}</div> }}<!--
-->{{#if: {{{b7|}}} | <li class="{{{b7class|}}}" style="{{{b7style|}}}">{{{b7}}}</li> }}<!--
-->{{#if: {{{b7|}}} | <div class="block {{{b7class|}}}" style="{{{b7style|}}}">{{{b7}}}</div> }}<!--
-->{{#if: {{{b8|}}} | <li class="{{{b8class|}}}" style="{{{b8style|}}}">{{{b8}}}</li> }}<!--
-->{{#if: {{{b8|}}} | <div class="block {{{b8class|}}}" style="{{{b8style|}}}">{{{b8}}}</div> }}<!--
-->{{#if: {{{b9|}}} | <li class="{{{b9class|}}}" style="{{{b9style|}}}">{{{b9}}}</li> }}<!--
-->{{#if: {{{b9|}}} | <div class="block {{{b9class|}}}" style="{{{b9style|}}}">{{{b9}}}</div> }}<!--
-->{{#if: {{{b10|}}} | <li class="{{{b10class|}}}" style="{{{b10style|}}}">{{{b10}}}</li> }}
-->{{#if: {{{b10|}}} | <div class="block {{{b10class|}}}" style="{{{b10style|}}}">{{{b10}}}</div> }}
</ul>
</div>
</div><noinclude>
</div><noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 02:16, 17 November 2013

{{{header}}}
Template documentation[view] [edit] [history] [purge]


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