Template:MicroWiki/Box/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:MicroWiki/Box. It contains usage information, categories and other content that is not part of the original template page. |
This template uses TemplateStyles: |
Internal template used to easily generate a Main-Page-style box.
Parameters
height
– Accepts a height value with units specified, ignored unless given. Ex: 100%.icon
– Displays an icon at the top-left. Bare file name. Defaults to MicroWiki mark pure black.svg. Optional parameter.iconsize
– Icon size, including px. Defaults to 20px. Ignored unlessicon =
is given.iconborder
– Accepts anything. If given, will display a border around the icon. Ignored unlessicon =
is given.iconlink
– Accepts anything. If given, icon will send the reader to the given page or address. Ignored unlessicon =
is given.
mark
– Displays an icon at the top-right. Bare file name. Optional parameter.marksize
– Icon size, including px. Defaults to 20px. Ignored unlessmark =
is given. Defaults toiconsize
.markborder
– Accepts anything. If given, will display a border around the icon. Ignored unlessmark =
is given.marklink
– Accepts anything. If given, icon will send the reader to the given page or address. Ignored unlessmark =
is given.
halign
– Accepts left/center/right, defaults to left.header
– Accepts anything. Defaults to "Header."calign
– Accepts left/center/right, defaults to left.contents
– Accepts anything. Defaults to "Contents."lalign
– Accepts left/center/right/box, defaults to right.label
– Accepts anything. Hidden by default.
Example
{{MicroWiki/Box |icon = Flag of Austenasia.svg |iconsize = 25px |iconborder = true |iconlink = Austenasia |halign = left |header = Example box |calign = box |contents = All fields accept templates, the label in this example uses {{tl|Purge}}. |lalign = left |label = '''{{purge|Refresh}}''' }}