Template:NAXInfobox
From MicrasWiki
Jump to navigationJump to search
[edit] []
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 tabletitlestyle- captionabovestyle- main headersubheaderstyle- subheadersimagestyle- image cellscaptionstyle- image captionsheaderstyle- all section headerslabelstyle- all labelsdatastyle- all data cellsbelowstyle- footerclass1throughclass100- 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 | |
| Formed | 1690 AN |
|---|---|
| Headquarters | Cardenas, FCD |
| Employees | 12,500 |
| Leadership | |
| Secretary | Example Person |
| Deputy Secretary | Another 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
- {{Infobox}} - Base MicrasWiki infobox template
- {{CitizenAW}} - For biographical articles
- {{NAXCity}} - For city and settlement articles
- {{Infobox NAX government agency}} - For government agency articles
- {{NAXLegislation}} - For legislation articles
| The above documentation is transcluded from Template:NAXInfobox/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |