Template:Portal box

From OpenStreetMap Wiki
Jump to navigation Jump to search
{{{header}}}
[Edit] [Purge] 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
Argent
Silver
Light grey
Bronze
Orange
Rose
Pink
Iron
Gray
Grey
Aquamarine
Cyan
Emerald
Green
Sapphire
Blue

Don't use with active
text links in header

Amethyst
Purple
Violet

Don't use with active
text links in header

Ruby
Red

Don't use with active
text links in header

Wood
Brown
Coal
Black

See also