Template:Language with name/testcases
< Template:Language with name
Jump to navigation
Jump to search
Revision as of 12:49, 25 October 2014 by imported>DePiep (→ar)
| This is the template test cases page for the sandbox of Template:Language with name. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
- As of today, 21:36, 16 October 2014 (UTC) sandbox stack set:
de
{{lang-de|Bitte}}→ German: Bitte{{lang-de/sandbox|Bitte}}→ German: Bitte{{lang-de/sandbox|Bitte|sep=,}}→ German: Bitte{{lang-de/sandbox|Bitte|sep=}}→ German: Bitte{{lang-de/sandbox|Bitte|sep=|links=no}}→ German: Bitte{{lang-de/sandbox|Bitte|sep= (abc)}}→ German: Bitte{{lang-de/sandbox|Bitte|name=no}}→ German: Bitte{{lang-de/sandbox|Bitte|name=no|sep=xxx}}→ German: Bitte{{lang-de/sandbox|Bitte|sep==}}→ German: Bitte
ar
{{lang-ar|بغداد}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|sep=,}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|sep=}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|sep=|links=no}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|sep= (abc)}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|name=no}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|name=no|sep=xxx}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|sep==}}→ Arabic: بغداد
ru
{{lang-ru|Чернобыль}}→ Russian: Чернобыль{{lang-ru/sandbox|Чернобыль}}→ Russian: Чернобыль{{lang-ru/sandbox|Чернобыль|sep=,}}→ Russian: Чернобыль{{lang-ru/sandbox|Чернобыль|sep=}}→ Russian: Чернобыль{{lang-ru/sandbox|Чернобыль|sep=|links=no}}→ Russian: Чернобыль{{lang-ru/sandbox|Чернобыль|sep= (abc)}}→ Russian: Чернобыль{{lang-ru/sandbox|Чернобыль|name=no}}→ Russian: Чернобыль{{lang-ru/sandbox|Чернобыль|name=no|sep=xxx}}→ Russian: Чернобыль{{lang-ru/sandbox|Чернобыль|sep==}}→ Russian: Чернобыль
he
- Note: {{lang-he}} today does not use the metatemplate. The sandbox does.
{{lang-he|חומת ההפרדה}}→ Hebrew: חומת ההפרדה{{lang-he/sandbox|חומת ההפרדה}}→ Hebrew: חומת ההפרדה1234{{lang-he/sandbox|חומת ההפרדה|sep=,}}→ Hebrew: חומת ההפרדה1234{{lang-he/sandbox|חומת ההפרדה|sep=}}→ Hebrew: חומת ההפרדה1234{{lang-he/sandbox|חומת ההפרדה|sep=|links=no}}→ Hebrew: חומת ההפרדה1234{{lang-he/sandbox|חומת ההפרדה|sep= (abc)}}→ Hebrew: חומת ההפרדה{{lang-he/sandbox|חומת ההפרדה|name=no}}→ Hebrew: חומת ההפרדה1234{{lang-he/sandbox|חומת ההפרדה|name=no|sep=xxx}}→ Hebrew: חומת ההפרדה1234{{lang-he/sandbox|חומת ההפרדה|sep==}}→ Hebrew: חומת ההפרדה1234
RTL borders (ar)
Punctuation tests
- Lang-ar (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) (Baghdad: ar> Arabic: بغداد <)
- NEUTRAL Other neutral [ON]: @, _, !,
- NEUTRAL whitespace (bidi-defined): REgular space: > <, NBSP: > <, HTML named: > <,
- WEAK Eur Number Terminator [ET]: %, $
- WEAK Eur number [EN] WEAK: 0, 1, 9
- STRONG L-to-R: A, Z
- STRONG R-to-L: alef: Template:Script bet: Template:Script gimel: Template:Script
- plain & open ltr-he-rtl: >אבגTemplate:Rtl<
- EXPLICIT: (todo)
| L | Left-to-Right | Strong | L-to-R | Latin alphabet, LRM character, ... | Template:Unichar |
| R | Right-to-Left | Strong | R-to-L | Arabic, Hebrew alphabets, RLM character | Template:Unichar |
- in code (check)
- "!"is added before; "?" after (outside template). |$بغداد@}}
- 1801, 1899
- "$"is added before; "@" after (inside template).
- 1901, 1999 (to check)_
{{lang-ar/sandbox|بغداد|sep=}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|sep=links=no}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|sep= (abc)}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|name=no}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|name=no|sep=xxx}}→ Arabic: بغداد{{lang-ar/sandbox|بغداد|sep==}}→ Arabic: بغداد
Bidirectional character type (Unicode character property Bidi_Class)Template:Ref label
| TypeTemplate:Ref label | Description | Strength | Directionality | General scope | Bidi_Control characterTemplate:Ref label |
|---|---|---|---|---|---|
| L | Left-to-Right | Strong | L-to-R | Most alphabetic and syllabic characters, Chinese characters, non-European or non-Arabic digits, LRM character, ... | U+200E LEFT-TO-RIGHT MARK (LRM) |
| R | Right-to-Left | Strong | R-to-L | Adlam, Hebrew, Mandaic, Mende Kikakui, N'Ko, Samaritan, ancient scripts like Kharoshthi and Nabataean, RLM character, ... | U+200F RIGHT-TO-LEFT MARK (RLM) |
| AL | Arabic Letter | Strong | R-to-L | Arabic, Hanifi Rohingya, Sogdian, Syriac, and Thaana alphabets, and most punctuation specific to those scripts, ALM character, ... | U+061C ARABIC LETTER MARK (ALM) |
| EN | European Number | Weak | European digits, Eastern Arabic-Indic digits, Coptic epact numbers, ... | ||
| ES | European Separator | Weak | Template:Smallcaps, Template:Smallcaps, ... | ||
| ET | European Number Terminator | Weak | Template:Smallcaps, currency symbols, ... | ||
| AN | Arabic Number | Weak | Arabic-Indic digits, Arabic decimal and thousands separators, Rumi digits, Hanifi Rohingya digits, ... | ||
| CS | Common Number Separator | Weak | Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, ... | ||
| NSM | Nonspacing Mark | Weak | Characters in General Categories Mark, nonspacing, and Mark, enclosing (Mn, Me) | ||
| BN | Boundary Neutral | Weak | Default ignorables, non-characters, control characters other than those explicitly given other types | ||
| B | Paragraph Separator | Neutral | Template:Smallcaps, appropriate Newline Functions, higher-level protocol paragraph determination | ||
| S | Segment Separator | Neutral | Tabs | ||
| WS | Whitespace | Neutral | Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, General Punctuation block spaces (smaller set than the Unicode whitespace list) | ||
| ON | Other Neutrals | Neutral | All other characters, including Template:Smallcaps | ||
| LRE | Left-to-Right Embedding | Explicit | L-to-R | LRE character only | U+202A LEFT-TO-RIGHT EMBEDDING (LRE) |
| LRO | Left-to-Right Override | Explicit | L-to-R | LRO character only | U+202D LEFT-TO-RIGHT OVERRIDE (LRO) |
| RLE | Right-to-Left Embedding | Explicit | R-to-L | RLE character only | U+202B RIGHT-TO-LEFT EMBEDDING (RLE) |
| RLO | Right-to-Left Override | Explicit | R-to-L | RLO character only | U+202E RIGHT-TO-LEFT OVERRIDE (RLO) |
| Pop Directional Format | Explicit | PDF character only | U+202C POP DIRECTIONAL FORMATTING (PDF) | ||
| LRI | Left-to-Right Isolate | Explicit | L-to-R | LRI character only | U+2066 LEFT-TO-RIGHT ISOLATE (LRI) |
| RLI | Right-to-Left Isolate | Explicit | R-to-L | RLI character only | U+2067 RIGHT-TO-LEFT ISOLATE (RLI) |
| FSI | First Strong Isolate | Explicit | FSI character only | U+2068 FIRST STRONG ISOLATE (FSI) | |
| PDI | Pop Directional Isolate | Explicit | PDI character only | U+2069 POP DIRECTIONAL ISOLATE (PDI) | |
Notes
| |||||
rtl he
Lang-he (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
- Alef - Bet - Gimel
- alef: Template:Script bet: Template:Script gimel: Template:Script
- Template:ScriptTemplate:ScriptTemplate:Script
- ← Template:Ns(reading ABC rtl = OK)
arabic alphabet
- Arabic_alphabet#Abjad.C4.AB:
- ج AZ ب AZ ا
- جبا
| غ | ظ | ض | ذ | خ | ث | ت | ش | ر | ق | ص | ف | ع | س | ن | م | ل | ك | ي | ط | ح | ز | و | ه | د | ج | ب | ا |
| Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl | Template:Transl |
| 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 | 07 | 06 | 05 | 04 | 03 | 02 | 01 |