Template:Sitelen pona/doc
Can be used for placing up to 32 consecutive sitelen pona glyphs in-line with text.
Combined glyphs can be used, if the character set used has the file for it on Wikimedia Commons.
The shorter synonym {{stpn}}
can also be used for this template.
If 32 characters are not enough, it's possible to use multiple instances of {{sitelen pona}}
in a row. {{stpn|mi|kepeken}}{{stpn|sitelen|pona}}
should behave the same as {{sitelen pona|mi|kepeken|sitelen|pona}}
.
size
parameter
[edit]The size
parameter can be used to change the size of the glyphs, provided in amount of in pixels height. Default size is 24
.
charset
parameter
[edit]The charset
parameter can be used to change between character sets. Currently, it uses images from "sitelen seli kiwen" by default, and charset=pu
can be used to switch to pu versions of the glyphs (which uses "monospaced sitelen pona vector images by Sonja Lang" for pu words, and "sitelen pona from Esperanto pu" for ku suli words)
charset=sitelen seli kiwen
or charset=ssk
can be used to set the character set to sitelen seli kiwen specifically, in case the default changes in the future.
spacing
parameter
[edit]The spacing
parameter can be used to add character spacing between the glyphs, provided in amount of pixels. It adds padding to each side of each glyph, so spacing=2
results in 4 pixels of extra space between each glyph.
monospace (mono
parameter)
[edit]The mono
parameter can be used to simulate monospacing. It can also be combined with the spacing
parameter.
cartouches (cart
parameter)
[edit]The cart
parameter can be used to put a box around the entire template, creating a rudimentary cartouche.
If the cartouche is too close to the characters for good readability, spaces can be used between templates or the spacing
parameter may be used. It may also look nice to make the cartouche template a little smaller than the others.
Note: using cart
messes up the monospacing of the mono
parameter a bit, but it should not be very noticeable with only one or two cartouches per line of text.
punctuation
[edit]The following can be used to insert punctuation. The punctuation does not change size with the size
parameter, but you can fix that by putting a text size template around it.
input | output |
---|---|
:
|
: (fullwidth colon)
|
. or ·
|
・ (fullwidth interpunct)
|
- or
|
(fullwidth space)
|
[ or «
|
「 (opening corner bracket)
|
] or »
|
」 (closing corner bracket)
|
Any of the output characters also work as input.
Combining this with the spacing
and/or mono
parameter might give better results.