Difference between revisions of "Template:Navbox"

From Second Life Wiki
Jump to navigation Jump to search
m (expanded documentation)
Line 1: Line 1:
<noinclude>
<onlyinclude><div id="box" style="float: right; background:#f4f8fb; margin-left: 10px">
<div style="text-align: center; font-size: 16px; padding: 5px">'''{{{title}}}'''</div>
<div style="padding: 0.5em; background:#ffffff;">
{{{content}}}
</div></div></onlyinclude>
 
This is a simple template intended for use in creating navigation templates.  It takes two paramters:
This is a simple template intended for use in creating navigation templates.  It takes two paramters:
* 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.
</noinclude>
 
<div id="box" style="float: right; background:#f4f8fb; margin-left: 10px">
== Usage ==
<div style="text-align: center; font-size: 16px; padding: 5px">'''{{{title}}}'''</div>
 
<div style="padding: 0.5em; background:#ffffff;">
<div style="font-size: 130%; ">
{{{content}}}
<nowiki>{{</nowiki>Navbox
</div></div>
|title=<font color="blue">your title</font>
|content=<font color="blue">your content</font>
}}
</div>
 
== Example ==
 
Input:
<div style="font-size: 130%; ">  
<nowiki>{{</nowiki>Navbox
|title=<font color="blue"><nowiki>[[User:Magellan Linden|Magellan]]'s Discoveries</nowiki></font>
|content=<font color="blue">*<nowiki>[[Nautilus City investigation|Nautilus City]]</nowiki>
**<nowiki>[[Magellan_and_Gaeta|Gaeta]]</nowiki>
**<nowiki>[[LDPW]]</nowiki>
*<nowiki>[[Agni]]</nowiki>
*<nowiki>[[Aditi]]</nowiki></font>
}}
</div>
 
Output:
{{Navbox
|title=[[User:Magellan Linden|Magellan]]'s Discoveries
|content=*[[Nautilus City investigation|Nautilus City]]
**[[Magellan_and_Gaeta|Gaeta]]
**[[LDPW]]
*[[Agni]]
*[[Aditi]]
}}

Revision as of 18:36, 11 March 2009

{{{title}}}

{{{content}}}

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

  • 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
}}

Example

Input:

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

Output: