Changes
Jump to navigation
Jump to search
Optional content:====Title====
showing an "above" example
===Parameters===
====Mandatory:====
;name : The template page name that the "view/discuss/edit" links should point to. You can use <nowiki>{{subst:PAGENAME}}</nowiki>.
There are two different ways to put a title on an infobox. One contains the title inside the infobox's border, the other puts it on top as a caption. You can use both of them together if you like, or just one or the other, or even neither (though this is not recommended).
;title : A title to put in the caption at the top of the table.
;above : A title to put in the uppermost cell of the table. A view/edit/discuss link will appear in this cell. You should use one of these two methods of putting a title on the infobox. ====Optional content====
; image : An image to display at the top of the template. Use full image syntax, for example <nowiki>[[Image:example.png|200px]]</nowiki>. Image is centered by default.
;below: Text to put in the bottom cell. The bottom cell is intended for footnotes, see-also, and other such information.
====Optional CSS styling:====
;bodystyle : Applies to the infobox table as a whole
<br clear="all"/>
This example is the same as the above but shows the use of the "above" parameter for an alternate title style:
{{Infobox
| name = Infobox/doc
| bodystyle = width:20em;
| titlestyle =
| imagestyle =
| captionstyle =
| headerstyle =
| labelstyle = width:33%;
| datastyle =
| belowstyle =
| above = Test Infobox
| header1 =
| label1 = Label 1
| data1 = Data 1
| header2 =
| label2 = Label 2
| data2 = Data 2
| header3 =
| label3 = Label 3
| data3 = Data 3
| header4 = Header 4
| label4 =
| data4 =
| header5 =
| label5 = Label 5
| data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
| below = Below text
}}
<br clear="all"/>
==Full blank declaration==