sona pona:Guide: Difference between revisions

From sona pona, the Toki Pona wiki
Content added Content deleted
(Created page with "==Policy== ===Be messy=== An unfinished or messy page is infinitely better than no page at all. Even if you never come back to it, someone else surely will. Heck, this very guide started as barely more than an outline! ==Formatting== In addition to [https://www.mediawiki.org/wiki/Help:Formatting standard MediaWiki formatting], we have the following templates: * {{tp|sitelen pona}}: <code><nowiki>{{sp|mu}}</nowiki></code> - {{sp|mu}} (hover or tap to see {{tp|sitelen...")
 
No edit summary
Line 1: Line 1:
==Policy==
==Policy==

===Be messy===
===Be messy===

An unfinished or messy page is infinitely better than no page at all. Even if you never come back to it, someone else surely will. Heck, this very guide started as barely more than an outline!
An unfinished or messy page is infinitely better than no page at all. Even if you never come back to it, someone else surely will. Heck, this very guide started as barely more than an outline!


==Formatting==
==Formatting==
In addition to [//mediawiki.org/wiki/Help:Formatting standard MediaWiki formatting], note the following.

===Italics===
Mark emphasized text with <code><nowiki><em>emphasized text</em></nowiki></code>.

Mark Toki Pona text with [[Template:tp]]. For other languages, see the next section.
:<code><nowiki>{{tp|mu}}</nowiki></code> outputs {{tp|mu}}.

For other uses, like the titles of longform works, you can use <code><nowiki>''italic text''</nowiki></code>.

===Language===
Mark the language of non-English text with [[Template:lang]].
:This lets technologies like screen readers treat the text according to its language (see [[ISO 639-3]]).
:<code><nowiki>{{lang|fr|''je parle bien''}}</nowiki></code> outputs {{lang|fr|''je parle bien''}}. Hover to see the language name.


:Mark unitalicized Toki Pona text with [[Template:tok]].
In addition to [https://www.mediawiki.org/wiki/Help:Formatting standard MediaWiki formatting], we have the following templates:
::Italics usually help the reader distinguish between English and Toki Pona text. However, they may be unwanted for names loaned from Toki Pona, or for {{tp|[[toki pona taso]]}} pages.
::<code><nowiki>{{tp|tok}}</nowiki></code> outputs {{tp|tok}}.


===Titles===
* {{tp|sitelen pona}}: <code><nowiki>{{sp|mu}}</nowiki></code> - {{sp|mu}} (hover or tap to see {{tp|sitelen Lasina}})
Mark a page title as italic or Toki Pona text using [[Template:Italic title]], [[Template:tp title]], or [[Template:tok title]] according to the guidance above.
* {{tp|toki pona}} language marking<ref group="note">This is preferred to regular ''italics'' because it tells the computer that the text is in {{tp|toki pona}}, allowing e.g. screen readers to treat it accordingly.</ref>: <code><nowiki>{{tp|mu}}</nowiki></code> - {{tp|mu}}
** without formatting: <code><nowiki>{{tok|mu}}</nowiki></code> - {{tok|mu}}


==={{tp|sitelen pona}}===
<references group="note"/>
Display {{tp|[[sitelen Lasina]]}} or [[UCSUR]] codepoints as {{tp|[[sitelen pona]]}} with [[Template:sp]].
:<code><nowiki>{{sp|mu}}</nowiki></code> outputs {{sp|mu}}. Hover or press to see the {{tp|sitelen Lasina}} input.

Revision as of 07:03, 8 August 2023

Policy

Be messy

An unfinished or messy page is infinitely better than no page at all. Even if you never come back to it, someone else surely will. Heck, this very guide started as barely more than an outline!

Formatting

In addition to standard MediaWiki formatting, note the following.

Italics

Mark emphasized text with <em>emphasized text</em>.

Mark Toki Pona text with Template:tp. For other languages, see the next section.

{{tp|mu}} outputs mu.

For other uses, like the titles of longform works, you can use ''italic text''.

Language

Mark the language of non-English text with Template:lang.

This lets technologies like screen readers treat the text according to its language (see ISO 639-3).
{{lang|fr|''je parle bien''}} outputs je parle bien. Hover to see the language name.
Mark unitalicized Toki Pona text with Template:tok.
Italics usually help the reader distinguish between English and Toki Pona text. However, they may be unwanted for names loaned from Toki Pona, or for toki pona taso pages.
{{tp|tok}} outputs tok.

Titles

Mark a page title as italic or Toki Pona text using Template:Italic title, Template:tp title, or Template:tok title according to the guidance above.

sitelen pona

Display sitelen Lasina or UCSUR codepoints as sitelen pona with Template:sp.

{{sp|mu}} outputs mu. Hover or press to see the sitelen Lasina input.