Jump to content

Template:Phi/doc

From Wikipedia, the free encyclopedia

This template returns the Greek letter phi for use in mathematics. A call to this template will produce characters such as ๐œ™, ๐œ‘ (with |var=), or ๐›ท (with |uc=).

Wiki code Rendered result Compared to: which is produced by: Note
<math>\phi</math> This template is named after the LaTeX naming convention for "phi", which is opposite of the HTML convention.
{{phi}} ๐œ™ ϕ ''&varphi;''
{{phi|bold=true}} ๐“ ϕ '''''&varphi;'''''
{{phi|noitalic=true}} ϕ ϕ &varphi;
{{phi|noitalic=true|bold=true}} ๐›Ÿ ϕ '''&varphi;'''
<math>\varphi</math>
{{phi|var=true}} ๐œ‘ φ ''&phi;''
{{phi|var=true|bold=true}} ๐‹ φ '''''&phi;'''''
{{phi|var=true|noitalic=true}} φ φ &phi;
{{phi|var=true|noitalic=true|bold=true}} ๐›— φ '''&phi;'''
<math>\Phi</math>
{{phi|uc=true}} ๐›ท Φ ''&Phi;''
{{phi|uc=true|bold=true}} ๐œฑ Φ '''''&Phi;'''''
{{phi|uc=true|noitalic=true}} Φ Φ &Phi;
{{phi|uc=true|var=true}} ๐œ‘ Because var=true is set, the parameter uc=true is ignored.
{{phi|uc=true|var=true|bold=true}} ๐‹ Because var=true is set, the parameter uc=true is ignored.
{{phi|uc=true|var=true|noitalic=true}} φ Because var=true is set, the parameter uc=true is ignored.
{{phi|uc=true|var=true|noitalic=true|bold=true}} ๐›— Because var=true is set, the parameter uc=true is ignored.

TemplateData

[edit]

This template displays the Greek letter phi for use in mathematical equations.

Template parameters

ParameterDescriptionTypeStatus
Uppercaseuc uppercase

Whether or not the character displayed is uppercase.

Auto value
0
Booleanoptional
No italicnoitalic

Whether or not the character displayed is not italic.

Auto value
0
Booleanoptional
varvar

Whether to use the variation of the character for the end of a word.

Auto value
0
Booleanoptional
boldbold

Whether to use the variation of the character that is bold. Note: Not every symbol has a corresponding bold character.

Auto value
0
Booleanoptional

See also

[edit]