Template:Arrow/doc

Revision as of 11:11, 28 June 2026 by Wikipedia>GhostInTheMachine (+ character templates cat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

__EXPECTED_UNCONNECTED_PAGE__

Usage

This template is used to create arrows pointing in the four cardinal directions, in various colour options. See the tables below for all currently-available values.

Plain arrows

Syntax: {{arrow}} or {{arrow|direction}}

Parameter 1 Output
r or right[lower-alpha 1] →
l or left ←
u or up ↑
d or down ↓
r-l or right-left ↔

Coloured arrows

Syntax: {{arrow|colour}} or {{arrow|colour|direction}}

Parameter 1 Parameter 2
right[lower-alpha 2] left up down
green → ← ↑ ↓
purple → ↓
grey → ← ↑ ↓
red → ← ↑ ↓
orange → ← ↑ ↓
blue → ← ↑ ↓
light_blue →
turquoise →
white[lower-alpha 3] ⬄

Accessible symbols

Wikipedia previously provided templates that generated images with alt text for symbols not read by screen readers.[1]

As of 2023,[2] the symbols in the table below will be read in the default configuration of all three major screen readers (JAWS, Apple's VoiceOver and NVDA).

Depending on user-configured verbosity settings, a reader may hear additional characters read aloud or fewer typographic or punctuation characters read aloud.[3]

Accessible symbols for tables
Symbol Pronounced as HTML entity Template name
* "star" or "asterisk" * {{asterisk}}
† "dagger" or "single dagger" † {{dagger}}
‡ "double dagger" ‡ {{double-dagger}}
# "number" or "hash tag" # {{number sign}} or {{hash-tag}}
° "degree" or "degrees" ° {{degree}}
→ "right arrow" or "rightwards arrow" → {{arrow}}
↓ "down arrow" or "downwards arrow" ↓ {{down-arrow}}
← "left arrow" or "leftwards arrow" ← {{left-arrow}}
↑ "up arrow" or "upwards arrow" ↑ {{up-arrow}}
′ "prime" ′ {{prime}}

Notes

  1. ↑ Bohman, Paul (20 January 2014). "Why Don't Screen Readers Always Read What's on the Screen? Part 1: Punctuation and Typographic Symbols".
  2. ↑ Ragas, Sophie (17 March 2023). "How screen readers read special characters: an update".
  3. ↑ AudioEye (14 September 2013). "How Screen Readers Make Digital Content Accessible".


See also

{{Arrow2}}, a variant which allows for diagonal arrows as well as optional sizing.



Cite error: <ref> tags exist for a group named "lower-alpha", but no corresponding <references group="lower-alpha"/> tag was found