Difference between revisions of "Template:CodeChart/doc"

From Terminals
Jump to: navigation, search
m (document title argument)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This template is used to create an ASCII 7-bit code chart linking characters that terminate a control sequence to an anchor on the current page (i.e. <code>a=#CUU</code>) and characters that prefix a control sequence to other pages (i.e. <code>esc=/ESC</code>) containing code charts describing the remaining characters of the sequence.  The arguments to the template describe the target links of characters in the code chart.  Use the following arguments:
+
This template is used to create an ASCII 7-bit code chart linking characters that terminate a control sequence to an anchor on the current page (i.e. <code>a=#CUU</code>) and characters that prefix a control sequence to other pages (i.e. <code>esc=/ESC</code>) containing code charts describing the remaining characters of the sequence.  An optional <code>title</code> argument provides a bold title across the top of the code chart.  The arguments to the template describe the target links of characters in the code chart.  Use the following arguments:
  
{| style="text-align: center;"
+
{| class="wikitable" style="text-align: center;"
 
! Argument (Character)
 
! Argument (Character)
 
|-
 
|-
Line 170: Line 170:
  
 
|}
 
|}
 +
|}
 +
 +
Additionally, the following synonyms can be used:
 +
 +
{| class="wikitable"
 +
! style="padding: 1ex;" | Synonym
 +
! style="padding: 1ex;" | Chracter
 +
! style="padding: 1ex;" | Description
 +
|-
 +
| style="text-align: center;" | FS
 +
| style="text-align: center;" | IS4
 +
| style="padding: 1ex;" | File Spearator
 +
|-
 +
| style="text-align: center;" | GS
 +
| style="text-align: center;" | IS3
 +
| style="padding: 1ex;" | Group Separator
 +
|-
 +
| style="text-align: center;" | RS
 +
| style="text-align: center;" | IS2
 +
| style="padding: 1ex;" | Record Separator
 +
|-
 +
| style="text-align: center;" | US
 +
| style="text-align: center;" | IS1
 +
| style="padding: 1ex;" | Unit Separator
 
|}
 
|}

Latest revision as of 05:05, 27 January 2013

This template is used to create an ASCII 7-bit code chart linking characters that terminate a control sequence to an anchor on the current page (i.e. a=#CUU) and characters that prefix a control sequence to other pages (i.e. esc=/ESC) containing code charts describing the remaining characters of the sequence. An optional title argument provides a bold title across the top of the code chart. The arguments to the template describe the target links of characters in the code chart. Use the following arguments:

Argument (Character)
0 1 2 3 4 5 6 7
0 nul (NUL) dle (DLE) sp (SP) zero (0) at (@) p (P) backquote (`) lowerp (p)
1 soh (SOH) dc1 (DC1) exclamation (!) one (1) a (A) q (Q) lowera (a) lowerq (q)
2 stx (STX) dc2 (DC2) quote (") two (2) b (B) r (R) lowerb (b) lowerr (r)
3 etx (ETX) dc3 (DC3) pound (#) three (3) c (C) s (S) lowerc (c) lowers (s)
4 eot (EOT) dc4 (DC4) dollar ($) four (4) d (D) t (T) lowerd (d) lowert (t)
5 enq (ENQ) naq (NAQ) percent (%) five (5) e (E) u (U) lowere (e) loweru (u)
6 ack (ACK) syn (SYN) amp (&) six (6) f (F) v (V) lowerf (f) lowerv (v)
7 bel (BEL) etb (ETB) apos (') seven (7) g (G) w (W) lowerg (g) lowerw (w)
8 bs (BS) can (CAN) openparen (() eight (8) h (H) x (X) lowerh (h) lowerx (x)
9 ht (HT) em (EM) closeparen ()) nine (9) i (I) y (Y) loweri (i) lowery (y)
10 lf (LF) sub (SUB) asterisk (*) colon (:) j (J) z (Z) lowerj (j) lowerz (z)
11 vt (VT) esc (ESC) plus (+) semicolon (;) k (K) openbracket ([) lowerk (k) openbrace ({)
12 ff (FF) is4 (IS4) comma (,) less (<) l (L) backslash (\) lowerl (l) pipe (|)
13 cr (CR) is3 (IS3) minus (-) equal (=) m (M) closebracket (]) lowerm (m) closebrace (})
14 so (SO) is2 (IS2) period (.) greater (>) n (N) caret (^) lowern (n) tilde (~)
15 si (SI) is1 (IS1) slash (/) question (?) o (O) underscore (_) lowero (o) del (DEL)

Additionally, the following synonyms can be used:

Synonym Chracter Description
FS IS4 File Spearator
GS IS3 Group Separator
RS IS2 Record Separator
US IS1 Unit Separator