Template:AfC button/doc

From Bharatpedia, an open encyclopedia
< Template:AfC button
Revision as of 22:32, 5 November 2024 by Muskit Gergous (talk | contribs) (→‎Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

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=50px}} (quarter size) would produce:
However, the font size of the text under the image is not changed.
  • 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: