Author: gangleri
Description:
original / first URL:
http://yi.wiktionary.org/w/index.php?title=template:sample&action=edit
Hallo!
Sorry for this title!
What is this bug report about?:
Many of you may have tried to edit BiDi text (text where LTR and RTL characters
are mixed together). You must be very patient and exercise a lot to understand
how wiki source text looks like, about the "amaising" "WHAT YOU TYPE IS WHAT YOU
GET" etc. etc.
To keep it simple:
normal LTR syntax is like
{{tempaltename|NAMED_PARAMETER=foo|3=bar|this is the value of parameter
1|TRANSFER_PARAMETER={{{TRANSFER_PARAMETER}}}|continued|with|other|parameters|...}}
At the mentioned URL this syntax would look like
{{tempaltename
| NAMED_PARAMETER=foo |
| 3=bar |
| this is the value of parameter 1 |
| TRANSFER_PARAMETER={{{TRANSFER_PARAMETER}}} |
| continued |
| with |
| other |
| parameters |
| ...}} |
It does not make much sense except that
a) it might be easier to read
b) it allows line by line edits which is much easier in a BiDi environment
In the mentioned URL you will see the lines
...
| IPA= | ||||||
| SAMPA= | ||||||
| VARIANTS= | ||||||
| SLANG= | ||||||
| SLANG_YIVO= | ||||||
| AR={{trad | ar | كلب | 3=<span dir="ltr" ></span>}} | |||
| BG={{trad | bg | куче | (kuče) {{n}}}}, {{trad | bg | пес | (pes) {{m}}}} |
| CS={{trad- | cs | pes | {{m}}}} | |||
| DA={{trad | da | hund | }} | |||
| DE={{trad | de | Hund | {{m}}}} | |||
| EL={{trad- | el | σκύλος | (skýlos) {{m}}}} | |||
| EN={{trad | en | dog | }} | |||
| EO={{trad | eo | hundo | }} | |||
| ES={{trad | es | perro | {{m}}}} | |||
| ET={{trad | et | koer | }} | |||
| FI={{trad | fi | koira | }} | |||
| FR={{trad | fr | chien | {{m}}}} | |||
| HE={{trad-- | he | כלב | 3=<span dir="ltr" >(kélev) {{m}}</span>}} | |||
| HU={{trad | hu | kutya | }}, {{trad | hu | eb | }} |
| IS={{trad | is | hundur | {{m}}}} | |||
| IT={{trad | it | cane | {{m}}}} | |||
| JA={{trad- | ja | 犬 | (いぬ, inú)}} | |||
| LA={{trad | la | canis | }} | |||
| LT={{trad-- | lt | ??? | }} | |||
| LV={{trad-- | lv | ??? | }} | |||
| NB={{trad | nb | hund | {{m}}}} | |||
| NL={{trad | nl | hond | {{m}}}} | |||
| NN={{trad- | nn | hund | {{m}}}} | |||
| PL={{trad-- | pl | ??? | }} | |||
| PT={{trad | pt | cão | {{m}}}}, {{trad- | pt | cadela | {{f}}}}, |
{{trad|pt|cachorro|{{m}}}}, {{trad-|pt|cachorra|{{f}}}}
| RO={{trad | ro | câine | (1990s orthography) {{m}}}}, {{trad- | ro | cîine | (1950s |
orthography) {{m}}}}
| RU={{trad | ru | собака | {{f}}}}, {{trad- | ru | пёс | (pjos) {{m}}}}, {{trad | ru | псина |
(psína) {{f}}}}
| SK={{trad-- | sk | ??? | }} | |||
| SL={{trad | sl | pes | {{m}}}}, {{trad- | sl | psica | {{f}}}} |
| SR={{trad- | sr | пас | (pas) {{m}}}} | |||
| SV={{trad | sv | hund | }} | |||
| TR={{trad | tr | köpek | }} | |||
| ZH={{trad | zh | 狗 | (gǒu)}}; {{trad | zh | 犬 | (quǎn)}} |
...
*benefits*
Contributors can add translations line by line. In the sample template to be
used with <inputbox> the lines for RTL languages are
| AR={{trad-- | ar | ARABIC | 3=<span dir="ltr" >(LATIN)</span>}} |
| HE={{trad-- | he | HEBREW | 3=<span dir="ltr" >(LATIN)</span>}} |
*requirement*
Please do not break this (?) not documented freature (?) when modifying template
syntax / when changing the code. Thanks in advance !!!
best regards reinhardt [[user:gangleri]]
Version: unspecified
Severity: enhancement
URL: http://yi.wiktionary.org/w/index.php?title=%D7%94%D7%95%D7%A0%D7%98&action=edit