| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| font:extras [2026/03/24 01:05] – wikarai | font:extras [2026/03/24 22:28] (current) – external edit A User Not Logged in |
|---|
| ===== Yivalese font wrappers ===== | ===== Yivalese font wrappers ===== |
| |
| Supported aliases: | ^ Family ^ Main tag ^ Synonyms ^ |
| * Ancient: <nowiki>{{yzitalic|text}}</nowiki>, <nowiki>{{yzold|text}}</nowiki>, <nowiki>{{yzancient|text}}</nowiki> | | Present / regular | <nowiki>{{yz|text}}</nowiki> | <nowiki>{{yzreg|text}}</nowiki>, <nowiki>{{yzregular|text}}</nowiki>, <nowiki>{{yznormal|text}}</nowiki> | |
| * Present: <nowiki>{{yz|text}}</nowiki>, <nowiki>{{yzreg|text}}</nowiki>, <nowiki>{{yzregular|text}}</nowiki>, <nowiki>{{yznormal|text}}</nowiki> | | Modern / future | <nowiki>{{yzbold|text}}</nowiki> | <nowiki>{{yzmodern|text}}</nowiki>, <nowiki>{{yzfuture|text}}</nowiki> | |
| * Modern: <nowiki>{{yzbold|text}}</nowiki>, <nowiki>{{yzmodern|text}}</nowiki>, <nowiki>{{yzfuture|text}}</nowiki> | | Ancient / old | <nowiki>{{yzitalic|text}}</nowiki> | <nowiki>{{yzold|text}}</nowiki>, <nowiki>{{yzancient|text}}</nowiki> | |
| |
| | Optional size is the third argument: ``tiny``, ``small``, ``normal``, ``big``, ``huge``. ``tiny`` is the legacy extra-small size; ``huge`` is the largest. |
| Optional size is the third argument: ``tiny``, ``small``, ``normal``, ``big``, ``huge``. | |
| |
| Examples: | Examples: |
| * <nowiki>{{yz|Dywlxn Ny}}</nowiki> -> {{yz|DxWr Ny}} | ^ Size ^ Example ^ |
| * <nowiki>{{yzregular|Dywlxn|big}}</nowiki> -> {{yzregular|Dywlxn|big}} | | Regular | <nowiki>{{yz|Dywlxn}}</nowiki> -> {{yz|Dywlxn}} | |
| * <nowiki>{{yzmodern|Dywlxn}}</nowiki> -> {{yzmodern|Dywlxn}} | | Big | <nowiki>{{yzregular|Dywlxn|big}}</nowiki> -> {{yzregular|Dywlxn|big}} | |
| * <nowiki>{{yzfuture|Dywlxn|huge}}</nowiki> -> {{yzfuture|Dywlxn|huge}} | | Modern | <nowiki>{{yzmodern|Dywlxn}}</nowiki> -> {{yzmodern|Dywlxn}} | |
| * <nowiki>{{yzancient|Dywlxn|small}}</nowiki> -> {{yzancient|Dywlxn|small}} | | Huge | <nowiki>{{yzfuture|Dywlxn|huge}}</nowiki> -> {{yzfuture|Dywlxn|huge}} | |
| | | Ancient / small | <nowiki>{{yzancient|Dywlxn|small}}</nowiki> -> {{yzancient|Dywlxn|small}} | |
| |
| ===== Ruby syntax ===== | ===== Ruby syntax ===== |
| |
| * Standard: <nowiki>{{ruby|DXWR|Suram}}</nowiki> -> {{ruby|Dywlxn|Suram}} | * Standard: <nowiki>{{ruby|Suram|Delimit}}</nowiki> -> {{ruby|Suram|Delimit}} |
| * Shorthand: <nowiki>%Dywlxn|Suram%</nowiki> -> %Dywlxn|Suram% | * Shorthand: <nowiki>%Suram|Delimit%</nowiki> -> %Suram|Delimit% |
| |
| ===== Auto ruby tables ===== | ===== Auto ruby tables ===== |
| |
| Use <nowiki>{{autoruby}}</nowiki> around a simple pipe table. The first column is the base text, the second column is the 1:1 reading, and the third column can stay as the gloss or meaning. | Use <nowiki>{{autoruby}}</nowiki> around a simple pipe table. The first column is the base text, the second column is the 1:1 reading, and the third column can stay as the gloss or meaning. |
| |
| <code>{{autoruby}} | |
| ^ base ^ reading ^ meaning ^ | |
| | El Mu | Me-here Worm-here | I am a worm | | |
| | Eli mwi | Me-hither Worm-hither | I want a worm | | |
| {{/autoruby}}</code> | |
| |
| {{autoruby}} | {{autoruby}} |
| * If a row has more base words than readings, the leftovers stay plain. | * If a row has more base words than readings, the leftovers stay plain. |
| * If a row has a header row with ``^`` cells, it stays a normal header row. | * If a row has a header row with ``^`` cells, it stays a normal header row. |
| | * <nowiki>{{autoruby}}</nowiki> keeps the base text in the page's normal font and only inserts ruby readings. |
| |