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

Template:InfoboxNeue/doc

Template page
Revision as of 19:46, 24 August 2024 by Ocularum (talk | contribs) (Created page with "{{Documentation}} {{t|InfoboxNeue}} is a general use infobox template. === Usage === <syntaxhighlight> {{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 --> | indicatorDesc = <!-- Indicator desc --> | indicatorClass = <!-- Indicator class --> | tit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Script error: The function "doc" does not exist.{{#seo: |type = website |description = Template:InfoboxNeue/doc is a template page used on the Star Citizen Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. |site_name = Star Citizen Wiki |locale = en }}

{{InfoboxNeue{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} is a general use infobox template.

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 -->
| indicatorDesc     = <!-- Indicator desc -->
| 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         = Left
| indicatorDesc     = Right

| 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
Left
Right
Hello world
Lorem ipsum
1st section
1st section's subtitle
1st item's label
item's content
2nd section
2nd section's subtitle
1st item's label
1st item's content
2nd item's label
2nd item's content