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
Created page with "{{#invoke:Infobox|infobox | title = {{{title|}}} | image = {{{image|}}} | image_size = {{{image_size|280px}}} | caption = {{{caption|}}} | section1 = {{{section1|}}} | label1 = {{{label1|}}} | data1 = {{{data1|}}} | section2 = {{{section2|}}} | label2 = {{{label2|}}} | data2 = {{{data2|}}} | section3 = {{{section3|}}} | label3 = {{{label3|}}} | data3 = {{{data3|}}} | section4 = {{{section4|}}} |..."
 
No edit summary
Line 38: Line 38:
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
<templatedata>
{
  "description": "Generic infobox with sections and label/data rows.",
  "params": {
    "title": {"label":"Title","description":"Infobox title","type":"string","required":false},
    "image": {"label":"Image filename","description":"File name without File:","type":"string"},
    "image_size": {"label":"Image size","description":"e.g., 280px","type":"string","default":"280px"},
    "caption": {"label":"Image caption","type":"string"},
    "section1": {"label":"Section 1 header","type":"string"},
    "label1": {"label":"Row 1 label","type":"string"},
    "data1": {"label":"Row 1 value","type":"string"},
    "section2": {"label":"Section 2 header","type":"string"},
    "label2": {"label":"Row 2 label","type":"string"},
    "data2": {"label":"Row 2 value","type":"string"},
    "section3": {"label":"Section 3 header","type":"string"},
    "label3": {"label":"Row 3 label","type":"string"},
    "data3": {"label":"Row 3 value","type":"string"},
    "section4": {"label":"Section 4 header","type":"string"},
    "label4": {"label":"Row 4 label","type":"string"},
    "data4": {"label":"Row 4 value","type":"string"},
    "section5": {"label":"Section 5 header","type":"string"},
    "label5": {"label":"Row 5 label","type":"string"},
    "data5": {"label":"Row 5 value","type":"string"},
    "section6": {"label":"Section 6 header","type":"string"},
    "label6": {"label":"Row 6 label","type":"string"},
    "data6": {"label":"Row 6 value","type":"string"},
    "section7": {"label":"Section 7 header","type":"string"},
    "label7": {"label":"Row 7 label","type":"string"},
    "data7": {"label":"Row 7 value","type":"string"},
    "section8": {"label":"Section 8 header","type":"string"},
    "label8": {"label":"Row 8 label","type":"string"},
    "data8": {"label":"Row 8 value","type":"string"},
    "section9": {"label":"Section 9 header","type":"string"},
    "label9": {"label":"Row 9 label","type":"string"},
    "data9": {"label":"Row 9 value","type":"string"},
    "section10": {"label":"Section 10 header","type":"string"},
    "label10": {"label":"Row 10 label","type":"string"},
    "data10": {"label":"Row 10 value","type":"string"}
  }
}
</templatedata>

Revision as of 22:47, 9 August 2025

Script error: The function "infobox" does not exist.

Template:Documentation


Generic infobox with sections and label/data rows.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Infobox title

Stringoptional
Image filenameimage

File name without File:

Stringoptional
Image sizeimage_size

e.g., 280px

Default
280px
Stringoptional
Image captioncaption

no description

Stringoptional
Section 1 headersection1

no description

Stringoptional
Row 1 labellabel1

no description

Stringoptional
Row 1 valuedata1

no description

Stringoptional
Section 2 headersection2

no description

Stringoptional
Row 2 labellabel2

no description

Stringoptional
Row 2 valuedata2

no description

Stringoptional
Section 3 headersection3

no description

Stringoptional
Row 3 labellabel3

no description

Stringoptional
Row 3 valuedata3

no description

Stringoptional
Section 4 headersection4

no description

Stringoptional
Row 4 labellabel4

no description

Stringoptional
Row 4 valuedata4

no description

Stringoptional
Section 5 headersection5

no description

Stringoptional
Row 5 labellabel5

no description

Stringoptional
Row 5 valuedata5

no description

Stringoptional
Section 6 headersection6

no description

Stringoptional
Row 6 labellabel6

no description

Stringoptional
Row 6 valuedata6

no description

Stringoptional
Section 7 headersection7

no description

Stringoptional
Row 7 labellabel7

no description

Stringoptional
Row 7 valuedata7

no description

Stringoptional
Section 8 headersection8

no description

Stringoptional
Row 8 labellabel8

no description

Stringoptional
Row 8 valuedata8

no description

Stringoptional
Section 9 headersection9

no description

Stringoptional
Row 9 labellabel9

no description

Stringoptional
Row 9 valuedata9

no description

Stringoptional
Section 10 headersection10

no description

Stringoptional
Row 10 labellabel10

no description

Stringoptional
Row 10 valuedata10

no description

Stringoptional