Template:Infobox: Difference between revisions
-u ndefined- (talk | contribs) mNo edit summary |
-u ndefined- (talk | contribs) m (Migrate to Template:Documentation) |
||
| Line 23: | Line 23: | ||
#if:{{{data9|}}}|<tr class="infobox-row">{{#if:{{{label9|}}}|<td class="infobox-label">{{{label9}}}</td>}}<td class="infobox-data" {{#if:{{{label9|}}}||colspan="2"}}>{{{data9}}}</td></tr>}}</table> | #if:{{{data9|}}}|<tr class="infobox-row">{{#if:{{{label9|}}}|<td class="infobox-label">{{{label9}}}</td>}}<td class="infobox-data" {{#if:{{{label9|}}}||colspan="2"}}>{{{data9}}}</td></tr>}}</table> | ||
</div> | </div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude>{{Documentation}}</noinclude> | ||
{{ | |||
}} | |||
</noinclude> | |||
Latest revision as of 06:50, 23 August 2025
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Description
Generic template for creating infoboxes. Please use other infoboxes when possible.
Example
{{Infobox
|title=Odd Bot
|image=Odd Bot.png
|caption=caption
|header1=header1
|label1=label1
|data1=data1
|data2=data2
}}
Parameters
Keywords, where # is an integer from 1 to 9:
- title: Title for the infobox.
- image_url: Image to be displayed as full syntax.
- image: Name of the image. A simpler version of image_url parameter.
- image_alt: Alternative text to provide the image.
- caption: Caption for the image.
- header#.
- label#: May be omitted.
- data#.