Difference between revisions of "Template:VLC icon"

From VideoLAN Wiki
Jump to navigation Jump to search
(New feature: recognition of size keywords. Currently only "large" or "icon")
m (Demonstrate sizes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<!--
 
<!--
 
-->{{#switch:{{{1}}}<!--
 
-->{{#switch:{{{1}}}<!--
   -->|large   = [[File:LargeVLC.png|300px]]<!--
+
  -->|full      = [[File:LargeVLC.png|300px]]<!--
 +
   -->|large     = [[File:LargeVLC.png|192px]]<!--
 +
  -->|medium    = [[File:LargeVLC.png|128px]]<!--
 +
  -->|small      = [[File:LargeVLC.png|64px]]<!--
 +
  -->|large icon = [[File:LargeVLC.png|22px]]<!--
 
   -->|icon<!--
 
   -->|icon<!--
   -->|#default = [[File:VLC - icon.png]]<!--
+
   -->|#default   = [[File:LargeVLC.png|16px]]<!--
 
-->}}<noinclude>
 
-->}}<noinclude>
 
== Usage ==
 
== Usage ==
Line 9: Line 13:
 
  {{{{PAGENAME}}<nowiki>|keyword}}</nowiki>
 
  {{{{PAGENAME}}<nowiki>|keyword}}</nowiki>
 
Keywords available:
 
Keywords available:
* '''<code>large</code>''' for 300 x 300 pixels
+
* '''<code>full</code>''' for 300 x 300 pixels
* '''<code>icon</code>''' for an icon size (currently 22 x 22 pixels, but that might change)
+
* '''<code>large</code>''' for 192 x 192 pixels
If no keywords are given, defaults to '''<code>icon</code>'''.
+
* '''<code>medium</code>''' for 128 x 128 pixels
 +
* '''<code>small</code>''' for 64 x 64 pixels
 +
* '''<code>large icon</code>''' for 22 x 22 pixels
 +
* '''<code>icon</code>''' for 16 x 16 pixels (default and actual size in many cases)
  
 +
All keywords, in order:
 +
 +
{{{{PAGENAME}}|full}}
 +
{{{{PAGENAME}}|large}}
 +
{{{{PAGENAME}}|medium}}
 +
{{{{PAGENAME}}|small}}
 +
{{{{PAGENAME}}|large icon}}
 +
{{{{PAGENAME}}|icon}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:25, 23 March 2019

LargeVLC.png

Usage

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

Keywords available:

  • full for 300 x 300 pixels
  • large for 192 x 192 pixels
  • medium for 128 x 128 pixels
  • small for 64 x 64 pixels
  • large icon for 22 x 22 pixels
  • icon for 16 x 16 pixels (default and actual size in many cases)

All keywords, in order:

LargeVLC.png LargeVLC.png LargeVLC.png LargeVLC.png LargeVLC.png LargeVLC.png