Template:InfoboxNeue/doc: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) m 1 revision imported |
Tesinormed (talk | contribs) No edit summary |
||
| Line 48: | Line 48: | ||
{{InfoboxNeue |
{{InfoboxNeue |
||
| indicator = Indicator |
| indicator = Indicator |
||
| image = |
| image = Glypht.png |
||
| title = Hello world |
| title = Hello world |
||
Revision as of 09:59, December 1, 2024
Template loop detected: Template:Documentation
{{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 = Pico_at_New_Babbage_1_1.jpg
| 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
}}{{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 = Pico_at_New_Babbage_1_1.jpg
| 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
}}Hello world