Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
(→Usage) |
(→Usage) |
||
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| | {{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]].}} | ||
== Example == | == Example == |
Revision as of 08:23, 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 }}
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. |
Example
Input:
{{Navbox |title=[[User:Magellan Linden|Magellan]]'s Discoveries |content=*[[Nautilus City investigation|Nautilus City]] **[[Magellan_and_Gaeta|Gaeta]] **[[LDPW]] *[[Agni]] *[[Aditi]] }}
Output: