Template:Infobox: Difference between revisions

From Agropelter Archives
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width:300px; border:1px solid #aaa; background:#f9f9f9; font-size:90%; line-height:1.4em;"
{| class="infobox" style="width: 400px; border: 1px solid #aaa; background: #f9f9f9; font-size: 90%; line-height: 1.4em;"
|-
|-
! colspan="2" style="text-align:center; background:#ddd; font-size:110%;" | {{{title|<span style="color:#888;">Infobox title</span>}}}
! colspan="2" style="text-align:center; background:#ddd; font-size:120%;" | {{{title|<span style="color:#888;">Infobox</span>}}}
{{#if:{{{image|}}}|
|-
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|300px]]
}}
{{{rows|}}}
{{{rows|}}}
|}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Base infobox template.
This is the base infobox used by other templates.
* `title=` — header text 
 
* `image=` — optional image filename (no "File:") 
== Example ==
* `rows=` — raw table rows
<pre>
{{Infobox
| title = Example
| rows =
|-
! Label
| Value
|-
! Another
| Something
}}
</pre>
</noinclude>
</noinclude>

Latest revision as of 22:31, 27 September 2025


This is the base infobox used by other templates.

Example

{{Infobox
| title = Example
| rows  =
|-
! Label
| Value
|-
! Another
| Something
}}