Bản mẫu:Thông tin phông chữ

Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

{{Thông tin phông chữ}} adds an Infobox to an article on a typeface.

Usage[sửa mã nguồn]

{{Infobox font
| name = 
| familyname = 
| image = {{{name}}} specimen.svg
| style = 
| classifications = 
| creator = 
| commissioned_by = 
| foundry = 
| foundries = 
| creationdate = 
| releasedate = 
| trademark = 
| based_on =
| aka = 
| variations = 
| sample = [[File:{{{name}}} sample.svg]]
| shown_here =
| sample_fullimage = [[File:{{{name}}} full sample.svg]]

Attributes[sửa mã nguồn]

Required[sửa mã nguồn]

Name of the typeface. Please be specific so the font preview works well.
Style of the typeface: Serif, Sans-serif, Script, Blackletter, Display, Symbol

Optional[sửa mã nguồn]

Not required, but recommended.

The name of the font's principal family. For instance, Arial Black is a part of the Arial family.
A more specific term for the style, such as "Modern", "Humanist" or "Geometric"
Image of name of the font, set in its own face. This is different than the sample attribute below. SVG file format is recommended.
Width of the image to display (default is 300px).
Refers to the original design on which a revival, reinterpretation, homage or extension is based upon. This is not the same as a clone, for which the "aka" attribute should be used.
Alternate (or imitation) names for other fonts based on this typeface. For instance, "Swiss 721" is Bitstream's name for its release of Helvetica.
The year the font was created.
The year the typeface was first released, if different than the creation date.
Name of this font's designer(s), if known. Otherwise leave blank and fill in foundry name.
Name of organization or individual who originally commissioned the typeface to be created.
The original distributor and license owners of the typeface.
The license the font is published under i.e. GPL or OFL.
The names of foundries that have re-issued the typeface in the same format or formats differing from the original, ie. digital.
The owner of the font name, or the holder of the font's trademark.
List of alternate foundry type designs based on the letterforms of this typeface. For instance, "Garamond", Adobe Garamond", and "ITC Garamond" are different designs, yet are all based on the same original typeface.
A sample of the font, displaying a single large character ("g"), the "quick brown fox" pangram, and a set of characters (A–Z, a–z, 0-9, basic punctuation). SVG file format is recommended.
shown here
Names the version of the font pictured in the illustration.
A large sample image of the font, displaying its full character set (typically, the standard 256 glyphs of a TrueType font). SVG file format is recommended.

Examples[sửa mã nguồn]

Normal syntax[sửa mã nguồn]

Kiểu cáchSerif
Phân loạiSlab serif
Nhà thiết kếAlexander Phemister
Xưởng in chữITC
Bookman sample text
Ví dụ mẫu
Xem tất cả kí tự
{{Infobox font
| name    = Bookman
| image   = Bookman font.svg
| style   = [[Serif]]
| classifications = [[Slab serif]]
| date    = [[1860]]
| creator = [[Alexander Phemister]]
| foundry = [[International Typeface Corporation|ITC]]
| sample  = [[File:Bookman_sample.svg|220px|Bookman sample text]]
| sample_fullimage = Bookman.png

Minimal syntax[sửa mã nguồn]

Comic Sans
Kiểu cáchScript
{{Infobox font
| name  = Comic Sans
| style = [[Script (typefaces)|Script]]

Optimal syntax[sửa mã nguồn]

Kiểu cáchsans-serif
Nhà thiết kếMax Miedinger
Xưởng in chữHaas’sche Schriftgießerei
Những thay đổiHelvetica Neue
Helvetica Rounded
Nimbus Sans
Tên khácSwiss 721
Helvetica sample text
Ví dụ mẫu
{{Infobox font
| name = Helvetica
| image = Helvetica font.svg
| style = [[Sans-serif]]
| aka = [[Swiss 721]]
| date = [[1957]]
| creator = [[Max Miedinger]]
| foundry = [[Haas Typefoundry|Haas’sche Schriftgießerei]]<br />[[Linotype]]
| variations = [[Helvetica Neue]]<br />[[Helvetica Rounded]]<br />[[Nimbus Sans]]
| sample = [[File:Helvetica sample.svg|220px|Helvetica sample text]]

See also[sửa mã nguồn]