Jump to content

Template:New York Point/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Template {{NYP}} is used to insert New York Point patterns into article text. These patterns are inserted as images.

  • {{NYP|first pattern|second pattern|...|tenth pattern|size=nn}}

Parameters

[edit]

Patterns - Up to ten patterns can be indicated with each call of the {{NYP}} template, using the first ten unnamed parameters. Dot patterns for the standard alphabet in both upper and lower case are indicated with the letter - e.g. {{NYP|b}} and {{NYP|B}}. There are also four single-width New York Point dot patterns: , , , and , i.e. "01", "10", "00", and "11", where the first number indicates the top dot, and the second the bottom. These binary patterns can be indicated in decimal as 0, 1, 2, and 3, or braille punctuation . , ; with - for a blank. Other inputs produce a non-breaking space. Note that a blank parameter is processed as if it weren't there. Takes a maximum of 10 parameters, including blanks.

Size - takes a plain number as the image size (height). Default size=12

Example

[edit]
  • normal pattern - {{NYP|N|e|w}}
  • blank pattern - {{NYP|01|11||10}}
  • skipped pattern - {{NYP|01|11|*|10}} 
  • space pattern - {{NYP|01|11|00|10}}
  • decimal pattern - {{NYP|1|3|0|2}}
  • up to 10 columns - {{NYP|N|e|w|-|J|e|r|s|e|y}}