Template:MenuBox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
{{MenuBox
{{MenuBox
|title= Main Page
|title= Main Page
|icon= [[File:Icon hl2.png|link=Half-Life 2]]
|icon= {{hl2}}
|text= <span>
|text= <span>
# MenuBox List Item 1
# MenuBox List Item 1
Line 28: Line 28:
{{MenuBox
{{MenuBox
|title= Main Page
|title= Main Page
|icon= [[File:Icon hl2.png|link=Half-Life 2]]
|icon= [[File:Icon hl2.png|link=Half-Life 2]] (or {{hl2}})
|text= <span>
|text= <span>
# MenuBox List Item 1
# MenuBox List Item 1

Revision as of 09:36, 15 September 2011

Create a floating right navigation box.

Simple example

{{MenuBox
|title= Main Page
|icon= [[File:Icon hl2.png|link=Half-Life 2]] (or {{hl2}})
|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
|icon = a file link that will be placed before 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
}}