Template:Infobox

From DeltaWiki
Revision as of 22:49, 4 May 2023 by Xan (talk | contribs) (Created page with "<div style="{{Infobox css}}{{{css|}}}"> <div style="background: #D8E4FF; {{CSS linear-gradient|top|#D8E4FF, #A8C0FF}} padding: 6px; font-weight: bold; text-align: center;font-size: 120%;">{{{title|{{BASEPAGENAME}}}}}</div> <div style="text-align: center;">{{{imagearea|[[File:{{{image|Generic Image.png}}}|300px]]}}}</div> {| cellspacing="0px" cellpadding="0px" style="width: 100%; border-collapse:collapse;" {{{taglinearea|{{!}}+ style="padding: 4px; background:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Infobox
Generic Image.png
Tagline
Label

field

Label2

field2

Label3

field3

Footer

An improved infobox core template.

Usage

With automatic title and image

 {{Infobox
 |image=SWCity.jpg
 |rows=
 {{Infobox row|alternate=|label=label|field={{{field1}}} }}
 {{Infobox row|label=label2|field=
   * Option 1
   * Option 2}}
 {{Infobox row|alternate=|label=label3|field={{{field3|default}}} }}
 }}

With custom title, tagline, image and footer

 {{Infobox
 |title=Title
 |tagline=Some tagline
 |image=SWCity.jpg
 |rows=
 {{Infobox row|alternate=|label=label|field={{{field1}}} }}
 {{Infobox row|label=label2|field=
   * Option 1
   * Option 2}}
 {{Infobox row|alternate=|label=label3|field={{{field3|default}}} }}
 |footer=hello world!
 }}