Difference between revisions of "Template:Icon"

From PCSX2 Wiki
Jump to navigation Jump to search
(courtesy Wikipedia)
 
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.svg              {{!}} Featured article
 
  |ga            = Symbol support vote.svg                {{!}} Good article
 
  |ga            = Symbol support vote.svg                {{!}} Good article
Line 18: Line 18:
 
  |q|question    = Symbol question.svg                    {{!}} Question
 
  |q|question    = Symbol question.svg                    {{!}} Question
 
  |#default      = Symbol question.svg
 
  |#default      = Symbol question.svg
}}|{{{size|16x16px}}}|link=]]<noinclude>
+
}}|{{{size|16x16px}}}|link=]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:13, 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.