Template:Icon

    From Nonbinary Wiki

    Template documentation[view] [edit] [history] [purge]
    VisualEditor - Icon - Advanced - white.svg This is a documentation subpage for Template:Icon.
    It contains usage information, categories and other content that is not part of the original page.
    Wikipedia logo This template uses material from the Wikipedia template Template:Icon/doc, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors).

    About[edit source]

    This template creates an inline image that is used in metapages such as Wikipedia:Vital articles and/or in user pages.

    Usage[edit source]

    Basic usage
    {{icon|code}}
    {{icon|class=code}}
    Custom size
    {{icon|code|size=size}}

    Parameters[edit source]

    • 1 or class - the icon code. See the table below for a list of available codes.
    • size - a custom icon size, e.g. "30px". The default size is "16x16px" (16 by 16 pixels).

    Icon codes[edit source]

    Icon Description Code Aliases
    A-Class article {{icon|a}}
    Audited article of limited subject matter {{icon|aa}}
    A-Class article candidate {{icon|acc}} aac, acn
    Administrator {{icon|admin}} mop
    Black alert {{icon|alert}}
    Black, white, and red alert {{icon|alert-blackred}}
    Green alert {{icon|alert-constructive}}
    Alert {{icon|alert-imagewarning}}
    B-Class article {{icon|b}}
    Original barnstar {{icon|barnstar}}
    Original barnstar hires {{icon|barnstar2}}