Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:InfoboxNeue/doc: Difference between revisions

Template page
Content deleted Content added
No edit summary
Tag: Manual revert
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 50: Line 50:
| image = Maintabs Atlantean.webp
| image = Maintabs Atlantean.webp


| title = Unit Info
| title = Hello world
| subtitle = Lorem ipsum
| subtitle = Lorem ipsum


| section1 = 1st section
| section1 = 1st section
| col = 3
| itemsInSection1 = 3
| label1 = label 1
| label1 = 1
| icon1 = MainTabs-test.png
| content1 = content 1
| label2 = 2
| icon1 = MainTabs-test.png
| icon2 = MainTabs-test.png
| label2 = label 2
| label3 = 3
| content2 = content 2
| content1 = 1
| label3 = label 3
| content2 = 2
| content3 = content 3
| content3 = 3

|section2 = 2nd section
| section2 = 2nd section
| itemsInSection2 = 2
| label4 = label 4
| label4 = 4 in section2
| content4 = content 4
| label5 = label 5
| label5 = 5 in section2
| content4 = 4c section2
| content5 = content 5
| content5 = 5c section2

|section3 = 3rd section
| section3 = 3rd section
| itemsInSection3 = 2
| label6 = label 6
| icon6 = MainTabs-test.png
| content6 = content 6
| label6 = 6 in section3
| label7 = 7 in section3
| content6 = 6c section3
| content7 = 7c section3


}}
}}

Latest revision as of 00:38, 13 October 2024

{{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
}}
Quick Facts:
InfoboxNeue/doc
Egyptian
Hello world
Lorem ipsum
1st section
1
1
2
2
3
3
2nd section
4 in section2
4c section2
5 in section2
5c section2
3rd section
6 in section3
6c section3
7 in section3
7c section3


Cookies help us deliver our services. By using our services, you agree to our use of cookies. We only use cookie to make the site function and save your preferences, nothing else.