Template:Infocard: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<div class="infocard {{{class|}}}" style="{{{style|}}}"> <div class="topbar"><!-- -->{{#if: {{{titleleft|}}} | <div class="left">{{{titleleft}}}</div> }} <div class="middle"> ...") |
No edit summary |
||
Line 9: | Line 9: | ||
</div> | </div> | ||
<ul class="inner" style="{{{innerstyle|}}}"> | <ul class="inner" style="{{{innerstyle|}}}"> | ||
{{#if: {{{b1|}}} | <li class="{{{b1class|}}}" style="{{{b1style|}}}"> }}<!-- | {{#if: {{{b1|}}} | <li class="{{{b1class|}}}" style="{{{b1style|}}}">{{{b1}}}</li> }}<!-- | ||
-->{{#if: {{{b2|}}} | <li class="{{{b2class|}}}" style="{{{b2style|}}}"> }}<!-- | -->{{#if: {{{b2|}}} | <li class="{{{b2class|}}}" style="{{{b2style|}}}">{{{b2}}}</li> }}<!-- | ||
-->{{#if: {{{b3|}}} | <li class="{{{b3class|}}}" style="{{{b3style|}}}"> }}<!-- | -->{{#if: {{{b3|}}} | <li class="{{{b3class|}}}" style="{{{b3style|}}}">{{{b3}}}</li> }}<!-- | ||
-->{{#if: {{{b4|}}} | <li class="{{{b4class|}}}" style="{{{b4style|}}}"> }}<!-- | -->{{#if: {{{b4|}}} | <li class="{{{b4class|}}}" style="{{{b4style|}}}">{{{b4}}}</li> }}<!-- | ||
-->{{#if: {{{b5|}}} | <li class="{{{b5class|}}}" style="{{{b5style|}}}"> }}<!-- | -->{{#if: {{{b5|}}} | <li class="{{{b5class|}}}" style="{{{b5style|}}}">{{{b5}}}</li> }}<!-- | ||
-->{{#if: {{{b6|}}} | <li class="{{{b6class|}}}" style="{{{b6style|}}}"> }}<!-- | -->{{#if: {{{b6|}}} | <li class="{{{b6class|}}}" style="{{{b6style|}}}">{{{b6}}}</li> }}<!-- | ||
-->{{#if: {{{b7|}}} | <li class="{{{b7class|}}}" style="{{{b7style|}}}"> }}<!-- | -->{{#if: {{{b7|}}} | <li class="{{{b7class|}}}" style="{{{b7style|}}}">{{{b7}}}</li> }}<!-- | ||
-->{{#if: {{{b8|}}} | <li class="{{{b8class|}}}" style="{{{b8style|}}}"> }}<!-- | -->{{#if: {{{b8|}}} | <li class="{{{b8class|}}}" style="{{{b8style|}}}">{{{b8}}}</li> }}<!-- | ||
-->{{#if: {{{b9|}}} | <li class="{{{b9class|}}}" style="{{{b9style|}}}"> }}<!-- | -->{{#if: {{{b9|}}} | <li class="{{{b9class|}}}" style="{{{b9style|}}}">{{{b9}}}</li> }}<!-- | ||
-->{{#if: {{{b10|}}} | <li class="{{{b10class|}}}" style="{{{b10style|}}}"> }} | -->{{#if: {{{b10|}}} | <li class="{{{b10class|}}}" style="{{{b10style|}}}">{{{b10}}}</li> }} | ||
</ul> | </ul> | ||
</div><noinclude> | </div><noinclude> |
Revision as of 23:58, 12 November 2013
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 |
The above documentation is transcluded from Template:Infocard/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.