Difference between revisions of "Template:Navbox"

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


{{KBtip|1=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|see the navbox code on this page]], which points to [[Template:Navbox/Adult]].}}
{{KBtip|1=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|see the navbox code on this page]], which points to [[Template:Navbox/Adult]] and [[Template:Navbox/Adult-title]].


== Example ==
== Example ==

Revision as of 09:16, 12 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, see the navbox code on this page, which points to Template:Navbox/Adult and Template:Navbox/Adult-title.

Example

Input:

{{Navbox

Output: