Template:Box3/sandbox

Top
Changes made in Template:box3 show up right away here when this sandbox page is reloaded, or with a null edit. That is where the page is opened for editing, nothing is changed, and 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.

Bolding
Return to top.

Bolding can be added later to text and links wrapped within this template.

Template type for Template:Box3 must be "Unknown". Using "Navbox" template type for it will not allow bolding.













Background color
Return to top.

Default background color is yellow. It can be changed, but only if the border color is also changed from its default color. This will hopefully be fixed so that the border color does not have to be changed too.

Some more background colors: peachpuff, palegreen, lightcyan.

Info
Return to top.

See these discussions:
 * Template box3. Reduce top border to 1px.
 * Want to add named parameters to a link box template.
 * Need a template for a blue link in a yellow box with a red border.''

For Firefox-only wrapping problem see these discussions:
 * Template is wrapping. Need non-breaking space or something.
 * Firefox, unlike other browsers, has wrapping problem.

in the template code determines how rounded the corners are.

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

 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.

Nothing below is in tables in order to avoid the table CSS from overriding padding and other settings in Template:box3.''

Text only, no links
Return to top.

Linked text
Return to top.

With link, and blue border
Return to top.

With link, blue border, background color
Return to top.

Border color
Return to top.

No border
Return to top.

Links. Various formats
Return to top.

Portugal
 * Portugal

Health in Portugal
 * Health in Portugal

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


 * 

No brackets. See last entry. Categories do not work
Return to top.

- "Portugal" linked.

- "Portugal" unlinked.

Interwiki link plus label:

External link plus label:

External link as linked bare URL:

Unlinked black bold text:

Brackets. Note last entry. Categories do not work
Return to top.

Full bare URL by itself
Return to top.

Use text parameter (text=) with categories as internal links
Return to top.





Use text parameter (text=) with complex mix of plain text and external links
Return to top.

Using text parameter (text=) also works with complex mix of plain text and internal links
Return to top.

It will not work if you try to add the wikitext for bolding (''') around all of a complex mix. Bolding has to be added to the parts within.