Template:AfC button/doc: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
(→Usage) Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 7: | Line 7: | ||
*<code>size</code>, which gives the size of the image in pixels. The default value is <code>200px</code>. To show the image at a different size, invoke the template with a different size parameter. For example, {{Tlc|AFC button|size{{=}}50px}} (quarter size) would produce: | *<code>size</code>, which gives the size of the image in pixels. The default value is <code>200px</code>. To show the image at a different size, invoke the template with a different size parameter. For example, {{Tlc|AFC button|size{{=}}50px}} (quarter size) would produce: | ||
{{AFC button|size= | {{AFC button|size=100px}} | ||
{{clear}} | {{clear}} |
Latest revision as of 22:32, 5 November 2024
![]() | This is a documentation subpage for Template:AfC button. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template has three optional parameters:
size
, which gives the size of the image in pixels. The default value is200px
. 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 thefloat
attribute of the<div>
containing the template.style
, which, when set tobutton
, makes the template use {{Clickable button}} instead of the image. For instance,{{AFC button|style=button}}
produces: