Template:MenuBox: Difference between revisions
Jump to navigation
Jump to search
Tip:If you don't want the title to become a link, you can trick it by using
m (nevermind, too tired) |
m (Solution for non-linking titles) |
||
| Line 9: | Line 9: | ||
Creates a right-floating navigation box. This template will normally be wrapped in another. | Creates a right-floating navigation box. This template will normally be wrapped in another. | ||
{{tip|If you don't want the title to become a link, you can trick it by using <code>link=name of current page</code>.}} | |||
== Simple example == | == Simple example == | ||
Revision as of 12:08, 6 December 2011
Creates a right-floating navigation box. This template will normally be wrapped in another.
link=name of current page.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
|nofloat = set true to appear inline
}}