Template:Portal box
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
{{Portal box|header = header (required) |text = text (optional) |color = color (optional) |float = left/right/none (optional) |lang = (optional) |style = (optional) |header-style = (optional) |text-style = (optional) }}
Floatting display mode
The box is floating by default. When float=none
, the box will not float and will use available the page width:
When float
is not specified, the box will float on the right for LTR languages (like English) or on the left for RTL languages (like Arabic). If the language is not specified in the lang
parameter, it is determined internally from the current full page name using {{Langcode}}. You can specify a maximum width in style
for the box, such as style = max-width:50%;
.
Supported colors
Default
Yellow
Silver
Light grey
Orange
Pink
Gray
Grey
Cyan
Green
Blue
Don't use with active
text links in header
Purple
Violet
Don't use with active
text links in header
Red
Don't use with active
text links in header
Brown
Black