Template:Portal box

From OpenStreetMap Wiki
Jump to: navigation, search
{{{header}}}
[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation

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:

{{{header}}}

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

Osmgreen
Default
Gold
Yellow
Silver
Light grey
Argent
Bronze
Orange
Rose
Pink
Iron
Gray
Grey
Aquamarine
Cyan
Emerald
Green
Sapphire
Blue

Don't use with
links in header

Amethyst
Violet

Don't use with
links in header

Ruby
Red

Don't use with
links in header

Wood
Brown
Coal
Black

See also