Template:NAXInfobox

From MicrasWiki
Jump to navigationJump to search
[edit] [purge] Template documentation

Usage

NAXInfobox is a themed general-purpose infobox template for Nouvelle Alexandrie articles. It provides the same functionality as {{Infobox}} but with Nouvelle Alexandrie branding colors matching the NA Portal.

Color scheme

Element Color Hex
Main header (above) Deep rose-burgundy #913A6A
Section headers Rose-burgundy text on pale pink #913A6A on #FAF5F8
Gold accent (top bar, header underlines) Amber-gold #F3BD51
Labels Dark plum #7A2F57
Border Rose-burgundy #913A6A
Background White #FFFFFF

Basic syntax

{{NAXInfobox
| above   = Title of the Infobox
| image   = [[File:Example.png|200px]]
| caption = Image caption

| header1 = Section Header
| label1  = Label
| data1   = Data value
| label2  = Another label
| data2   = Another value

| header3 = Another Section
| label3  = More info
| data3   = More data

| below   = Footer content
}}

Parameters

Parameter Description
title Caption above the infobox (rarely used)
above Main header row (burgundy background, white text)
subheader, subheader1, subheader2, subheader3 Subheader rows below the main header
image, image1, image2, image3, image4 Images (include full wikilink syntax)
caption, caption1, caption2, caption3, caption4 Image captions
header1 through header100 Section header rows (gold underline)
label1 through label100 Left column labels (plum color)
data1 through data100 Right column data values
below Footer row
name Template name for navbar (if using {{navbar}})

Style overrides

The following parameters allow custom CSS styling:

  • bodystyle - entire table
  • titlestyle - caption
  • abovestyle - main header
  • subheaderstyle - subheaders
  • imagestyle - image cells
  • captionstyle - image captions
  • headerstyle - all section headers
  • labelstyle - all labels
  • datastyle - all data cells
  • belowstyle - footer
  • class1 through class100 - individual row classes

Example

{{NAXInfobox
| above   = Department of Example
| image   = [[File:NAX-Dept-Example.png|180px]]
| caption = Official seal

| header1 = Agency overview
| label1  = Formed
| data1   = {{AN|1690}}
| label2  = Headquarters
| data2   = [[Cardenas]], FCD
| label3  = Employees
| data3   = 12,500

| header4 = Leadership
| label4  = Secretary
| data4   = [[Example Person]]
| label5  = Deputy Secretary
| data5   = [[Another Person]]

| below   = [https://example.com Official website]
}}
Department of Example
File:NAX-Dept-Example.png
Official seal
Agency overview
Formed1690 AN
HeadquartersCardenas, FCD
Employees12,500
Leadership
SecretaryExample Person
Deputy SecretaryAnother Person
Official website

Notes

  • This template supports up to 100 rows (compared to 200 in the base {{Infobox}}).
  • For most Nouvelle Alexandrie articles, consider using specialized templates like {{CitizenAW}}, {{NAXCity}}, {{Infobox NAX government agency}}, or {{NAXLegislation}} which are built for specific article types.
  • NAXInfobox is ideal for general-purpose use where no specialized template exists.

See also