More actions
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 119: | Line 119: | ||
|image = [[Image:example.png|200px]] | |image = [[Image:example.png|200px]] | ||
|imagestyle = | |imagestyle = | ||
|headerstyle = background:#ccf; | |headerstyle = background:#ccf; | ||
|labelstyle = background:#ddf; | |labelstyle = background:#ddf; | ||
|datastyle = | |datastyle = | ||
|header1 = | |header1 = General | ||
|label1 = | |label1 = | ||
|data1 = | |data1 = | ||
|header2 = | |header2 = Links | ||
|label2 = Label defined alone | |label2 = Label defined alone | ||
|data2 = | |data2 = |
Latest revision as of 14:32, 9 November 2011
Usage
This template is intended as a meta-template, that is, a template that's used when constructing other templates. It's not meant for use directly in an article. See Help:Infobox for information on how to craft infoboxes in general.
Usage is similar to {{navbox}}, but with an additional distinction. Each row on the table can either be a "header", or it can have a label/data pair, or it can just be a data cell. These are mutually exclusive states so if you define a row to be both a header and a label/data pair, the label/data pair is overridden.
Note that if you want to insert an image elsewhere other than the top of the infobox, or insert other "freeform" data, using a row with just a "data" field allows for that sort of thing.
Parameters
View/discuss/edit links
- name
- The template page name that the "view/discuss/edit" links should point to. You can use {{subst:PAGENAME}}. If this parameter is omitted the view/discuss/edit links will not be displayed.
Title
Text in caption over infobox | |
(the rest of the infobox goes here) |
<htmlet>adsense</htmlet>