Template:Astral glyph/doc

From Yugipedia
Jump to: navigation, search

{{Astral glyph}} is used for converting text to a single Astral glyph.

Usage[edit]

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[edit]

Kana

Words

Numbers

Symbols

Size, color, link, alt text and hover text

  • {{Astral glyph|ka|x30px|color=silver|alt=alt|hover=hover|link=Main Page}} = alt
  • {{Astral glyph|ka|30px|color=|alt=|hover=|link=}} =

See also[edit]