Template:NavBox/doc
From Dungeons and Dragons Wiki
This Navigation Box (also known as the Title-Header-Link Navigation Box) is designed to be something akin to the Wikipedia Navbox. It uses the d20 Collapsible Collapsed class to allow for hiding. The variables used are as follows;
Contents
General Variables[edit]
- Title: The Title defines what is shown in the top-most row of the navigation box. Typically, this will be a link to the main page of whatever the navigation box is navigating.
- Subtitle: This will appear as the "caption" on the top of the table. It (and [hide]) will be the only parts of the table visible when hiding.
- NavBoxLink: Set this to link to the page where the navigation box is. This is for viewing the template independently.
- Group#: Varying from 1-6 (Currently, this can be easily expanded to 1-20 if needs be), a Group is a row inside the navigation box. The Group# Variable defines the name of the group and whether or not the group will be shown.
- List#: The list shown in the cell besides the headers. These are generally links to the varying navigational parts of whatever's being navigated. These will not appear, even if defined, if no Group for the corresponding number is defined.
- Image: This will set the image of the navigation box. All that is required is the name of the image to work. If the image is not defined, no image will be displayed; otherwise it will be displayed on the right side of the box.
- Quotes: This will display a message on the bottom of the Navigation Box, most often used for quotes. In order to use quotes, use the <choose><option>{{quote|QUOTE HERE|orig=Origin|src=Source}}</option></choose> notation.
Technical Variables[edit]
- HeaderWidth: This is a technical property that defines the percentage width of the Header cells (The cells that contain the Group name). If this is not set, they default to 10%.
- TableWidth: This will set the width of the table. It is requested that you use percentages for this, but any kind of number will work. If not set, it defaults to 75%.
- ImageSize: This will set the size of the image as though adding |#px to the end of the image tag. If it is not set, the image will not be resized.
Demonstration[edit]
[edit]
Navigation Test: Usersv | ||
---|---|---|
System Administrators | Aarnott, DanielDraco, Daranios, Eiji-kun, Ganteka Future, Ghostwheel, Havvy, Leziad, Sulacu, Surgo, Tarkisflux | |
Normal Users | TK-Squared, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X | |
All problems fixed!? |
[edit]
Navigation Test: Users (With Image)v | ||
---|---|---|
System Administrators | Aarnott, DanielDraco, Daranios, Eiji-kun, Ganteka Future, Ghostwheel, Havvy, Leziad, Sulacu, Surgo, Tarkisflux | |
Normal Users | TK-Squared, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X | |
Is that an image!? OH SHIT I THINK IT IS! |
[edit]
Navigation Test: Users (With Image)v | ||
---|---|---|
System Administrators | Aarnott, DanielDraco, Daranios, Eiji-kun, Ganteka Future, Ghostwheel, Havvy, Leziad, Sulacu, Surgo, Tarkisflux | |
Templaters | TK-Squared | |
Other Users | Some Dudes, Some Dudes, Some Dudes, Some Dudes, Some Dudes, Some Dudes, Some Dudes, Some Dudes, Some Dudes | |
Womenfolk | Bunnie, Rowan, Sulacu, Risek, PortiaPendragon | |
A LIST!? | Everyone loves Magical Trevor, because the tricks that he does are ever so-clever. Look at him now, disappearing a cow. Where is the cow? Hidden right now. |
[edit]
Navigation Test: Users (With Image)v | ||
---|---|---|
System Administrators | Aarnott, DanielDraco, Daranios, Eiji-kun, Ganteka Future, Ghostwheel, Havvy, Leziad, Sulacu, Surgo, Tarkisflux | |
Normal Users | TK-Squared, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X, Guy X | |
Is that an image!? OH SHIT I THINK IT IS! |