Jump to content

Template:Unichar2/doc

From Wikipedia, the free encyclopedia

Like {{Unichar}}, this template produces a formatted description of a Unicode character, to be used inline or otherwise with regular text.

Usage

[edit]

The unichar2 template takes a Unicode character as input.

  • The character {{unichar2|©}} is about intellectual property.
    The character U+00A9 © COPYRIGHT SIGN is about intellectual property.

Otherwise the template behaves the same as {{unichar}} (whose primary input is a Unicode codepoint). See TM:Unichar/doc for the other parameters.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Unichar2 in articles based on its TemplateData.

TemplateData for Unichar2

Template data

Formats a Unicode character description inline.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Character1

A single Unicode character

Example
Stringrequired
ulinkulink

Add link to the Unicode HEX code point

Example
Phonetic symbols in Unicode
Lineoptional
nlinknlink

Add link to the Unicode character name

Stringoptional
cwithcwith

(for combing characters only) add the following character before this combining character:

Suggested values
Example
Stringoptional
sizesize

Relative size of rendered character

Example
200%
Stringoptional
imageimage

no description

Unknownoptional
useuse

no description

Stringoptional
use2use2

no description

Stringoptional
HTML codehtml

When present, shows HTML named entity

Example
html= shows "©"
Stringoptional
notenote

no description

Lineoptional
aliasalias

no description

Suggested values
yes
Unknownoptional
namename

Hide the name of the character

Suggested values
none
Unknownoptional
suffixsuffix

no description

Unknownoptional