Template:Infobox: Difference between revisions
defer category placement to implementations Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Infobox/styles.css" /><!--\n | <includeonly><templatestyles src="Infobox/styles.css" /><!--\n | ||
--><div class="infobox"> | --><div class="infobox"> | ||
<div class="infobox-title">{{{title|{{PAGENAME | <div class="infobox-title">{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</div>{{#if: {{{subtitle|}}} | ||
|<center>{{{subtitle}}}</center>}}{{#if:{{{image|}}}| | |<center>{{{subtitle}}}</center>}}{{#if:{{{image|}}}| | ||
<div class="infobox-image"> | <div class="infobox-image"> | ||
Latest revision as of 00:49, 23 December 2024
Generic meta-template for defining infobox templates
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Title shown at the top of the template. Defaults to page title | Line | optional |
| subtitle | subtitle | Text shown below title and above image | Unknown | optional |
| Image | image | Image to be used in infobox. Will also be used in page preview. | File | suggested |
| infobox_image_size | infobox_image_size | Size of image in infobox
| Unknown | optional |
| add_preview | add_preview | Whether to set infobox image as OpenGraph preview
| Boolean | optional |
| infobox_items | infobox_items | Content shown inside infobox. Each entry should be enclosed in <tr> | String | optional |