Open main menu

Changes

Template:Infobox/doc

324 bytes added, 20:25, 13 March 2008
→‎Microformats: update with title and above classes
;bodyclass: This parameter is inserted into the "class" attribute for the infobox as a whole
;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.
;titleclass: This parameter is inserted into the "class" attribute for the infobox's title caption.
;aboveclass: This parameter is inserted into the "class" attribute for the infobox's above cell.
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag an infobox as containing hCard information, for example, add the following parameter:
</pre>
And so forth. "above" and "title" can also be given classes, since these are usually used to display the name of the subject of the infobox.
See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia.
Anonymous user