Difference between revisions of "Template:Infobox/doc"
Jump to navigation
Jump to search
Line 49: | Line 49: | ||
== Example == | == Example == | ||
− | <pre>{{Infobox|name=Codex|image= | + | <pre>{{Infobox|name=Codex|image=Underworld Ascendant-Player Characters.jpg|imagewidth=300}}</pre> |
− | {{Infobox|name=Codex|image= | + | {{Infobox|name=Codex|image=Underworld Ascendant-Player Characters.jpg|imagewidth=300}} |
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 20:13, 2 February 2015
Purpose[edit]
This template may be used for adding simple infobox with only an image.
Usage[edit]
{{Infobox|<image>|<imagewidth>|<imageheight>|<collection>|<header1>|<label1>|<data1>|<header2..10>|<label2..10>|<data2..10>}}
Parameters[edit]
Parameter | Explanation |
---|---|
name (optional) | The title displayed at the caption of the infobox. Default is page name. |
image (optional) | The name of the image file (if there is any) together with its extension. |
imagewidth (optional) | Width of the image in pixels. Default is 250. |
imageheight (optional) | Height of the image in pixels. |
caption (optional) | Caption for image |
collection | Images that has a matching Property:has image collection. |
header1 (optional) | header that appears above label1 |
label1 (optional) | label for a row. Only appears if there is also data1. |
data1 (optional) | data for a row. |
header2..10 (optional) | 9 more headers. Same as header1. |
label2..10 (optional) | 9 more labels. Same as label1. |
header2..10 (optional) | 9 more datas. Same as data1. |
Example[edit]
{{Infobox|name=Codex|image=Underworld Ascendant-Player Characters.jpg|imagewidth=300}}