Template:Box/sandbox

From Cannabis
Jump to navigation Jump to search

Top[edit source]

Changes made in Template:box 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 source]

Return to top.

{{box|LINK|COLOR|TEXT}}

  • For example;

{{box|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 source]

Return to top.

{{box|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 source]

Return to top.

{{box|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 source]

Return to top.

{{box|Portugal|green}}

Portugal

{{box|[[Portugal]]|green}}

Portugal

No border[edit source]

Return to top.

{{box|Portugal| -}}

Portugal

{{box|Portugal| }}

Portugal

{{box|Portugal|transparent}}

Portugal

Links. Various formats[edit source]

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 source]

{{box}}

|{{box|}}

{{box||}}

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

Portugal

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

Portugal

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

Portugal

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

Portugal

External link as linked bare URL:
{{box|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:
{{box|||$4,608}}

$4,608

Brackets[edit source]

{{box|[[Portugal]]}}

Portugal

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

Portugal

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

Portugal

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

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

[2]

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

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

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