Template:Infocard: Difference between revisions
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> | ||
< | <div class="inner" style="{{{innerstyle|}}}"> | ||
{{#if: {{{b1|}}} | < | {{#if: {{{b1|}}} | <div class="block {{{b1class|}}}" style="{{{b1style|}}}">{{{b1}}}</div> }}<!-- | ||
-->{{#if: {{{b2|}}} | < | -->{{#if: {{{b2|}}} | <div class="block {{{b2class|}}}" style="{{{b2style|}}}">{{{b2}}}</div> }}<!-- | ||
-->{{#if: {{{b3|}}} | < | -->{{#if: {{{b3|}}} | <div class="block {{{b3class|}}}" style="{{{b3style|}}}">{{{b3}}}</div> }}<!-- | ||
-->{{#if: {{{b4|}}} | < | -->{{#if: {{{b4|}}} | <div class="block {{{b4class|}}}" style="{{{b4style|}}}">{{{b4}}}</div> }}<!-- | ||
-->{{#if: {{{b5|}}} | < | -->{{#if: {{{b5|}}} | <div class="block {{{b5class|}}}" style="{{{b5style|}}}">{{{b5}}}</div> }}<!-- | ||
-->{{#if: {{{b6|}}} | < | -->{{#if: {{{b6|}}} | <div class="block {{{b6class|}}}" style="{{{b6style|}}}">{{{b6}}}</div> }}<!-- | ||
-->{{#if: {{{b7|}}} | < | -->{{#if: {{{b7|}}} | <div class="block {{{b7class|}}}" style="{{{b7style|}}}">{{{b7}}}</div> }}<!-- | ||
-->{{#if: {{{b8|}}} | < | -->{{#if: {{{b8|}}} | <div class="block {{{b8class|}}}" style="{{{b8style|}}}">{{{b8}}}</div> }}<!-- | ||
-->{{#if: {{{b9|}}} | < | -->{{#if: {{{b9|}}} | <div class="block {{{b9class|}}}" style="{{{b9style|}}}">{{{b9}}}</div> }}<!-- | ||
-->{{#if: {{{b10|}}} | < | -->{{#if: {{{b10|}}} | <div class="block {{{b10class|}}}" style="{{{b10style|}}}">{{{b10}}}</div> }} | ||
</ | </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
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.