Difference between revisions of "Template:Infobox"
From Maths
m (→Example) |
m (→Example) |
||
Line 62: | Line 62: | ||
|} | |} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{{!}} class=" | + | {{{!}} class="wikitable" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|background-color: #F9F9F9;border: 1px solid #DDD;margin: 0.5em 0px 0.5em 1em;padding: 0.2em;float: right;clear: right;}}}"<!-- |
Caption | Caption | ||
-->{{#if:{{{title|}}}|<nowiki/> | -->{{#if:{{{title|}}}|<nowiki/> |
Revision as of 11:12, 8 January 2016
Contents
Usage
Parameters
There are some general 'styling' parameters, some 'title' and subtitle parameters, some 'image' parameters', and then parameters for each of the 80 possible 'rows'
Style
- bodyclass
- bodystyle
Title
- title
- titleclass
- titlestyle
- above
- aboveclass
- abovestyle
- subheader
- subheaderclass
- subheaderstyle
Image
- image
- imageclass
- imagestyle
- caption
- captionstyle
Rows
For all rows
- headerstyle
- labelstyle
- datastyle
For specific rows
For each of the 80 possible rows, replace the 'N' below with the number (e.g. 'header3', 'header80')
- headerN
- labelN
- dataN
- classN
Example
Code | Output | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|