Template:Navbox

From Data Crystal
Revision as of 00:51, 24 January 2024 by Hawk (talk | contribs) (Created page with "<table width="90%" class="navbox mw-collapsible <!--Uncomment to auto-collapse large navboxes {{#ifexpr: {{PAGESIZE: Template:{{{name}}} |R}} > 4000 |mw-collapsed|}}-->"> <tr><th colspan="2" class="navboxhead"><!-- --><!-- -->{{#if:{{{name|}}}| <div class="noprint plainlinks navbar" style="{{{style|}}} font-size:x-small; text-align: left;float:left;width:10%;" ><!-- --><span style="white-space:nowrap;word-spacing:-.12em;"><!-- -->{{transclude|{{{name}}}}}|<span style=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the top-template for a navigational box. Use {{navboxrow}} to produce row breaks within a {{navbox}}.

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
 }}
}}
{{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]]
 }}
}}