User:Krinkle/Template:Infobox simple
Appearance
{{{image_caption}}} | |
Location | {{{location}}} |
---|---|
Population | 123,456 residents |
Foo | {{{foo}}} |
Bar | {{{bar}}} |
Quux | {{{quux}}} |
Official website | Official website |
Usage
[edit]{{Infobox simple | image = Example.jpg | image_alt = | image_caption = | image_width = | location = | population = | foo = | bar = | quux = | website = }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Subject of the infobox.
| String | optional |
Image | image | Name of a file, e.g. "Example.jpg", without "File:" prefix. | File | suggested |
Image width | image_width | Customize the default image width
| Number | optional |
Image alt text | image_alt | no description | String | suggested |
Image caption | image_caption | no description | String | suggested |
Location | location | no description | Content | optional |
Population | population | Population of this city as whole number (will be formatted automatically). | Number | suggested |
Foo | foo | no description | String | optional |
Bar | bar | no description | String | optional |
Quux | quux | no description | String | optional |
Website | website | URL of the official website | URL | optional |
Dependencies
[edit]- Extension:TemplateData (optional) This renders parameter documentation, to ease use in VisualEditor.
- Extension:TemplateStyles (optional) If you omit this, then copy the contents of User:Krinkle/Template:Infobox simple/style.css to
MediaWiki:Common.css
on your wiki instead, and omit the<templatestyles âŚ/>
line.