Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><table class="infobox" style="width: 22em; font-size: 90%; border-collapse: collapse; border: 1px solid #aaa; background: #f9f9f9; float: right; clear: right; margin: 0 0 1em 1em;">
<includeonly><table class="infobox" style="width: 22em; font-size: 90%; border-collapse: collapse; border: 1px solid #aaa; background: #f9f9f9; float: right; clear: right; margin: 0 0 1em 1em; margin-top:0;">
{{#if:{{{title|}}}|<tr><th colspan="2" style="text-align: center; font-size: 125%; background: #e6e6e6; padding: 0.2em;">{{{title}}}</th></tr>}}
{{#if:{{{title|}}}|<tr><th colspan="2" style="text-align: center; font-size: 125%; background: #e6e6e6; padding: 0.2em;">{{{title}}}</th></tr>}}
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">[[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|200px}}]]</td></tr>}}
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">[[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|200px}}]]</td></tr>}}

Revision as of 17:44, 21 April 2026

   Template documentation (edit | history)

Usage

{{Infobox
| title = Example
| image = Example.jpg
| caption = Example image
| label1 = Type
| data1 = Company
| label2 = Founded
| data2 = 1883
| label3 = Founder
| data3 = John Doe
}}
Contents