Template:Symbol/doc

This template is for inserting a very small image in line, used as an icon. It also accepts a variety of commonly-used stock options.

Template:Symbol/doc

Usage

This template is for inserting a very small image in line, used as an icon. It also accepts a variety of commonly-used stock options.

One advantage over using a [[File: ...]] tag directly is the automatic setting of the noviewer class, which disables the Media Viewer.

Syntax

{{symbol|filename or stock option|width|description|link=[yes/no]}}

Parameters

  • File name without "File:" (required), or built-in stock option code
  • Width in pixels, default 18
  • Description, appears on mouse over
  • |link=no, to make the symbol not link to the file description page. Note that this should only be disabled if the image is in the public domain per MOS:BLANKALT, as otherwise the link is legally required for attribution.

Examples

  • {{symbol|Segnale generico.svg}}
  • {{symbol|Segnale generico.svg|30}}
  • {{symbol|Segnale generico.svg||Attention}}Attention
  • {{symbol|Segnale generico.svg|30|Attention}}Attention
  • {{symbol|Segnale generico.svg|30|link=no}}
  • {{symbol|fac}}Featured article candidate
  • {{symbol|fac|30}}Featured article candidate
  • {{symbol|fac||Example hover text}}Example hover text
  • {{symbol|fac|30|Example hover text}}Example hover text

Stock options

These are the various stock options, along with their output. These are all case-insensitive; |1=g and |1=G both produce Good.

Stock options
Values Output
check, done, d, tick Done
maybe, partly done, pd, half done, yellow tick Partly done
not done, nd, cross, x Not Done
pass, good, g, ga, good article, yes, y, ok, k, +, aye Good
fail, bad, no, n, -, nk, nay Fail
dunno, ?, ??, ???, idk, question ?
comment, c Comment
neu, neutral, und, equal Neutral
hold, on hold, wait On Hold
wtf ???
love, heart, wikilove Love
info, i, note Note
thanks, smile, smiley, thank you, s Smile!
gac, ga candidate, good article candidate Good article candidate
fa, featured article Featured article
fac, featured article candidate Featured article candidate
pr, peer review Peer review

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Symbol in articles based on its TemplateData.

TemplateData for Symbol

A template to insert various symbols inline. There are built-in stock options, or you can use any freely-licensed image of your choosing.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
File title1

The title of the file without the prefix "File:" or "Image:", or one of the built-in stock options (see [[Template:Symbol/doc#Stock options]] for available choices)

Linerequired
Symbol size2

Width in pixels of the symbol (without '' px ''). Default is 18. Example: 30.

Numberoptional
Description of the symbolalt 3

Description of the symbol, which will appear when you move the mouse over the image. This also functions as the image's alt text

Lineoptional
Flag to deactivate the linklink

Fill in with "no" to disable the image link.

Booleanoptional

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.