Template:MenuBox

From Valve Developer Community
Revision as of 22:55, 27 June 2011 by JeffLane (talk | contribs) (MenuBox template)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Create a floating right navigation box.

Simple example

The <span> tags are necessary if the first element in the MenuBox text is a bullet or numbered list item.

{{MenuBox
|title= Main Page
|text= <span>
# MenuBox List Item 1
# MenuBox List Item 2
# MenuBox List Item 3
# MenuBox List Item 4
# MenuBox List Item 5
# MenuBox List Item 6
# MenuBox List Item 7
</span>
}}

All parameters

{{MenuBox
|title = page to link at top
|link = alternative link for the title
|text = content text
|txtcolor = color of the content text
|bgcolor = main background color
|bgcolor2 = title box color
|bdcolor = outer border color
|bdcolor2 = bottom border on title box
|bgimage = image to appear in background 
|nofloat = set true to appear inline
}}