Template:Navbox

From The Wiki Camp 2 Jr.
Jump to navigation Jump to search
{{{1}}}
{{{2}}}

This is the top-template for a navigational box. Use Template:Tlink to produce row breaks within a Template:Tlink.

Usage

See this table for some usage examples.

Example Wiki syntax Product
{{navbox
|Box Title|
 {{navboxrow
  |title= Section Title
  |list = Section Content
 }}
 {{navboxrow
  |list = Titleless Section
 }}
}}


Box Title
Section TitleSection Content
Titleless Section
{{navbox
|name=Civilization series
|The ''[[:Category:Civilization series|Civilization]]'' series|
 {{navboxrow
  |title= Windows
  |list = [[Sid Meier's Civilization II (Windows, Mac OS Classic)|Civilization II]]{{•}} [[Sid Meier's Civilization III|Civilization III]]{{•}} [[Sid Meier's Civilization V (Windows)|Civilization V]]
 }}
 {{navboxrow
  |title= Mac OS Classic
  |list = [[Sid Meier's Civilization II (Windows, Mac OS Classic)|Civilization II]]{{•}} [[Sid Meier's Civilization III|Civilization III]]
 }}
 {{navboxrow
  |title= PlayStation
  |list = [[Civilization II (PlayStation)|Civilization II]]
 }}
 {{navboxrow
  |title= Mac OS X
  |list = [[Sid Meier's Civilization III|Civilization III]]
 }}
{{navboxrow
  |list = <tr><th colspan="2">Spinoffs
 }}
{{navboxrow
  |title= DOS
  |list = [[Sid Meier's Colonization (DOS)|Colonization]]
 }}
{{navboxrow
  |title= Windows
  |list = [[Sid Meier's Alpha Centauri|Alpha Centauri]]
 }}
}}


The Civilization series
WindowsCivilization II • Civilization III • Civilization V
Mac OS ClassicCivilization II • Civilization III
PlayStationCivilization II
Mac OS XCivilization III
Spinoffs
DOSColonization
WindowsAlpha Centauri

also you can add |collapse=1 as a parameter to collapse it by default :D

The Other Navbox

Use the ``classic`` parameter for classic navbox lalala