Template:Infobox: Difference between revisions
Created page with "<div style="float: right; margin: 0 0 1em 1em; width: 300px; border: 1px solid #aaa; background-color: #f9f9f9; padding: 5px; font-size: 90%;"> <div style="background-color: #99ccff; text-align: center; font-size: 120%; padding: 5px;"> '''{{{title|Infobox Title}}}''' </div> <div style="text-align: center; padding: 5px;"> [[File:{{{image|Default.png}}}|250px|alt={{{alt|Image}}}]] </div> <table style="width: 100%; border-collapse: collapse;"> <tr>..." |
No edit summary Tag: Manual revert |
||
| (51 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div | <div class="infobox"> | ||
<div | <div class="infobox-title"> | ||
{{{title|Infobox Title}}} | |||
</div> | </div> | ||
<div | |||
[[File:{{{image | <div class="infobox-image"> | ||
{{#if:{{{image|}}} | |||
| [[File:{{{image}}}|250px|alt={{{alt|Image}}}]] | |||
| [[File:Default.png|250px|alt=No image available]] | |||
}} | |||
</div> | </div> | ||
<table | |||
<table> | |||
<tr> | <tr> | ||
<th | <th>Description</th> | ||
<td | <td>{{{description|No description available}}}</td> | ||
</tr> | </tr> | ||
{{#if:{{{website|}}}| | |||
<tr> | <tr> | ||
<th | <th>Website</th> | ||
<td | <td><a href="{{{website}}}" target="_blank">{{{website}}}</a></td> | ||
</tr> | </tr> | ||
}} | |||
</table> | </table> | ||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"type": "string" | |||
}, | |||
"image": { | |||
"type": "wiki-file-name" | |||
}, | |||
"description": {}, | |||
"website": { | |||
"type": "url" | |||
} | |||
}, | |||
"description": "Infobox with picture upload" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 17:23, 13 December 2025
Infobox with picture upload
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description | String | optional |
| image | image | no description | File | optional |
| description | description | no description | Unknown | optional |
| website | website | no description | URL | optional |