Help:WikiBoxes

From XMethod Wiki
Jump to navigation Jump to search

WikiBoxes Extension

This extension provides easy-to-use tags for creating infoboxes and navboxes.

Infobox

Infoboxes display summary information in a box on the right side of an article.

Basic Usage

<infobox title="Person Name" image="File:Photo.jpg" color="#336699">
|Born = January 1, 1990
|Occupation = Engineer
|Nationality = American
</infobox>

Options

Option Description Default
title Box title (displayed at top) (required)
image Image file (e.g., File:Example.jpg) none
imagesize Size of image 250px
caption Caption below image none
color Header background color #b8860b (gold)
above Subtitle below title none
below Footer text none

Section Headers

Use == Header == inside the infobox to create section headers:

<infobox title="Company">
|Founded = 2020
|CEO = John Smith
== Financial ==
|Revenue = $1M
|Employees = 50
</infobox>

Navbox

Navboxes display navigation links at the bottom of articles.

Basic Usage

<navbox title="Related Articles" color="#ccf">
|group1 = People
|list1 = [[John Smith]] · [[Jane Doe]] · [[Bob Wilson]]
|group2 = Places
|list2 = [[New York]] · [[Los Angeles]] · [[Chicago]]
</navbox>

Options

Option Description Default
title Box title Navigation
color Header/group background color #ccf
textcolor Text color for headers #000
state "expanded" or "collapsed" expanded
above Text above the lists none
below Text below the lists none

Tips

  • Use · (middle dot) or (bullet) to separate links in lists
  • Number your groups and lists: group1/list1, group2/list2, etc.
  • Lists without a matching group will span full width

Examples

Person Infobox

John Smith
BornJanuary 15, 1985
BirthplaceNew York, USA
OccupationSoftware Engineer
Known forOpen source projects

Topic Navbox

[show/hide]Programming Languages