Editing
Template:Infobox/doc
(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 :If this parameter is present, "view/discuss/edit" links will be added to the bottom of the infobox, pointing to the named template. You can use <nowiki>{{subst:PAGENAME}}</nowiki>. :However this is rarely what you want, because it will send users clicking these links in an infobox in an article to the template code rather than the data in the infobox that they probably want to change. ====Title==== {{Infobox |title = Text in caption over infobox |subheader = Subheader of the infobox |data1 = (the rest of the infobox goes here) }} {{Infobox |above = Text in uppermost cell of infobox |subheader = Subheader of the infobox |subheader2 = Second subheader of the 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==== ;subheader, subheader2 : additional title fields which fit below {{{title}}} and {{{above}}}. ;image, image2 : images to display at the top of the template. Use full image syntax, for example <nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>. Image is centered by default. See [[WP:ALT]] for more on alt text. ;caption, caption2 : Text to put underneath the images. ;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. ;child: See the [[#Embedding|embedding]] section for details. Note: for any given value for (n), not all combinations of parameters are permitted. The presence of a {{para|header''(n)''}} will cause the corresponding {{para|data''(n)''}}{{para|label''(n)''}} (and {{para|rowclass''(n)''}}, see below) to be ignored; the absence of a {{para|data''(n)''}} will cause the corresponding {{para|label''(n)''}} to be ignored. Valid combinations for any single row are: *{{para|header''(n)''}} {{para|class''(n)''}} *{{para|data''(n)''}} {{para|rowclass''(n)''}} {{para|class''(n)''}} *{{para|label''(n)''}} {{para|data''(n)''}} {{para|rowclass''(n)''}} {{para|class''(n)''}} See the rendering of header4, label4, and data4 in the examples section below. ====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 ==== HTML classes ==== ;bodyclass : This parameter is inserted into the "class" attribute for the infobox as a whole. ;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. ; aboverowclass : This parameter is inserted into the "class" attribute for the complete table row the "above" cell is on. ; subheaderclass : This parameter is inserted into the "class" attribute for the infobox's subheader. ; subheaderrowclass : This parameter is inserted into the "class" attribute for the complete table row the subheader is on. ;imageclass : This parameter is inserted into the "class" attribute for the image. ; imagerowclass1, imagerowclass2 : These parameters are inserted into the "class" attribute for the complete table row the respective images are on. ;rowclass(n) : This parameter is inserted into the "class" attribute for the specified row '''including''' the label or other explanatory text. ;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 : This parameter is inserted into the "class" attribute for the infobox's below cell. ==== Microformats ==== 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 [[microformat]] for more information on microformats in general. ====Italic titles==== Titles of articles with infoboxes may be made italic, in line with [[WP:ITALICTITLE]], by passing the <code>italic title</code> parameter. *Turn on italic titles by passing {{para|italic title|<nowiki>{{{italic title|}}}</nowiki>}} from the infobox. *Turn off by default but allow some instances to be made italic by passing {{para|italic title|<nowiki>{{{italic title|no}}}</nowiki>}} *Do not make any titles italic by not passing the parameter at all.
Summary:
Please note that all contributions to Fanra's EverQuest Wiki are considered to be released under the Creative Commons Attribution Share Alike (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Main Menu
Main page
Sections
Classes and Races
Spells, Songs, Disciplines, and AAs
Items
Zones
NPCs
Quests
Raids
Tradeskills
User Interface
Tips and Guides
EQ Links
Wiki
Recent changes
Advanced search
Random page
Help
Contact Fanra
Tools
What links here
Related changes
Upload file
Special pages
Page information