Template:InfoboxGeneric

From Illogicopedia
Jump to navigation Jump to search

Not-so simple infobox with arbitrary parameters. Just add "title" and then go on with any fields you want and it will work great.

Examples!!![edit source]

Thing[edit source]

Thing
Invented by Someone
Status experimental
Year 2025
{{InfoboxGeneric
| title = Thing
| status = experimental
| invented by = Someone
| year = 2025
}}

Lazers???[edit source]

lazers cat
Cutekitty.PNG
cat with lazers
Species Felis lazerus
Temperament lazers???
{{InfoboxGeneric
| name = lazers cat
| image = Cutekitty.PNG
| image_size = 250px
| caption = cat with lazers
| species = Felis lazerus
| temperament = lazers???
| headerbg = #FF1A1A
}}







Thing but you hate yourself (or you REALLY want them to be in order)[edit source]

Thing
status experimental
invented by Someone
year 2025
{{InfoboxGeneric
| title = Thing
| label1 = status
| data1 = experimental
| label2 = invented by
| data2 = Someone
| label3 = year
| data3 = 2025
}}

Thing but you want them in order but also dont hate yourself[edit source]

Thing
Status experimental
Invented by Someone
Year 2025
{{InfoboxGeneric
| title = Thing
| invented by = Someone
| year = 2025
| status = experimental
| order = invented by, year, status
}}

Thing but you wanted to change one thing for some reason but also on the left this time[edit source]

Thing
Invented by Someone
AAAAAAAAAAAAAAAAAAA experimental
Year 2025
{{InfoboxGeneric
| title = Thing
| invented by = Someone
| year = 2025
| status = experimental
| label-status = AAAAAAAAAAAAAAAAAAA
| ignore = label-status
| align = left
}}

Wowie this is great!! give me more!!![edit source]

I gave you a trillion examples freak but heres full documentation i guess

Field What for
title (or name) Infobox header title
image Filename or wikitext file ex. [[File:...]] of the image. requires image size
image_size (or imagesize) Size for image (ex., 250px). this is REQUIRED for image
caption Image caption (shown under image)
align Float alignment of the box (default: right)
width CSS width (default: 21em)
class Table classes (default: "infobox bordered")
cellpadding Cell padding attribute (default: 3)
textalign Text alignment in cells (default: left)
fontsize Font size for infobox content (default: 90%)
headerbg (or headerbg or color) Header background color (default: #BC987E); also set via headercolor or color
auto (or autofields or _auto) Enable auto row generation (default: true)
order Comma-separated list to force row order in auto mode
ignore Comma-separated list of keys to exclude in auto mode
include Comma-separated list; if provided, only these keys are included in auto mode
label-<paramname> Override display label for a given param in auto mode (ex., label-birth_place)
label1, label2, ... Label text for explicitly ordered rows (paired with dataN/valueN)
data1, data2, ... (or valueN) Data/content for explicitly ordered rows (paired with labelN)
above Reserved??? dont use this