Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
Sailor dave (talk | contribs) m (1 revision) |
m (Divvying up templates into subcategories for ease of use) |
||
(One intermediate revision by one other user not shown) | |||
Line 26: | Line 26: | ||
<div style="font-size: 130%; "> | <div style="font-size: 130%; "> | ||
<nowiki>{{</nowiki>Navbox | <nowiki>{{</nowiki>Navbox | ||
|title=<font color="blue"><nowiki>[[User: | |title=<font color="blue"><nowiki>[[User:Conor12]]'s Helpful hints</nowiki></font> | ||
|content=<font color="blue">*<nowiki>[[jobs]]</nowiki> | |content=<font color="blue">*<nowiki>[[jobs]]</nowiki> | ||
**<nowiki>[[ | **<nowiki>[[Location Repository]]</nowiki></font> | ||
}} | }} | ||
</div> | </div> | ||
Line 34: | Line 34: | ||
Output: | Output: | ||
{{Navbox | {{Navbox | ||
|title=[[User: | |title=[[User:Conor12]]'s Helpful hints | ||
|content=*[[ | |content=*[[jobs]] | ||
**[[ | **[[Location Repository]] | ||
}} | }} | ||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Metawiki Templates]]</noinclude> |
Latest revision as of 04:31, 4 February 2020
{{{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 }}
Example
Input:
{{Navbox |title=[[User:Conor12]]'s Helpful hints |content=*[[jobs]] **[[Location Repository]] }}
Output:
User:Conor12's Helpful hints