Ace Attorney Wiki
Ace Attorney Wiki


Template:NavBox, Template:NavBox row and Template:Boxes end are used in unison to construct navigation boxes.

Each box must start with a Template:NavBox. Any value in show expands the box automatically upon page load.

{{NavBox
|bgcolor=
|fgcolor=
|name=
|show=
}}

Each row in the box is added using Template:NavBox row. The first field is the name of the row put in the first column. The second field is the data placed in the second column. A box may have an unlimited number of rows.

{{NavBox row
|Text placed here goes into the first column.
|Text placed here goes into the second column.
}}

The box must end with a Template:Boxes end.

{{Boxes end}}

A header may be used to separate rows using Template:NavBox head.

{{NavBox head|Text}}

To create a row with no previous formatting use Template:NavBox empty.

{{NavBox empty|bgcolor=|fgcolor=|Stuff}}

Optional Fields

The following are some notes on optional fields.

  • bgcolor
    • Manually sets the background color of the header text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.
  • fgcolor
    • Manually sets the foreground color of the header text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.

Example

{{NavBox
|bgcolor=
|fgcolor=
|name=Test
}}
{{NavBox row
|Row 1
|Stuff
}}
{{NavBox row
|Row 2
|More stuff
}}
{{NavBox head|Break}}
{{NavBox row
|Row 3
|Even more stuff
}}
{{NavBox head|Nested rows}}
{{NavBox row
|Row 4
|rows=3
}}
{{NavBox row
|Row 4a
|*''rows'' in Row 4 denotes the number of nested rows a row holds.
*Row 4 does ''not'' have data.
*''norow'' is needed for the first nested row in a group. In this case, Row 4a.
|norow=x
}}
{{NavBox row
|Row 4b
|Row 4b does ''not'' use ''norow''.
}}
{{NavBox row
|Row 4c
|Row 4c does ''not'' use ''norow''.
}}
{{NavBox empty|End of nested rows}}
{{Boxes end}}