Template:HEJI/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
{{dochead}}
{{dochead}}
The '''HEJI''' template is used to display text using the HEJI2Text font. If the font is not available on the client side, it is provided through [[MediaWiki:Common.css]].
=== Usage notes ===
=== Usage notes ===
This template accepts two unnamed arguments:
This template accepts two unnamed arguments:
Line 8: Line 10:
{{Escape notice}}
{{Escape notice}}
{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! U+2x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
! U+2x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
|- style="font-size: 200%;"
|- style="font-size: 200%;"
Line 16: Line 19:


{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! U+3x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
! U+3x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
|- style="font-size: 200%;"
|- style="font-size: 200%;"
Line 24: Line 28:


{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! U+4x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
! U+4x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
|- style="font-size: 200%;"
|- style="font-size: 200%;"
Line 32: Line 37:


{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! U+5x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
! U+5x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
|- style="font-size: 200%;"
|- style="font-size: 200%;"
| style="font-size: 50%;" | Type... || P || Q || R || S || T || U || V || W || X || Y || Z || [ || \ || ] || ^ || _
| style="font-size: 50%;" | Type... || P || Q || R || S || T || U || V || W || X || Y || Z || {{!(}} || \ || {{)!}} || ^ || _
|- style="font-size: 200%;"
|- style="font-size: 200%;"
| style="font-size: 50%;" | ... to get: || {{HEJI|P}} || {{HEJI|Q}} || {{HEJI|R}} || {{HEJI|S}} || {{HEJI|T}} || {{HEJI|U}} || {{HEJI|V}} || {{HEJI|W}} || {{HEJI|X}} || {{HEJI|Y}} || {{HEJI|Z}} || {{HEJI|[}} || {{HEJI|\}} || {{HEJI|]}} || {{HEJI|^}} || {{HEJI|_}}
| style="font-size: 50%;" | ... to get: || {{HEJI|P}} || {{HEJI|Q}} || {{HEJI|R}} || {{HEJI|S}} || {{HEJI|T}} || {{HEJI|U}} || {{HEJI|V}} || {{HEJI|W}} || {{HEJI|X}} || {{HEJI|Y}} || {{HEJI|Z}} || {{HEJI|{{!(}}}} || {{HEJI|\}} || {{HEJI|{{)!}}}} || {{HEJI|^}} || {{HEJI|_}}
|}
|}


Line 48: Line 54:


{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! U+7x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
! U+7x !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F
|- style="font-size: 200%;"
|- style="font-size: 200%;"
| style="font-size: 50%;" | Type... || p || q || r || s || t || u || v || w || x || y || z || { || {{!}} || } || ~ ||  
| style="font-size: 50%;" | Type... || p || q || r || s || t || u || v || w || x || y || z || {{(}} || {{!}} || {{)}} || ~ ||  
|- style="font-size: 200%;"
|- style="font-size: 200%;"
| style="font-size: 50%;" | ... to get: || {{HEJI|p}} || {{HEJI|q}} || {{HEJI|r}} || {{HEJI|s}} || {{HEJI|t}} || {{HEJI|u}} || {{HEJI|v}} || {{HEJI|w}} || {{HEJI|x}} || {{HEJI|y}} || {{HEJI|z}} || {{HEJI|{}} || {{HEJI|{{!}}}} || {{HEJI|}<nowiki></nowiki>}} || {{HEJI|~}} ||  
| style="font-size: 50%;" | ... to get: || {{HEJI|p}} || {{HEJI|q}} || {{HEJI|r}} || {{HEJI|s}} || {{HEJI|t}} || {{HEJI|u}} || {{HEJI|v}} || {{HEJI|w}} || {{HEJI|x}} || {{HEJI|y}} || {{HEJI|z}} || {{HEJI|{{(}}}} || {{HEJI|{{!}}}} || {{HEJI|{{)}}}} || {{HEJI|~}} ||  
|}
|}


{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! Other !! U+B4 !! U+C0 !! U+C1 !! U+C8 !! U+C9 !! U+D6 !! U+DC !! U+E0 !! U+E1 !! U+E8 !! U+E9 !! U+EC !! U+ED !! U+F6 !! U+FC
! Other !! U+B4 !! U+C0 !! U+C1 !! U+C8 !! U+C9 !! U+D6 !! U+DC !! U+E0 !! U+E1 !! U+E8 !! U+E9 !! U+EC !! U+ED !! U+F6 !! U+FC
|- style="font-size: 200%;"
|- style="font-size: 200%;"

Latest revision as of 17:44, 30 January 2025

The HEJI template is used to display text using the HEJI2Text font. If the font is not available on the client side, it is provided through MediaWiki:Common.css.

Usage notes

This template accepts two unnamed arguments:

  1. Text to display using the HEJI2Text font.
  2. (optional) Font size, to be provided as a CSS font-size value; defaults to "100%".

Character mappings

Note: Pipe characters (|) must be escaped as {{!}} or {{pipe}}, equals signs must be escaped as {{=}} (this may apply to tags as well, e.g. <div style{{=}}"…">), and other special characters and character sequences may need to be escaped accordingly, except for ones inside <nowiki>, <pre>, <math>, and <syntaxhighlight> tags.

U+2x 0 1 2 3 4 5 6 7 8 9 A B C D E F
Type... ! " # $ % & ' ( ) * + , - . /
... to get: ! " # $ % & ' ( ) * + , - . /
U+3x 0 1 2 3 4 5 6 7 8 9 A B C D E F
Type... 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
... to get: 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
U+4x 0 1 2 3 4 5 6 7 8 9 A B C D E F
Type... @ A B C D E F G H I J K L M N O
... to get: @ A B C D E F G H I J K L M N O
U+5x 0 1 2 3 4 5 6 7 8 9 A B C D E F
Type... P Q R S T U V W X Y Z [ \ ] ^ _
... to get: P Q R S T U V W X Y Z [ \ ] ^ _
U+6x 0 1 2 3 4 5 6 7 8 9 A B C D E F
Type... ` a b c d e f g h i j k l m n o
... to get: ` a b c d e f g h i j k l m n o
U+7x 0 1 2 3 4 5 6 7 8 9 A B C D E F
Type... p q r s t u v w x y z { } ~
... to get: p q r s t u v w x y z { } ~
Other U+B4 U+C0 U+C1 U+C8 U+C9 U+D6 U+DC U+E0 U+E1 U+E8 U+E9 U+EC U+ED U+F6 U+FC
Type... ´ À Á È É Ö Ü à á è é ì í ö ü
... to get: ´ À Á È É Ö Ü à á è é ì í ö ü

See also