Template:Infobox: Difference between revisions

From PRIME Universe Wiki
Jump to navigation Jump to search
Created page with "{| class="infobox" style="width:300px; border:1px solid #a2a9b1; background-color:#f8f9fa; border-collapse:collapse; float:right; margin:0 0 1em 1em; font-size:95%; line-height:1.4em;" |- ! colspan="2" style="background-color:#e6e6e6; text-align:center; font-size:110%; padding:6px; border-bottom:1px solid #a2a9b1;" | {{{title|Infobox Title}}} |- | colspan="2" style="text-align:center; padding:6px;" | {{{image|250px|alt=Example image}}} |- ! style="wi..."
Tag: wikieditor
 
No edit summary
Tag: wikieditor
 
Line 3: Line 3:
! colspan="2" style="background-color:#e6e6e6; text-align:center; font-size:110%; padding:6px; border-bottom:1px solid #a2a9b1;" | {{{title|Infobox Title}}}
! colspan="2" style="background-color:#e6e6e6; text-align:center; font-size:110%; padding:6px; border-bottom:1px solid #a2a9b1;" | {{{title|Infobox Title}}}
|-
|-
| colspan="2" style="text-align:center; padding:6px;" | {{{image|[[File:Example.jpg|250px|alt=Example image]]}}}
| colspan="2" style="text-align:center; padding:6px;" | {{{image|[[File:Info.png|250px|alt=Example image]]}}}
|-
|-
! style="width:35%; text-align:left; padding:6px; background-color:#f2f2f2;" | {{{label1|Label 1}}}
! style="width:35%; text-align:left; padding:6px; background-color:#f2f2f2;" | {{{label1|Label 1}}}

Latest revision as of 16:17, 18 October 2025

Infobox Title
Example image
Label 1 Value 1
Label 2 Value 2
Label 3 Value 3


This is a base infobox template. Use it to build more specific infoboxes.

Usage

Basic example:

{{Infobox
 | title  = Example Article
 | image  = [[File:Example.jpg|250px]]
 | label1 = Created by
 | data1  = John Doe
 | label2 = Released
 | data2  = 2025
 | label3 = Genre
 | data3  = Adventure
}}

Notes

  • Add or remove rows as needed (copy-paste `labelN` / `dataN` pairs).
  • To create a new specialized infobox (like Template:Infobox character), just copy this page and rename it.

Keep it consistent — use `width:300px` and light gray tones for readability.