Editing
Test2
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Parameters=== ====View/discuss/edit links==== ;name : The template page name that the "view/discuss/edit" links should point to. You can use <nowiki>{{subst:PAGENAME}}</nowiki>. If this parameter is omitted the view/discuss/edit links will not be displayed. ====Title==== {{Infobox |title = Text in caption over infobox |data1 = (the rest of the infobox goes here) }} {{Infobox |above = Text in uppermost cell of infobox |data1 = (the rest of the infobox goes here) }} 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 : Text to put in the caption over top of the table. ;above : Text to put within the uppermost cell of the table. ====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. ;caption : Text to put underneath the image. ;header(n) : Text to use as a header in row n. ;label(n): Text to use as a label in row n. ;data(n): Text to display as data in row n. ;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 ;titlestyle : Applies only to the title caption. Adding a background color is usually inadvisable since the text is rendered "outside" the infobox. ;abovestyle : Applies only to the "above" cell at the top. The default style has font-size:large; since this cell is usually used for a title, if you want to use the above cell for regular-sized text include "font-size:medium;" in the abovestyle. ;imagestyle : Applies to the cell the image is in. This includes the text of the image caption, but you should set text properties with captionstyle instead of imagestyle in case the caption is moved out of this cell in the future. ;captionstyle : Applies to the text of the image caption. ;headerstyle : Applies to all header cells ;labelstyle : Applies to all label cells ;datastyle : Applies to all data cells ;belowstyle : Applies only to the below cell ==== Microformats ==== ;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> |bodyclass = vcard </pre> And for each row containing a data cell that's part of the vcard, add a corresponding class parameter: <pre> |class1 = fn |class2 = org |class3 = tel </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, and [http://microformats.org/wiki/Main_Page microformats.org] for more information on microformats in general.
Summary:
Please note that all contributions to Derek may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Derek:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information