Difference between revisions of "Template:Download button"

From Kiwix
Jump to navigation Jump to search
Line 8: Line 8:
* '''title''': Text of the button
* '''title''': Text of the button
* '''titlefontsize''' (default xx-large): font size of the title
* '''titlefontsize''' (default xx-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


== 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=30px|title=Download now!}}
{{Download_button|link=http://www.google.fr|image=download.svg|imagewidth=50px|width=250px|height=70px|titlefontsize=30px|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=30px|title=Download now!}}</noinclude>
{{Download_button|link=http://www.google.fr|image=download.svg|imagewidth=50px|width=250px|height=70px|titlefontsize=30px|title=Download now!|subtitle=...using Bittorrent}}</noinclude>

Revision as of 13:48, 22 February 2013

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 xx-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

Example

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