More actions
Content deleted Content added
No edit summary Tag: Manual revert |
No edit summary |
||
Line 56: | Line 56: | ||
| col = 3 |
| col = 3 |
||
| label1 = label 1 |
| label1 = label 1 |
||
| |
| data1 = data 1 |
||
| icon1 = MainTabs-test.png |
| icon1 = MainTabs-test.png |
||
| label2 = label 2 |
| label2 = label 2 |
||
| |
| data2 = data 2 |
||
| label3 = label 3 |
| label3 = label 3 |
||
| |
| data3 = data 3 |
||
|section2 = 2nd section |
|section2 = 2nd section |
||
| col =2 |
|||
| label4 = label 4 |
| label4 = label 4 |
||
| |
| data4 = data 4 |
||
| label5 = label 5 |
| label5 = label 5 |
||
| |
| data5 = data 5 |
||
|section3 = 3rd section |
|section3 = 3rd section |
||
| col = 1 |
|||
| label6 = label 6 |
| label6 = label 6 |
||
| |
| data6 = data 6 |
||
}} |
}} |
Revision as of 11:25, 11 October 2024
This is a documentation subpage for 'Template:InfoboxNeue'.
It contains usage information, categories, and other content that is not part of the original template page.
{{InfoboxNeue}} is a general use infobox template. See Module:InfoboxNeue for more documentation.
Usage
{{InfoboxNeue
| snippet = <!-- Text that goes after "Quick facts: ", defaults to the page's root name -->
| image = <!-- File name without namespace prefix -->
| indicator = <!-- Indicator data, required for the other indicator arguments -->
| indicatorClass = <!-- Indicator class -->
| title = <!-- The title -->
| subtitle = <!-- The subtitle -->
| sectionX = <!-- Section X' title -->
| section-subtitleX = <!-- Section X' subtitle -->
| section-colX = <!-- Amount of columns in section X, defaults to 2 -->
<!-- or -->
| col =
| labelY = <!-- The label of item Y under section X, there mustn't be others with the same index (Y) -->
| contentY = <!-- The content of item Y, is required for each label -->
}}
Example
{{InfoboxNeue
| indicator = Indicator
| image = Maintabs Atlantean.webp
| title = Hello world
| subtitle = Lorem ipsum
| section1 = 1st section
| section-subtitle1 = 1st section's subtitle
| label1 = 1st item's label
| content1 = item's content
| section2 = 2nd section
| section-subtitle2 = 2nd section's subtitle
| label2 = 1st item's label
| content2 = 1st item's content
| label3 = 2nd item's label
| content3 = 2nd item's content
}}