Difference between revisions of "Template:Navbox"

From Space Station 13 Wiki
Jump to navigation Jump to search
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:magicbone]]'s Helpful hints</nowiki></font>
  |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>[[maps]]</nowiki></font>
  **<nowiki>[[Location Repository]]</nowiki></font>
  }}
  }}
</div>
</div>
Line 34: Line 34:
Output:
Output:
{{Navbox
{{Navbox
|title=[[User:magicbone]]'s Helpful hints
|title=[[User:Conor12]]'s Helpful hints
|content=*[[maps]]
|content=*[[jobs]]
**[[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: