Template:Box5/sandbox

From Cannabis
Jump to navigation Jump to search

Top[edit]

Changes made in Template:Box5 show up right away here with a null edit. That is an edit of the page where nothing is changed, but the page is saved anyway.

View this page on a desktop PC and in a cell phone. Viewed on a cell phone the padding is different inside the colored boxes.

See:
2018 Global Cannabis March and 420 event map.
2018 Global Marijuana March and 420 event map.
Wikipedia: Global Marijuana March.

Info[edit]

Return to top.

{{box5|LINK|COLOR|TEXT}}

  • For example;

{{box5|Moscow, Idaho|lime|Moscow}} Moscow

See this discussion:

For Firefox-only wrapping problem see:

"border-radius" in the template code determines how rounded the corners are.

Border color:
Portugal Red (default).
Portugal Lime.
Portugal Green.
Portugal Blue.
Portugal Fuchsia.

  • Wikipedia: Web colors. Named colors and hex colors work. Capitalization does not matter in named colors. Put # in front of hex colors. Spaces must be removed from hex numbers. The 3-digit shorthand versions of hex colors work too.

Linked text[edit]

Return to top.

{{box5|Portugal}}

Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal

With link, and blue border[edit]

Return to top.

{{box5|Portugal|blue}}

Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal Portugal

Second parameter for color[edit]

Return to top.

{{box5|Portugal|green}}

Portugal

{{box5|[[Portugal]]|green}}

Portugal

No border[edit]

Return to top.

{{box5|Portugal| -}}

Portugal

{{box5|Portugal| }}

Portugal

{{box5|Portugal|transparent}}

Portugal

Links. Various formats[edit]

Return to top.

[[Portugal]]

Portugal

[[wikipedia:Health in Portugal]]

wikipedia:Health in Portugal

http://en.wikipedia.org/wiki/Health_in_Portugal

http://en.wikipedia.org/wiki/Health_in_Portugal

[http://en.wikipedia.org/wiki/Health_in_Portugal]

[1]

No brackets[edit]

{{Box5}}

|{{box5|}}

{{box5||}}

{{box5|Portugal}} - "Portugal" linked.

Portugal

{{box5|||Portugal}} - "Portugal" unlinked.

Portugal

Interwiki link plus label:
{{box5|wikipedia:Health in Portugal||Portugal}}

Portugal

External link plus label:
{{box5|http://en.wikipedia.org/wiki/Health_in_Portugal||Portugal}}

Portugal

External link as linked bare URL:
{{box5|http://en.wikipedia.org/wiki/Health_in_Portugal||http://en.wikipedia.org/wiki/Health_in_Portugal}}

http://en.wikipedia.org/wiki/Health_in_Portugal

|Unlinked black bold text:
{{box5|||$4,608}}

$4,608

Brackets[edit]

{{box5|[[Portugal]]}}

Portugal

{{box5|[[wikipedia:Health in Portugal]]||Portugal}}

Portugal

{{box5|[http://en.wikipedia.org/wiki/Health_in_Portugal]||Portugal}}

Portugal

Full bare URL as first parameter. Other parameters left empty[edit]

{{box5|http://en.wikipedia.org/wiki/Health_in_Portugal}}

[2]

Full bare URL as 3rd parameter. Other parameters left empty[edit]

{{box5|||http://en.wikipedia.org/wiki/Health_in_Portugal}}

http://en.wikipedia.org/wiki/Health_in_Portugal