Difference between revisions of "Template:Infobox typeface/doc"

From blackwiki
Jump to navigation Jump to search
imported>Comp.arch
(→‎Optional: This is a common error. I'm fixing some (see my recent edits). Add Monotype Corporation as an example? Note that one is a redirect, and not sure if linking directly to that (in some/all cases) might be better.)
imported>Funandtrvl
(fx)
Line 1: Line 1:
<noinclude>{{documentation subpage}}</noinclude>
+
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --><includeonly>
 
+
{{esoteric}}
<includeonly>{{esoteric}}</includeonly>
+
</includeonly>
'''{{Tlx|{{BASEPAGENAME}}}}''' adds an [[WP:INFOBOX|Infobox]] to an article on a [[typeface]].
+
'''{{Tlx|Infobox typeface}}''' adds an [[WP:INFOBOX|Infobox]] to an article on a [[typeface]].
  
 
== Usage ==
 
== Usage ==
Line 86: Line 86:
 
}}
 
}}
  
<div style="width:50%;">
+
<pre style="overflow:auto;">
<pre><nowiki>{{Infobox typeface
+
{{Infobox typeface
 
| name            = Bookman
 
| name            = Bookman
 
| image            = Bookman font.svg
 
| image            = Bookman font.svg
Line 97: Line 97:
 
| sample          = [[File:Bookman_sample.svg|220px|Bookman sample text]]
 
| sample          = [[File:Bookman_sample.svg|220px|Bookman sample text]]
 
| sample_fullimage = Bookman.png
 
| sample_fullimage = Bookman.png
}}</nowiki></pre>
+
}}
</div>
+
</pre>
 
+
{{clear}}
{{-}}
 
  
 
===Minimal syntax===
 
===Minimal syntax===
Line 108: Line 107:
 
}}
 
}}
  
<div style="width:50%;">
+
<pre style="overflow:auto;">
<pre><nowiki>{{Infobox font
+
{{Infobox font
 
| name  = Comic Sans
 
| name  = Comic Sans
 
| style = [[Script (typefaces)|Script]]
 
| style = [[Script (typefaces)|Script]]
}}</nowiki></pre>
+
}}
</div>
+
</pre>
 
+
{{clear}}
{{-}}
 
  
 
===Optimal syntax===
 
===Optimal syntax===
Line 132: Line 130:
 
}}
 
}}
  
<div style="width:50%;">
+
<pre style="overflow:auto;">
<pre><nowiki>{{Infobox typeface
+
{{Infobox typeface
 
| name      = Helvetica</nowiki>
 
| name      = Helvetica</nowiki>
 
| image      = Helvetica font.svg
 
| image      = Helvetica font.svg
Line 143: Line 141:
 
| variations = [[Helvetica Neue]]<br />[[Helvetica Rounded]]<br />[[Nimbus Sans]]
 
| variations = [[Helvetica Neue]]<br />[[Helvetica Rounded]]<br />[[Nimbus Sans]]
 
| sample    = [[File:Helvetica sample.svg|220px|Helvetica sample text]]
 
| sample    = [[File:Helvetica sample.svg|220px|Helvetica sample text]]
}}</nowiki></pre>
+
}}
</div>
+
</pre>
 
+
{{clear}}
{{-}}
 
  
 
== Redirects ==
 
== Redirects ==
 +
* {{lts|Infobox font}}
 
* {{Lts|TypeBox}}
 
* {{Lts|TypeBox}}
* {{Lts|Infobox typeface}}
 
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Arts and culture infobox templates|Typeface]]
 
[[Category:Computing infobox templates|Typeface]]
 
[[Category:Computing infobox templates|Typeface]]
[[Category:Arts and culture infobox templates|Typeface]]
+
[[Category:Publishing infobox templates|Typeface]]
 
+
}}</includeonly>
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
[[es:Plantilla:Ficha de fuente]]
 
[[ca:Plantilla:Infotaula lletra tipogràfica]]
 
[[eu:Txantiloi:Letra-tipo infotaula]]
 
[[fr:Modèle:Infobox Police d'écriture]]
 
[[mk:Шаблон:Печатарски слог]]
 
[[ja:Template:Infobox font]]
 
[[ko:틀:글꼴 정보]]
 
[[pt:Predefinição:Info/Fonte]]
 
[[ru:Шаблон:Шрифт]]
 
[[tr:Şablon:Yazı tipi bilgi kutusu]]
 
[[sv:Mall:Infobox typsnitt]]
 
</includeonly>
 

Revision as of 00:15, 11 July 2015

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

Usage

{{infobox typeface
| name             = 
| familyname       = 
| image            = 
| style            = 
| classifications  = 
| creator          = 
| commissioned_by  = 
| foundry          = 
| foundries        = 
| creationdate     = 
| releasedate      = 
| trademark        = 
| based_on         = 
| aka              = 
| variations       =
| website          = {{url|www.example.com}}
| sample           = 
| shown_here       = 
| sample_fullimage = 
| 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.

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.
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.
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. Note: Monotype doesn't link to the foundry.
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, e.g., digital.
trademark 
The owner of the font name, or the holder of the font's trademark.
website 
The web site URL, if any, of the font. Use {{URL|http://www.example.com}}
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.
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.
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
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
FoundryHaas’sche Schriftgießerei
Linotype
VariationsHelvetica Neue
Helvetica Rounded
Nimbus Sans
Also known asSwiss 721
Helvetica sample text
Sample
{{Infobox typeface
| name       = Helvetica</nowiki>
| image      = Helvetica font.svg
| style      = [[Sans-serif]]
| aka        = [[Swiss 721]]
| date       = 1957
| creator    = [[Max Miedinger]]
| foundry    = [[Haas Type Foundry|Haas’sche Schriftgießerei]]<br />[[Mergenthaler Linotype Company|Linotype]]
| variations = [[Helvetica Neue]]<br />[[Helvetica Rounded]]<br />[[Nimbus Sans]]
| sample     = [[File:Helvetica sample.svg|220px|Helvetica sample text]]
}}

Redirects