Template:Box2

From Cannabis
Jump to navigation Jump to search

FIX ME

See: Template:Healthcare. Canada, USA, other countries
See this discussion: Need a template for a blue link in a yellow box with a red border.

"border-radius:7px;" in the template code determines how rounded the corners are.

"padding: 0 3px;" and "border:2px solid" in the template code allows the boxes to stack without overlapping:

Canada
$4,753

Examples
Input Output
{{box2|Canada|http://en.wikipedia.org/wiki/Health_care_in_Canada}} Canada
{{box2|$4,753}} $4,753

Template is in this form:

  • {{box2|TEXT|URL}}

With link:

  • {{box2|Canada|http://en.wikipedia.org/wiki/Health_care_in_Canada}}
  • Canada

Without link:

  • {{box2|$4,753}}
  • $4,753

If both parameters are left empty, the template says "Fix me":

  • {{box2}}
  • FIX ME