Template:MicroWiki/Box/doc
Vai alla navigazione
Vai alla ricerca
Template:Documentation subpage 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%.balign
– Accepts left/center/right. Left and right create half-width boxes, center creates a full-width box. Defaults to center.icon
– Bare file name. Defaults to MicroWiki Logo Black.png. 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.
halign
– Accepts left/center/right/box, defaults to left. If set to "box," the header will inherit the alignment of the box.header
– Accepts anything. Defaults to "Header."calign
– Accepts left/center/right/box, defaults to left. If set to "box," the contents will inherit the alignment of the box.contents
– Accepts anything. Defaults to "Contents."lalign
– Accepts left/center/right/box. If set to "box," the contents will inherit the alignment of the box. Defaults to right.label
– Accepts anything. Hidden by default.
Example
{{MicroWiki/Box |balign = right |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}} }}
All fields accept templates, the label in this example uses Template:Tl.