2025 RationalWiki 'Oregon Plan' Fundraiser

There is no RationalWiki without you. We are a small non-profit with no staff—we are hundreds of volunteers who document pseudoscience and crankery around the world every day. We will never allow ads because we must remain independent. We cannot rely on big donors with corresponding big agendas. We are not the largest website around, but we believe we play an important role in defending truth and objectivity.

Fighting pseudoscience isn't free.
We are 100% user-supported! Help and donate $5, $10, $20 or whatever you can today with PayPal Logo.png!
Donations so far: $10064.65Goal: $10000

Template:Navsidebar/sandbox

From RationalWiki
Jump to navigation Jump to search

This is a completed template. To edit the template style, see test cases.

This is a template

Navigation

link=:category:
See here for more
  • List item one
  • List item two
  • Use internal wikilinks
  • Can add a {{Navsidebar2}} here if needed

Usage

Header section:
{{Navsidebar
|title        = Title of the section that will appear in the bar
|name         = Main name of the template
|title2       = Title of the first content section
|icon         = Filename
|barcolor     = Primary colour
|bgcolor      = Secondary colour
|textcolor    = Text colour, usually either black or white (note the contrast with the background)
|category     = Category that will be included with the template
|templatename = Name of the template, used for vte. Automatically selects template space.
|content      = Content of the first section
*List item one
*List item two
*Use internal wikilinks
*Can add a /2 here if needed (see below)
}}

Optional parameter:
|namesize     = Override for the font size of the name. Default is 5
|name2        = Direct to this article if the title is different. Leave blank to direct to "name".

Content section. Can add whatever you like under the "content" parameter:
{{Navsidebar2
|title        = Title of the section that will appear in the bar
|barcolor     = Primary colour
|bgcolor      = Secondary colour
|textcolor    = Text colour, usually either black or white (note the contrast with the background)
|content      =
*List item one
*List item two
*Use internal wikilinks
*Continue as needed
}}

Random section. Will return random article links based on dpl parameters below:
{{Navsidebar2
|title        = Title of the section that will appear in the bar
|barcolor     = Primary colour
|bgcolor      = Secondary colour
|textcolor    = Text colour, usually either black or white (note the contrast with the background)
|content      =
<dpl>
category       = Category dpl will search for
listseparators =,¶*[[%PAGE%¦%TITLE%]],
nottitlematch  = {{PAGENAME}}
namespace      =
randomcount    = Number of articles
</dpl>
}}