Template:Colored bar/doc

From Wikivoyage
Jump to navigation Jump to search

The template was created for the layout of Wikivoyage:Nigeria café; it can be used for similar non-article pages.

A blank full copy of the template can be seen below:

{{Colored bar|title=|background-color=|title-color=|link=| style = flex-basis: 25em; flex-grow: 1;}}

Here's a list of what the parameters mean.

For example purposes, here's the example used

Foo

The |title= parameter should be the text you want to appear. So in the example, what you'll need to enter as the title will be "Foo"

The background-color= is the hex colour code of what you want the background to appear. So in this example, the background colour would be "#FFFFFF"

The title-color= is similarly the hex colour code of what you want the text to appear. So in this example, the background colour would be "#000000"

The link= parameter is to the page where you would want to link to. So in this example, the link would just be [[Wikivoyage:Pub]].