KokoroSenshi (talk | contribs) m (Reduced use of variables) |
KokoroSenshi (talk | contribs) m (clarified note in comment from previous edit) |
||
Line 5: | Line 5: | ||
-->{{#vardefine:len|{{#len:{{{1|}}}}}}}<!-- |
-->{{#vardefine:len|{{#len:{{{1|}}}}}}}<!-- |
||
− | -->{{#ifexpr: {{#var:len}} >= 1 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|1 }}|{{{2|20}}}}} <!-- Note: |
+ | -->{{#ifexpr: {{#var:len}} >= 1 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|1 }}|{{{2|20}}}}} <!-- Note: |
− | -->{{#ifexpr: {{#var:len}} >= 2 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|2 }}|{{{2|20}}}}} <!-- |
+ | -->{{#ifexpr: {{#var:len}} >= 2 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|2 }}|{{{2|20}}}}} <!-- The spaces before these |
− | -->{{#ifexpr: {{#var:len}} >= 3 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|3 }}|{{{2|20}}}}} <!-- |
+ | -->{{#ifexpr: {{#var:len}} >= 3 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|3 }}|{{{2|20}}}}} <!-- comments are for the spacing |
− | -->{{#ifexpr: {{#var:len}} >= 4 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|4 }}|{{{2|20}}}}} <!-- |
+ | -->{{#ifexpr: {{#var:len}} >= 4 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|4 }}|{{{2|20}}}}} <!-- between characters |
-->{{#ifexpr: {{#var:len}} >= 5 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|5 }}|{{{2|20}}}}} <!-- |
-->{{#ifexpr: {{#var:len}} >= 5 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|5 }}|{{{2|20}}}}} <!-- |
||
-->{{#ifexpr: {{#var:len}} >= 6 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|6 }}|{{{2|20}}}}} <!-- |
-->{{#ifexpr: {{#var:len}} >= 6 | {{HylianALBW/Letter|{{Pick|{{{1|}}}|6 }}|{{{2|20}}}}} <!-- |
Revision as of 14:15, 5 August 2017
Purpose
This template converts words to the Hylian script used in A Link Between Worlds. It supports words up to sixteen characters long.
For simplicity, this template uses a subpage to convert each letter. The template code would be unmanageable otherwise.
Usage
To use this template, type: {{HylianALBW|Word |Size (Optional) }}
- Word — The word you wish to convert into Hylian. May be up to 16 characters long.
- Size — Use this if you wish to define the size of each letter in the word, in pixels. Defaults to 20 pixels.
Examples
- {{HylianALBW|Link}}
- {{HylianALBW|Ravio}}
- {{HylianALBW|Lorule}}