Difference between revisions of "Template:Navbox"

From Second Life Wiki
Jump to navigation Jump to search
Line 6: Line 6:


This is a simple template intended for use in creating navigation templates.  It takes two parameters:
This is a simple template intended for use in creating navigation templates.  It takes two parameters:
* title - Title of the navigation group.  This can also be a link using normal wiki syntax.
* '''title''' - Title of the navigation group.  This can also be a link using normal wiki syntax.
* content - Text to appear in the navigation template "box".  The expectation is that this is generally a bulleted list; though it can be in any text.
* '''content''' - Text to appear in the navigation template "box".  The expectation is that this is generally a bulleted list; though it can be in any text.
* '''title-bg-color''' (optional) - Specify a color if you want to use something other than the <span style="background:#96C5AF; padding: 3px;">default  blue-green color</span>.
* '''float''' (optional) - CSS float position. Default is right.
* '''width''' (optional) - max width. Default is 30%


== Usage ==
== Usage ==

Revision as of 23:44, 14 March 2010

{{{title}}}

{{{content}}}

This is a simple template intended for use in creating navigation templates. It takes two parameters:

  • title - Title of the navigation group. This can also be a link using normal wiki syntax.
  • content - Text to appear in the navigation template "box". The expectation is that this is generally a bulleted list; though it can be in any text.
  • title-bg-color (optional) - Specify a color if you want to use something other than the default blue-green color.
  • float (optional) - CSS float position. Default is right.
  • width (optional) - max width. Default is 30%

Usage

{{Navbox
|title=your title
|content=your content
}}
KBtip2.png Tip: See the Style Guide for Navbox usage relevant to the Knowledge Base.

Example

Input:

{{Navbox
|title=[[User:Magellan Linden|Magellan]]'s Discoveries
|content=*[[Nautilus City investigation|Nautilus City]]
**[[Magellan_and_Gaeta|Gaeta]]
**[[LDPW]]
*[[Agni]]
*[[Aditi]]
}}

Output: