Difference between revisions of "Template:Download button"

From Kiwix
Jump to navigation Jump to search
Line 14: Line 14:
== Example ==
== Example ==
<source lang="text">
<source lang="text">
{{Download_button|link=http://www.google.fr|image=download.svg|imagewidth=50px|width=250px|height=70px|titlefontsize=small|title=Download now!|subtitle=...using Bittorrent}}
{{Download_button|link=http://www.google.fr|image=download.svg|imagewidth=50px|width=250px|height=70px|titlefontsize=small|title=Download now!|subtitle=...using BitTorrent}}
</source>
</source>
{{Download_button|link=http://www.google.fr|image=download.svg|imagewidth=50px|width=250px|height=70px|titlefontsize=small|title=Download now!|subtitle=...using Bittorrent}}</noinclude>
{{Download_button|link=http://www.google.fr|image=download.svg|imagewidth=50px|width=250px|height=70px|titlefontsize=small|title=Download now!|subtitle=...using BitTorrent}}</noinclude>

Revision as of 04:55, 23 May 2014

Documentation

  • width (default 300px): Width of the button
  • height (default 70px): Height of the button
  • image (default download.svg): Name of the image
  • imagewidth (default 50px): Width of the image
  • link: Button link
  • title: Text of the button
  • titlefontsize (default x-large): font size of the title
  • subtitle: Text of the text on the bottom of the button
  • subtitlefontsize (default x-large): font size of the subtitle
  • tooltip: button tooltip

Example

{{Download_button|link=http://www.google.fr|image=download.svg|imagewidth=50px|width=250px|height=70px|titlefontsize=small|title=Download now!|subtitle=...using BitTorrent}}