Module:Infobox/doc: Difference between revisions
ReisuDesign (talk | contribs) Created page with "{{Documentation/Header}} This module is used to create infoboxes with support for sections, fields, images, tabs, and collapsible sections. ==Syntax== * {{F|title}} — Infobox title. * {{F|subtitle}} — Optional subtitle displayed below the title. * {{F|image}} — Main infobox image. * {{F|images}} — Multiple images, separated by commas. * {{F|caption}} — Image caption. * {{F|sections}} — Comma-separated list of sections. * {{F|section}} — Comma-separated lis..." |
ReisuDesign (talk | contribs) |
||
| Line 9: | Line 9: | ||
* {{F|caption}} — Image caption. | * {{F|caption}} — Image caption. | ||
* {{F|sections}} — Comma-separated list of sections. | * {{F|sections}} — Comma-separated list of sections. | ||
* {{F|section}} — Comma-separated list of fields belonging to the section. | * {{F|((section))}} — Comma-separated list of fields belonging to the section. | ||
* {{F|field}} — Value of a field. | * {{F|((field))}} — Value of a field. | ||
* {{F| | * {{F|((field))_label}} — Custom label for a field. | ||
* {{F| | * {{F|((field))_display}} — Alternative custom label for a field. | ||
* {{F| | * {{F|((field))_wide}} — Makes the field span the full width. | ||
* {{F| | * {{F|((field))_nolabel}} — Hides the field's label and makes it span the full width. | ||
* {{F| | * {{F|((section))_label}} — Custom section heading. | ||
* {{F| | * {{F|((section))_collapsible}} — Makes the section collapsible. | ||
* {{F| | * {{F|((section))_collapsed}} — Makes the section start collapsed. | ||
* {{F| | * {{F|((section))_nolabel}} — Hides the section heading. | ||
* {{F| | * {{F|((section))_columns}} — Displays the section as a multi-column grid. | ||
* {{F|tabs}} — Comma-separated list of tabs. | * {{F|tabs}} — Comma-separated list of tabs. | ||
* {{F| | * {{F|((tab))_field}} — Value of a field for a specific tab. | ||
* {{F| | * {{F|((tab))_label}} — Custom label for a tab. | ||
* {{F| | * {{F|((tab))_focused}} — Makes the tab selected by default. | ||
* {{F| | * {{F|((tab))_image}} — Image for a specific tab. | ||
* {{F| | * {{F|((tab))_caption}} — Caption for a specific tab. | ||
* {{F| | * {{F|((section))_tabs}} — Gives a section its own set of tabs. | ||
* {{F|sep}} — Changes the separator used for lists. Defaults to a comma. | * {{F|sep}} — Changes the separator used for lists. Defaults to a comma. | ||
* {{F|useDivs}} — Changes the infobox between codediv/code and table markup. | * {{F|useDivs}} — Changes the infobox between codediv/code and table markup. | ||