Purpose

edit

Link to Wiktionary with an identifiable icon, and in a way that allows linking to a specific part of a Wiktionary article.

Parameters

edit
  • 1: full wiktionary URL, may include #anchor
  • 2: text in link (i.e. word or phrase)

Example

edit

"{{Full-URL wiktionary link|https://en.wiktionary.org/wiki/downtime#Noun|downtime}}"

"downtime"

Example with context

edit

{{User:Jruderman/CrowdStruck_thanks}}

May your "downtime" always be the relaxing kind.
:(
Your device ran into a problem and needs to restart in a loop forever

Accessibility

edit

Blind

edit

This template does absolutely nothing for screen-reader users. It's intended to be used as "just a little extra hint" – anyone, sighted or not, could plausibly guess that the link goes to a definition even without the hint.

I might add an option for the icon to have alt text such as " (wiktionary)". But I'd only recommend its use if the hint is especially important and the link is especially relevant, because I wouldn't want to slow down screen-readers with irrelevant extras.

Low-vision or reading on a smartphone

edit

The icon is pretty small, but whatever, it's just a hint.

Alternatives

edit

If you want to be 100% clear to everyone, this template probably isn't the right answer, regardless of your audience's sensory abilities.

Instead, consider

Tone Type Example
Semi-encyclopedic[a] Full statement "Trucking" means .... Therefore, ...
Encyclopedic Noun phrase (specific) According to the definition of "hot sauce" on Wiktionary ...
Encyclopedic Noun phrase (slightly vague) I read the definition of "wand" and learned ...
Encyclopedic Words-as-words (more blue) The word uncle can mean ...
Encyclopedic[b] Words-as-words (less blue) The word "uncle" can mean ...
Semi-encyclopedic Verb phrase (informational) Wiktionary defines "footwork" as ...
Semi-encyclopedic Verb phrase (instructional) The word "downtime" can refer to either relaxation or outages (at least in American English; see Wiktionary).
Talk pages only Prepositional phrase The word "downtime" can refer to either relaxation or outages. Well, at least in American English.
Encyclopedic Parenthetical disambiguation See moonlight (Wiktionary).
Semi-encyclopedic Qualifier According to Wiktionary, a "mush room" is ...
Talk pages only Qualifier in aside A cantaloupe is a type of melon (at least according to Wiktionary).
Talk pages only Verb phrase (narrative) I looked up "cyber" and OMG, ...
Talk pages only Snide remark Are you sure that's a good source to cite in our paper? Wiktionary can be weird sometimes

I guess you could do any of these and use this template to show a pretty icon. It's up to you. I'm not your boss.

  1. ^ Avoid making an entire sentence a link if it will be lengthy
  2. ^ Avoid using italics to mark word-as-words in this case; consider using quote marks instead.

Counter-indications

edit

The use of position: relative makes it a little sketchy in paragraphs, especially at small font sizes and small line-spacing. It's fine for short, standalone lines of text, such as in infoboxes.

I wonder if there's some way to fix this.

Why did you make this?

edit

Why are you putting questions in headers? According to MOS you're not supposed to do that.

Anyway, to answer your question, I made it in order to have a joke in an award template explain itself

See also

edit