Template:Infobox typeface/doc

From The Global Wiki
Jump to navigation Jump to search

{{Infobox typeface}} adds an Infobox to an article on a typeface.

Usage

Script error: No such module "Parameter names example".

{{Infobox typeface
| name             = 
| image            = 
| image_size       = 
| alt              = 
| style            = 
| classifications  = 
| creator          = 
| commissioned_by  = 
| foundry          = 
| creationdate     = 
| releasedate      = 
| foundries        = 
| characters       = 
| glyphs           = 
| license          = 
| based_on         = 
| variations       = 
| aka              = 
| metrically_compatible_with = 
| trademark        = 
| sample           = 
| shown_here       = 
| sample_fullimage = 
| website          = {{url|www.example.com}}
| latest_release_version = 
| latest_release_date    = 
| arabic           = 
| cyrillic         = 
| devangari        = 
| greek            = 
| hebrew           = 
| ipa              = 
| latin            = 
}}

Attributes

Required

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 (Not required, but recommended)

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).
classifications
The Vox-ATypI classification for the typeface, such as "Humanist", "Didone", "Geometric", or "Lineal humanist".
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.
Note: Monotype doesn't link to the foundry.
creationdate
The year the font was created.
releasedate
The year the typeface was first released, if different than the creation date.
foundries
The names of foundries that have re-issued the typeface in the same format or formats differing from the original, e.g., digital.
glyphs
The number of glyphs the font contains, or an estimate if not available.
characters
The number of unique characters; specify encoding if other than Unicode.
license
The license the font is published under, e.g. "OFL", "CC0", or "Proprietary".
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.
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.
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.
metrically_compatible_with
A metrically compatible typeface, or a plainlist of such typefaces. Where the typeface has an article in Wikipedia, wikilink it. See this ArchWiki page for examples, but avoid linking clones lacking notability.
trademark
The owner of the font name, or the holder of the font's trademark.
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.
website
The web site URL, if any, of the font.
Use {{URL|http://www.example.com}}
latest_release_version
most recent release of the font
latest_release_date
date when the most recent version was published.
Use {{release date and age|YYYY|MM|DD}}

Coverage

arabic
Set yes if it contains these characters.
cyrillic
Set yes if it contains these characters.
devangari
Set yes if it contains these characters.
greek
Set yes if it contains these characters.
emoji
Proposed TBD?
hebrew
Set yes if it contains these characters.
ipa
Set yes if it contains these characters.
latin
Set yes if it contains these characters.

Examples

Normal syntax

Bookman
File:Bookman font.svg
CategorySerif
ClassificationSlab serif
Designer(s)Alexander Phemister
FoundryITC
Date released1860
Bookman sample text
Sample
See all characters
{{Infobox typeface
| name             = Bookman
| image            = Bookman font.svg
| style            = [[Serif]]
| classifications  = [[Slab serif]]
| releasedate      = 1860
| creator          = [[Alexander Phemister]]
| foundry          = [[International Typeface Corporation|ITC]]
| sample           = [[File:Bookman_sample.svg|220px|Bookman sample text]]
| sample_fullimage = Bookman.png
}}

Minimal syntax

Comic Sans
CategoryScript
{{Infobox font
| name  = Comic Sans
| style = [[Script (typefaces)|Script]]
}}

Optimal syntax

Helvetica
File:Helvetica font.svg
CategorySans-serif
Designer(s)Max Miedinger
Foundry
Date created1957
Variations
Also known asSwiss 721
Sample text
Sample
Metrically compatible with

<syntaxhighlight lang="moin" style="overflow:auto;">

Helvetica
File:Helvetica font.svg
CategorySans-serif
Designer(s)Max Miedinger
Foundry
Date created1957
Variations
Also known asSwiss 721
Sample text
Sample
Metrically compatible with

</syntaxhighlight>

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox typeface

Infobox for typefaces (font families)

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Unknownrequired
Imageimage

Specimen image of the font, or an image of the name of the font set in its own type

Filesuggested
image_sizeimage_size

width of the image to display

Default
300px
Unknownoptional
altalt

no description

Unknownoptional
Categorystyle

Style of the typeface

Example
Serif, Sans-serif, Script, Blackletter, Display, Symbol
Stringrequired
Classificationclassifications

The Vox-ATypI classification for the typeface

Example
Humanist, Didone, Geometric, or Lineal humanist
Unknownoptional
Designer(s)creator

Name of this font's designer(s), if known.

Unknownoptional
Commissioned bycommissioned_by

Organization or individual who commissioned the typeface to be created

Unknownoptional
Foundryfoundry

Original distributor and license owner

Unknownsuggested
Date createdcreationdate

no description

Datesuggested
Date releasedreleasedate

no description

Dateoptional
Re-issuing foundriesfoundries

no description

Unknownoptional
Characterscharacters

number of unique characters

Unknownoptional
Glyphsglyphs

The number of glyphs the font contains, or an estimate

Numberoptional
Licenselicense

no description

Example
OFL, CC0, or Proprietary
Unknownoptional
Design based onbased_on

original design on which a revival, reinterpretation, homage or extension is based upon

Unknownoptional
variationsvariations

no description

Unknownoptional
Also known asaka

Alternate (or imitation) names for other fonts based on this typeface

Unknownoptional
trademarktrademark

no description

Unknownoptional
samplesample

no description

Unknownoptional
shown_hereshown_here

no description

Unknownoptional
sample_fullimagesample_fullimage

no description

Unknownoptional
Websitewebsite

web site URL, if any, of the font

URLoptional
latest_release_versionlatest_release_version

The version number of the most recent version of this typeface.

Unknownoptional
latest_release_datelatest_release_date

The date that most recent version of this typeface was released.

Unknownoptional
metrically_compatible_withmetrically_compatible_with

A metrically compatible typeface, or a plainlist of such typefaces

Unknownoptional
arabicarabic

Set yes if it contains these characters

Unknownoptional
cyrilliccyrillic

Set yes if it contains these characters

Unknownoptional
devangaridevangari

Set yes if it contains these characters

Unknownoptional
greekgreek

Set yes if it contains these characters

Unknownoptional
hebrewhebrew

Set yes if it contains these characters

Unknownoptional
ipaipa

Set yes if it contains these characters

Unknownoptional
latinlatin

Set yes if it contains these characters

Unknownoptional

Redirects