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"
Line 1: Line 1:
[[File:VLC - icon.png]]<noinclude>
<!--
-->{{#switch:{{{1}}}<!--
  -->|large    = [[File:LargeVLC.png|300px]]<!--
  -->|icon<!--
  -->|#default = [[File:VLC - icon.png]]<!--
-->}}<noinclude>
== Usage ==
{{{{PAGENAME}}<nowiki>}}</nowiki>
{{{{PAGENAME}}<nowiki>|keyword}}</nowiki>
Keywords available:
* '''<code>large</code>''' for 300 x 300 pixels
* '''<code>icon</code>''' for an icon size (currently 22 x 22 pixels, but that might change)
If no keywords are given, defaults to '''<code>icon</code>'''.


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

Revision as of 03:11, 23 March 2019

Usage

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

Keywords available:

  • large for 300 x 300 pixels
  • icon for an icon size (currently 22 x 22 pixels, but that might change)

If no keywords are given, defaults to icon.