Difference between revisions of "Template:AFC button/doc"
Jump to navigation
Jump to search
blackwiki>Enterprisey m (added example) |
blackwiki>Andrybak (use Template:Sandbox other) |
||
| Line 18: | Line 18: | ||
{{Button templates}} | {{Button templates}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
[[Category:WikiProject Articles for creation templates]] | [[Category:WikiProject Articles for creation templates]] | ||
[[Category:Wikipedia button templates]] | [[Category:Wikipedia button templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 22:49, 25 March 2020
| 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 thefloatattribute of the<div>containing the template.style, which, when set tobutton, makes the template use {{Clickable button 2}} instead of the image. For instance,{{AFC button|style=button}}produces: