Difference between revisions of "Template:Navbox"

From Second Life Wiki
Jump to navigation Jump to search
Line 18: Line 18:
</div>
</div>


{{KBtip|You can use a nested template for the content, assuring if you make one change to the nested template, it will sync across all instances of the same Navbox. This saves time and trouble when you have to add or remove pages from the navigational structure. For example, [[Linden_Lab_Official:Maturity_ratings:_an_overview|edit this page and see the navbox code]].}}
{{KBtip|You can use a nested template for the "content", assuring if you make one change to the nested template, it will sync across all instances of the same Navbox. This saves time and trouble when you have to add or remove pages from the navigational structure. For example, [[Linden_Lab_Official:Maturity_ratings:_an_overview|edit this page and see the navbox code]].}}


== Example ==
== Example ==

Revision as of 08:22, 8 October 2009

{{{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.

Usage

{{Navbox
|title=your title
|content=your content
}}
KBtip2.png Tip: You can use a nested template for the "content", assuring if you make one change to the nested template, it will sync across all instances of the same Navbox. This saves time and trouble when you have to add or remove pages from the navigational structure. For example, edit this page and see the navbox code.

Example

Input:

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

Output: