Template:VLC icon: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
New feature: recognition of size keywords. Currently only "large" or "icon"
16 x 16 pixels is now the default (actual size). The old 22 x 22 pixel size remains available under the keyword "large icon". Is this too small? Let me know.
Line 1: Line 1:
<!--
<!--
-->{{#switch:{{{1}}}<!--
-->{{#switch:{{{1}}}<!--
   -->|large   = [[File:LargeVLC.png|300px]]<!--
   -->|large     = [[File:LargeVLC.png|300px]]<!--
   -->|icon<!--
   -->|large icon = [[File:LargeVLC.png|22px]]<!--
   -->|#default = [[File:VLC - icon.png]]<!--
  -->|icon
   -->|#default   = [[File:LargeVLC.png|16px]]<!--
-->}}<noinclude>
-->}}<noinclude>
== Usage ==
== Usage ==
Line 10: Line 11:
Keywords available:
Keywords available:
* '''<code>large</code>''' for 300 x 300 pixels
* '''<code>large</code>''' for 300 x 300 pixels
* '''<code>icon</code>''' for an icon size (currently 22 x 22 pixels, but that might change)
* '''<code>large icon</code>''' for 22 x 22 pixels
If no keywords are given, defaults to '''<code>icon</code>'''.
* '''<code>icon</code>''' for 16 x 16 pixels (default and actual size in many cases)


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 04:01, 23 March 2019

Usage

{{VLC icon}}
{{VLC icon|keyword}}

Keywords available:

  • large for 300 x 300 pixels
  • large icon for 22 x 22 pixels
  • icon for 16 x 16 pixels (default and actual size in many cases)