Jump to content

Template:Generic Merit Badge/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{Generic Merit Badge|color1=<color1>|color2=<color2>|fontcolor=<color>|bordercolor=<color>|image=<image location>|text=<Text> (can be a link)|include_text=<Includeonly Text>}}

  • color1 is the right box background color
  • color2 is the left box background color
  • fontcolor is the color to be used for the text
  • bordercolor is the color to be used for the solid border around the box
  • image is the jpg/gif/png you want to use. Do not use the Image: in front of the image file name
  • image_size is an alternative size in pixels. Must include the 'px' subscript.
  • text is what you want to appear on the right. This can be a Wiki link.
  • Includeonly Text is normally a category like[[Category:Intellipedia]]

Color can be hex, such as #3322BB or simple such as "blue".

To see the colors available, please see this HTML Color Chart.

Examples

[edit]
  • {{Generic Merit Badge|color2=blue}}
{{{text}}}Generic Merit Badge
  • {{Generic Merit Badge|color1=green|color2=#FF33BB|fontcolor=#FFFFFF}}
{{{text}}}Generic Merit Badge
  • {{Generic Merit Badge|color1=blue|color2=white|image=|text=My text}}
[[Image:|43px|My text]]My text
  • {{Generic Merit Badge|color1=yellow|color2=white|text=My text 2}}
My text 2My text 2