Template:NavBox

From D&D Wiki

(Redirected from Template:TitleHeaderLink)
Jump to: navigation, search
{{{Subtitle}}}
{{{Title}}}[[{{{NavBoxLink}}}|v]]


Documentation

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;

General Variables

  • 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-5 (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

  • 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

No-Image Two-Group Quoted Navigation Box

Navigation Box
Navigation Test: Usersv
System Operators Aarnott, Blue Dragon, Calidore Chase, Daniel Draco, Eiji, Ganteka, Green Dragon, Lord Dhazriel, Sabre070, Sam Kay, Sledged
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!?


Image Two-Group Quoted Navigation Box

Navigation Box
Navigation Test: Users (With Image)v
D&D logo-test2.png System Operators Aarnott, Blue Dragon, Calidore Chase, Daniel Draco, Eiji, Ganteka, Green Dragon, Lord Dhazriel, Sabre070, Sam Kay, Sledged
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!


No-Image Five-Group No-Quotes 100% Wide Navigation Box

Navigation Box
Navigation Test: Users (With Image)v
System Operators Aarnott, Blue Dragon, Calidore Chase, Daniel Draco, Eiji, Ganteka, Green Dragon, Lord Dhazriel, Sabre070, Sam Kay, Sledged
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.


Resized-Image Two-Group Quoted Navigation Box

Navigation Box
Navigation Test: Users (With Image)v
Valgoravlogo.png System Operators Aarnott, Blue Dragon, Calidore Chase, Daniel Draco, Eiji, Ganteka, Green Dragon, Lord Dhazriel, Sabre070, Sam Kay, Sledged
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!



Home of user-generated,
homebrew pages!


Advertisements: