Template:Infobox/doc: Difference between revisions

Jump to navigation Jump to search
Undid revision 428713005 by 98.231.142.70 (talk)
(using text from http://en.wikipedia.org/wiki/Template:Navbox attempt to simplify these difficult to understand instructions)
 
(Undid revision 428713005 by 98.231.142.70 (talk))
Line 65: Line 65:


==== HTML classes ====
==== HTML classes ====
;bodyclass : applies an HTML class attribute to the entire infobox.
;bodyclass : This parameter is inserted into the "class" attribute for the infobox as a whole.
;titleclass : applies an HTML class attribute to the title bar.
;titleclass : This parameter is inserted into the "class" attribute for the infobox's title caption.
;aboveclass : applies an HTML class attribute for the infobox's "above" cell.
;aboveclass : This parameter is inserted into the "class" attribute for the infobox's "above" cell.
; aboverowclass : applies an HTML class attribute for the complete table row the "above" cell is on.
; aboverowclass : This parameter is inserted into the "class" attribute for the complete table row the "above" cell is on.
; subheaderclass : applies an HTML class attribute for the infobox's subheader.
; subheaderclass : This parameter is inserted into the "class" attribute for the infobox's subheader.
; subheaderrowclass : applies an HTML class attribute for the complete table row the subheader is on.
; subheaderrowclass : This parameter is inserted into the "class" attribute for the complete table row the subheader is on.
;imageclass : applies an HTML class attribute for the image; it is in particular used in conjunction with {{tl|Image class names}}.
;imageclass : This parameter is inserted into the "class" attribute for the image; it is in particular used in conjunction with {{tl|Image class names}}.
; imagerowclass1, imagerowclass2 : applies an HTML class attribute for the complete table row the respective images are on.
; imagerowclass1, imagerowclass2 : These parameters are inserted into the "class" attribute for the complete table row the respective images are on.
;rowclass(n) : applies an HTML class attribute for the specified row '''including''' the label or other explanatory text.
;rowclass(n) : This parameter is inserted into the "class" attribute for the specified row '''including''' the label or other explanatory text.
;class(n) :applies an HTML class attribute for the data cell of the specified row. If there's no data cell it has no effect.
;class(n) : This parameter is inserted into the "class" attribute for the data cell of the specified row. If there's no data cell it has no effect.
;belowclass : applies an HTML class attribute for the infobox's below cell.
;belowclass : This parameter is inserted into the "class" attribute for the infobox's below cell.


==== Microformats ====
==== Microformats ====
Anonymous user

Navigation menu