Template:Astral glyph/doc
This is a documentation subpage for Template:Astral glyph. It contains usage information, categories and other content that is not part of the original template page. |
{{Astral glyph}}
is used for converting text to a single Astral glyph.
Usage
The first unnamed parameter is the name of the glyph. This can be a Japanese kana or its Hepburn romanization, a number, a symbol, an Attribute, the word "Number" or "Number C". For straight single and double quotation marks, it is necessary to add the text "(open)" or "(close)" to the end to specify whether it is an opening or closing quotation mark. This is the only mandatory parameter.
The second unnamed parameter is the size of the glyph in pixels. To set a height, rather than a width place an "x" before the number. By default, this is 25.
The color parameter sets the color of the glyph. By default this is black. The only other option is silver.
The alt parameter sets the alt text. By default, this is the first unnamed parameter without its bracketed text. This can be set to blank for no alt text.
The hover parameter sets the hover text. By default, this is the first unnamed parameter without its bracketed text. This can be set to blank for no hover text.
The link parameter specifies what page the glyph is to link to. By default, this links to the image's file page. This can be set to blank to remove the link.
Examples
Kana
{{Astral glyph|ka}}
={{Astral glyph|か}}
={{Astral glyph|カ}}
={{Astral glyph|zu}}
={{Astral glyph|du}}
={{Astral glyph|zu (du)}}
=
Words
{{Astral glyph|Number}}
={{Astral glyph|Number C}}
={{Astral glyph|Light}}
=
Numbers
{{Astral glyph|3}}
={{Astral glyph|3}}
=
Symbols
{{Astral glyph|・}}
={{Astral glyph|·}}
={{Astral glyph|space}}
={{Astral glyph|" (open)}}
={{Astral glyph|“}}
=
Size, color, link, alt text and hover text
{{Astral glyph|ka|x30px|color=silver|alt=alt|hover=hover|link=Main Page}}
={{Astral glyph|ka|30px|color=|alt=|hover=|link=}}
=