Jump to content

Template:AfC button/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template has three optional parameters:

  • size, which gives the size of the image in pixels. The default value is 200px. To show the image at a different size, invoke the template with a different size parameter. For example, {{AFC button|size=100px}} would produce:
The template will attempt to adjust the font size, however for very large or small versions you may need to specify |font-size=. {{AFC button|size=50px}} would produce:
Which you can fix with {{AFC button|size=50px|font-size=6px}}
  • float, which specifies the float attribute of the <div> containing the template.
  • style, which, when set to button, makes the template use {{Clickable button}} instead of the image. For instance, {{AFC button|style=button}} produces: