Template:Sym: Difference between revisions
Template page
More actions
Created page with "<noinclude>{{Being deleted|2025 January 11|Template:Sym|merge=Template:Symbol}}</noinclude>{{#if:{{{2|}}} | {{error|{{tlx|sym}}: Takes only one positional parameter: second is "{{{2}}}"}} | {{#ifeq:{{{1|a}}}|{{{1|b}}} | File:{{#switch:{{lc:{{{1}}}}} |pass|good|g|ga|good article|yes|y|ok|k|+|aye = Symbol support vote.svg {{!}} {{{alt|Good}}} |check|done|tick = Yes check.svg..." |
(No difference)
|
Latest revision as of 20:20, 15 February 2025
Inserts a small, commonly used symbol into the text with suitable ALT text.
Usage
Normal usage:
{{Sym|symbol-type}}
symbol-type: Required. See examples below for possible values.
With custom alt text:
{{Sym|symbol-type|alt=Alt Text}}
alt: Optional. Changes the alt/hover text of the icon
Examples
Values | Output |
---|---|
pass, good, g, ga, good article, yes, y, ok, k, +, aye | Good |
check, done, tick | |
not done, cross, x | |
thanks, smile, smiley, thank you, s | Smile! |
fail, bad, no, n, -, nk, nay | Fail |
dunno, ?, ??, ???, idk, question | |
wtf | ??? |
hold, on hold, wait | |
comment, c | Comment |
info, i, note | Note |
neu, neutral, und, equal | Neutral |
love, heart, wikilove | Love |
gac, ga candidate, good article candidate | Good article candidate |
fa, featured article | Featured article |
fac, featured article candidate | Featured article candidate |
{{Sym|good|alt=Great!}} |
Great! |
(empty) | [[File:{{sym}} : Unknown first parameter | 16px]]
|
(missing) | {{sym}} : Requires one parameter (none supplied)
|
(unrecognized) | [[File:{{sym}} : Unknown first parameter | 16px]]
|
See also
- Template:Symbol – custom small symbols