Template:Infocard: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="infocard {{{class|}}}" style="{{{style|}}}"> | <div class="infocard {{{class|}}}" style="{{{style|}}}"> | ||
<div class="topbar">< | <div class="topbar"> | ||
<div class="left">{{#if: {{{headerleft|}}} | {{{headerleft}}} }}</div> | |||
<div class="middle"> | <div class="middle"> | ||
<div class="header">{{{header}}}</div><!-- | <div class="header">{{{header}}}</div><!-- | ||
-->{{#if: {{{subheader|}}} | <div class="subheader">{{{subheader}}}</div> }} | -->{{#if: {{{subheader|}}} | <div class="subheader">{{{subheader}}}</div> }} | ||
</div>< | </div> | ||
<div class="right">{{#if: {{{headerright|}}} | {{{headerright}}} }}</div> | |||
</div> | </div> | ||
<ul class="inner" style="{{{innerstyle|}}}"> | <ul class="inner" style="{{{innerstyle|}}}"> |
Revision as of 12:28, 13 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.