Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
infobox |
infobox |
||
Line 1: | Line 1: | ||
< | <includeonly> | ||
{| class="infobox" style="border:1px solid {{{border-color|#aaa}}}; background:{{{background-color|#f9f9f9}}}; width:{{{width|300px}}}; font-size:90%; font-family:sans-serif;" | |||
|- | |||
! colspan="2" style="background:{{{title-background-color|#ccc}}}; color:{{{title-text-color|#000}}}; text-align:center; font-size:1.2em; padding:0.3em;" | {{{title|}}} | |||
{{#if:{{{image|}}}| | |||
|- | |||
| colspan="2" style="text-align:center; padding:0.4em;" | [[File:{{{image}}}|250px|alt={{{image_alt|}}}]] | |||
{{#if:{{{image_caption|}}}|<div style="font-size:0.85em; font-style:italic; margin-top:0.3em;">{{{image_caption}}}</div>}} | |||
}} | |||
{{#if:{{{type|}}}| | |||
|- | |||
| '''Type''' || {{{type}}} | |||
}} | |||
{{#if:{{{date|}}}| | |||
|- | |||
| '''Date''' || {{{date}}} | |||
}} | |||
{{#if:{{{location|}}}| | |||
|- | |||
| '''Location''' || {{{location}}} | |||
}} | |||
{{#if:{{{domain|}}}| | |||
|- | |||
| '''Domain''' || {{#if:{{{domain_url|}}}|[{{{domain_url}}} {{{domain}}}]|{{{domain}}}}} | |||
}} | |||
{{#if:{{{website|}}}| | |||
|- | |||
| '''Website''' || [{{{website}}} {{{website}}}] | |||
}} | |||
{{#if:{{{description|}}}| | |||
|- | |||
| colspan="2" | {{{description}}} | |||
}} | |||
{{#if:{{{retired|}}}| | |||
|- | |||
| '''Retired''' || {{{retired}}} | |||
}} | |||
{{#if:{{{author|}}}| | |||
|- | |||
| '''Author''' || {{{author}}} | |||
}} | |||
{{#if:{{{version|}}}| | |||
|- | |||
| '''Version''' || {{{version}}} | |||
}} | |||
|} | |||
</includeonly> | |||
</ | |||
{{Infobox | {{Infobox | ||
| title | | title = Infobox Example | ||
| image | | image = Example.jpg | ||
| image_alt | | image_alt = An example image | ||
| image_caption | | image_caption = Caption for example image | ||
| type | | type = Software Project | ||
| date | | date = 2025-07-10 | ||
| location | | location = Internet | ||
| domain | | domain = example.com | ||
| domain_url | | domain_url = https://example.com | ||
| website | | website = https://example.com | ||
| description | | description = This is a colorful infobox with customizable colors and width. | ||
| retired | | retired = No | ||
| author | | author = Jane Doe | ||
| version | | version = 1.0.0 | ||
| border-color | | border-color = #4A90E2 | ||
| background-color | | background-color = #E6F0FA | ||
| title-background-color = #357ABD | | title-background-color = #357ABD | ||
| title-text-color | | title-text-color = #FFFFFF | ||
| width | | width = 350px | ||
| clear | | clear = right | ||
}} | }} | ||