Bản mẫu:Thông tin phông chữ/doc
Giao diện
Đây là một trang con tài liệu dành cho Bản mẫu:Thông tin phông chữ. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
{{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
- Name of the typeface. Please be specific so the font preview works well.
- style
- Style of the typeface: Serif, Sans-serif, Script, Blackletter, Display, Symbol
Optional
[sửa mã nguồn]Not required, but recommended.
- familyname
- The name of the font's principal family. For instance, Arial Black is a part of the Arial family.
- classifications
- A more specific term for the style, such as "Modern", "Humanist" or "Geometric"
- image
- Image of name of the font, set in its own face. This is different than the sample attribute below. SVG file format is recommended.
- imagesize
- Width of the image to display (default is 300px).
- based_on
- 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.
- aka
- Alternate (or imitation) names for other fonts based on this typeface. For instance, "Swiss 721" is Bitstream's name for its release of Helvetica.
- creationdate
- The year the font was created.
- releasedate
- The year the typeface was first released, if different than the creation date.
- creator
- Name of this font's designer(s), if known. Otherwise leave blank and fill in foundry name.
- commissioned_by
- Name of organization or individual who originally commissioned the typeface to be created.
- foundry
- The original distributor and license owners of the typeface.
- license
- The license the font is published under i.e. GPL or OFL.
- foundries
- The names of foundries that have re-issued the typeface in the same format or formats differing from the original, ie. digital.
- trademark
- The owner of the font name, or the holder of the font's trademark.
- variations
- 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.
- sample
- 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.
- sample_fullimage
- 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ách | Serif |
---|---|
Phân loại | Slab serif |
Nhà thiết kế | Alexander Phemister |
Xưởng in chữ | ITC |
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]Kiểu cách | Script |
---|
{{Infobox font | name = Comic Sans | style = [[Script (typefaces)|Script]] }}
Optimal syntax
[sửa mã nguồn]Kiểu cách | sans-serif |
---|---|
Nhà thiết kế | Max Miedinger |
Xưởng in chữ | Haas’sche Schriftgießerei Linotype |
Những thay đổi | Helvetica Neue Helvetica Rounded Nimbus Sans |
Tên khác | Swiss 721 |
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]] }}</nowiki>
See also
[sửa mã nguồn]- Bản mẫu:Thông tin phông chữ(sửa thảo luận liên kết lịch sử)
- Bản mẫu:TypeBox(sửa thảo luận liên kết lịch sử)
- Bản mẫu:Infobox typeface(sửa thảo luận liên kết lịch sử)