Template:Icon

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search

This template displays and formats one of several icons followed by optional text. You can use this template for voting in strawpolls, indicating the status of something, or practically anything else where you want to use a commonly recognized icon in a discussion, infobox, or within another template.

Usage instructions[edit]

Remember to subst: the template - it won't work if not subst:ed

Basic usage:

  • {{subst:Icon|option}} places an image and some bolded text, according to the tables below
  • {{subst:Icon|option|your text}} replaces the standard bolded text with the supplied your text

If your text includes an equals sign ("=") use this form:

  • {{subst:Icon|icon=option|text=your text}}

If your text includes a verical pipe symbol ("|"), you may need to use the "{{!}}" template in place of the pipe symbol.

see-comment, see-note, and see-tip each accept a recommended element named "see" that links to additional information. For example:

  • {{subst:Icon|icon=see-note|see=below}}

Would produce:

If you do not wish your words to be bolded, add |bold=n. Repeating the previous example:

  • {{subst:Icon|icon=see-note|see=below|bold=n}}

Would produce:

You can choose not to have any text appear. Simply leave the |text= empty and turn off bolding, like this:

  • {{subst:Icon|option|text=|bold=n}}
  • {{subst:Icon|icon=option|text=|bold=n}}

If you are using this template within another template or a table, you might want to prevent line breaks within the text. This feature should not be used in a normal discussion. It should be limited to use only where it is absolutely necessary to keep the icon and all of the text together unbroken on a single line. To do so, add |wrap=n.


Options and examples[edit]

Logic icons[edit]

no X mark.svg No
no-t Orange x.svg Tentatively No
yes Yes check.svg Yes
yes-t Yellow check.svg Tentatively Yes

Status icons[edit]

approved Symbol support2 vote.svg Approved
confirmed Symbol confirmed.svg Confirmed
declined Symbol declined.svg Declined
deferred Symbol deferred.svg Deferred
doing Symbol wait.svg Doing
done Yes check.svg Done
kept Symbol kept vote.svg Kept
notdone X mark.svg Not Done
onhold Time2wait.svg On Hold
outdated Ambox outdated content.svg Outdated
overdue Symbol wait alternative.svg Overdue
pending Modern clock chris kemps 01.svg Pending

Voting icons[edit]

abstain Symbol abstain vote.svg Abstain
comment Symbol comment vote.svg Comment
delete Symbol delete vote.svg Delete
keep Symbol keep vote.svg Keep
neutral Symbol neutral vote.svg Neutral
nosupport Symbol no support vote.svg No Support
oppose Symbol oppose vote.svg Oppose
partial Symbol partial support vote.svg Partial Support
support Symbol support vote.svg Support
strongoppose Symbol oppose vote.svgSymbol oppose vote.svg Strong Oppose
strongsupport Symbol support vote.svgSymbol support vote.svg Strong Support
unsupport Symbol unsupport2 vote.svg Unsupport
remove Symbol unrelated.svg Remove
wait Symbol wait.svg Wait

Action icons[edit]

cleanup Broom icon.svg Cleanup
demerge Symbol demerge vote.svg Demerge
desplit Symbol desplit vote.svg Desplit
divide Symbol divide vote.svg Divide
lock Locked.svg Lock
merge Symbol merge vote.svg Merge
move Symbol move vote.svg Move
recycle Symbol recycling vote.svg Recycle
redirect Symbol redirect vote2.svg Redirect
rename Symbol rename vote.svg Rename
split Symbol split vote.svg Split
transwiki Symbol redirect vote.svg Transwiki
unlock Unlocked.svg Unlock

Comment icons[edit]

comments Symbol dot dot dot.svg Comments
fyi Pictogram voting info.svg FYI
hold Symbol wait vote.svg Hold On
idea Human-dialog-info.svg Idea
info Symbol information vote.svg Info
information Information icon.svg Info
listen Icon blue waves.png Listen
love Symbol heart vote.svg Love It
note Quill-Nuvola.svg Note
opinion Symbol opinion vote.svg Opinion
possible Symbol possible vote.svg Possible
question Symbol question.svg Question
reply Symbol reply.svg Reply
response Pictogram reply.svg Response
see-comment Symbol dot dot dot.svg See comment
see-note Quill-Nuvola.svg See note
see-tip Dialog-information on.svg See tip
star Crystal Clear action bookmark.svg Excellent
tip Dialog-information on.svg Tip
wtf Symbol wtf vote.svg WTF?

Emoticons[edit]

agree Smiley.svg Agree
cool Emblem-cool.svg Cool
disagree Frowny.svg Disagree
hate Emblem-very-evil.svg Hate It
yea 718smiley.svg Awesome

Alerts[edit]

caution Stop hand orange.svg Caution
error Stop cross.svg Error
fix W21-1a.svg Fix
stop Stop hand.svg Stop
warning Nuvola apps important.svg Warning
warn-1 Ambox warning blue.svg 1st Warning
warn-2 Ambox warning orange.svg 2nd Warning
warn-3 Ambox warning pn.svg 3rd Warning
warn-f Ambox warning pn.svg Final Warning

Temperature or Activity[edit]

decrease Temperature down.svg Decreasing
increase Temperature up.svg Increasing
static Temperature equal.svg Static

Progress[edit]

start Icon 33 percent.png Started
half Icon 66 percent.png Halfway
finish Icon 100 percent.png Finished
dot1 1o5dots.svg 1/5
dot2 2o5dots.svg 2/5
dot3 3o5dots.svg 3/5
dot4 4o5dots.svg 4/5
dot5 5o5dots.svg 5/5
0% Star-.svg 0%
25% Star¼.svg 25%
50% Star½.svg 50%
75% Star¾.svg 75%
100% Star*.svg 100%
0000 Progress-0000.svg 0%
0125 Progress-0125.svg 12.5%
0250 Progress-0250.svg 25%
0333 Progress-0375.svg 33.3%
0375 Progress-0375.svg 37.5%
0500 Progress-0500.svg 50%
0625 Progress-0625.svg 62.5%
0667 Progress-0625.svg 66.7%
0750 Progress-0750.svg 75%
0875 Progress-0875.svg 87.5%
1000 Progress-1000.svg 100%

Colored text boxes[edit]

yes-box
sortof-box
yesno-box
maybe-box
no-box

Default if nothing is recognized[edit]

default Pictogram voting question.svg Unknown


Information icon.svg This template employs some extremely complicated or intricate features of template syntax.
Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.