Difference between revisions of "Template:Icon"

From PCSX2 Wiki
Jump to navigation Jump to search
(courtesy Wikipedia)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[File:{{#switch:{{lc:{{{class|{{{1|}}}}}}}}
+
<includeonly>[[File:{{#switch:{{lc:{{{class|{{{1|}}}}}}}}
  |fa            = Featured article star.svg               {{!}} Featured article
+
  |fa            = Featured article star.png               {{!}} Featured article
  |ga            = Symbol support vote.svg                 {{!}} Good article
+
  |ga            = Symbol support vote.png                 {{!}} Good article
  |fp            = Cscr-featured.svg                      {{!}} Featured picture
+
  |fp            = Featured picture.png                    {{!}} Featured picture
  |fs            = Cscr-featured.svg                      {{!}} Featured sound
+
  |fs            = Featured sound.png                      {{!}} Featured sound
  |stub          = Symbol stub class.svg                   {{!}} Stub-Class article
+
  |stub          = Symbol stub class.png                   {{!}} Stub-Class article
  |list|comparison= Symbol list class.svg                   {{!}} List-Class article
+
  |list|comparison= Symbol list class.png                   {{!}} List-Class article
 
  |cat|categ
 
  |cat|categ
  |category      = Folder Hexagonal Icon.svg               {{!}} Category
+
  |category      = Folder Hexagonal Icon.png               {{!}} Category
 
  |dab|disamb
 
  |dab|disamb
 
  |disambig
 
  |disambig
  |disambiguation = Symbol dab class.svg                   {{!}} Disambiguation page
+
  |disambiguation = Symbol dab class.png                   {{!}} Disambiguation page
  |image|file    = Video-x-generic.svg                    {{!}} File
+
  |image|file    = File generic.png                        {{!}} File
 
  |red|redir
 
  |red|redir
  |redirect      = Symbol redirect vote2.svg              {{!}} Redirect
+
  |redirect      = Symbol redirect.png                    {{!}} Redirect
 
  |temp|templ
 
  |temp|templ
  |template      = Symbol template class.svg               {{!}} Template
+
  |template      = Symbol template class.png               {{!}} Template
  |q|question    = Symbol question.svg                     {{!}} Question
+
  |q|question    = Symbol question.png                     {{!}} Question
  |#default      = Symbol question.svg
+
  |#default      = Symbol question.png
}}|{{{size|16x16px}}}|link=]]<noinclude>
+
}}|{{{size|16x16px}}}|link=]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:33, 1 November 2014

Documentation ()

This template creates an inline icon sized image. Please refer to 'Template:Icon/doc' for the list of supported values.

The following icon codes are currently usable: fa - Featured article, ga - Good article, fp - Featured picture, fs - Featured sound, stub - Stub-Class article, list - List-Class article, cat (categ, category) - Category, dab (disamb, disambig, disambiguation) - Disambiguation page, image (file) - File, red (redir, redirect) - Redirect, temp (templ, template) - Template, q (question) - Question.