Template:nimi: Difference between revisions

From sona pona, the Toki Pona wiki
Content added Content deleted
No edit summary
(changed pu versions of sitelen pona to original vector images by Sonja)
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}||{{Short description|{{{shortdesc|{{ucfirst category|{{{1|{{PAGENAME}}}}}}} Toki Pona {{format PoS shortdesc|{{{PoS}}}}}{{{shortdesc+|}}}}}}|2=noreplace}}}}
<includeonly>{{#if:{{{1|}}}||{{Short description|{{{shortdesc|{{ucfirst category|{{{1|{{PAGENAME}}}}}}} Toki Pona {{format PoS shortdesc|{{{PoS}}}}} {{{shortdesc+|}}}}}}|2=noreplace}}}}</includeonly><!--
</includeonly>{{#if:{{{2|}}}|{{#if:{{#pos:{{PAGENAME}}|{{{2}}}}}|{{tp title|{{{2}}}}}}}|<!--else-->{{#if:{{{1|}}}||{{tp title}}}}}}
-->{{#if:{{{2|}}}|{{#if:{{#pos:{{PAGENAME}}|{{{2}}}}}|{{tp title|{{{2}}}}}}}|<!--else-->{{#if:{{{1|}}}||{{tp title}}}}}}
{|class="infobox wikitable {{#if:{{{compact|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" data-collapsetext="&minus;" data-expandtext="&plus;" style="box-sizing:content-box;clear:right;float:right;margin:0 0 1em 1em;width:calc(240px + (2 * 0.4em /* td padding horizontal */) + (2 * 0.2em /* table border-spacing */));"
{|class="infobox wikitable {{#if:{{{compact|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" data-collapsetext="&minus;" data-expandtext="&plus;" style="box-sizing:content-box;clear:right;float:right;margin:0 0 1em 1em;width:calc(240px + (2 * 0.4em /* td padding horizontal */) + (2 * 0.2em /* table border-spacing */));"
|colspan="2" style="text-align:center;width:240px;"|<div style="font-size:larger;font-weight:bold;">[[sitelen Lasina|<span style="color:#202122;">{{tp|{{poak cursive|{{{2|{{{1|{{PAGENAME}}}}}}}}}}}}</span>]]</div><span class="mw-no-invert" style="mix-blend-mode:multiply;"><!--
|colspan="2" style="text-align:center;width:240px;"|<div style="font-size:larger;font-weight:bold;">[[sitelen Lasina|<span style="color:#202122;">{{tp|{{poak cursive|{{{2|{{{1|{{PAGENAME}}}}}}}}}}}}</span>]]</div><span class="mw-no-invert" style="mix-blend-mode:multiply;"><!--
sitelen pona:-->{{#if:{{{sp|}}}|<div style="display:inline-block;width:50%;">[[File:{{{sp}}}|60x60px|link=sitelen pona|alt={{{1|{{PAGENAME}}}}} in sitelen pona|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen pona]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs]]}}</includeonly></div><!--
sitelen pona:-->{{#if:{{{sp|}}}|<div style="display:inline-block;width:50%;">[[File:{{{sp}}}|60x60px|link=sitelen pona|alt={{{1|{{PAGENAME}}}}} in sitelen pona|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen pona]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs]][[Category:Words with sitelen pona glyphs added manually]]}}</includeonly></div><!--
else use pu glyph-->|{{#if:{{#ifexist:Media:{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona in Sonja Lang's handwriting.svg|true}}<!--or-->{{#pos:{{120}}|^{{{1|{{PAGENAME}}}}}$}}|<div style="display:inline-block;width:50%;">[[File:{{{sp|{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona in Sonja Lang's handwriting.svg}}}|60x60px|link=sitelen pona|alt={{{1|{{PAGENAME}}}}} in sitelen pona|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen pona]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs]]}}</includeonly></div><!--
else use pu glyph-->|{{#if:{{#ifexist:Media:{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona pu (monospaced).svg|true}}<!--or-->{{#pos:{{120}}|^{{{1|{{PAGENAME}}}}}$}}|<div style="display:inline-block;width:50%;">[[File:{{{sp|{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona pu (monospaced).svg}}}|60x60px|link=sitelen pona|alt={{{1|{{PAGENAME}}}}} in sitelen pona|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen pona]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs]][[Category:Words with sitelen pona glyphs detected in pu]]}}</includeonly></div><!--
else use pu Epelanto glyph-->|{{#ifexist:Media:{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona tan lipu pu pi toki Epelanto.png|<div style="display:inline-block;width:50%;">[[File:{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona tan lipu pu pi toki Epelanto.png|60x60px|link=sitelen pona|alt={{{1|{{PAGENAME}}}}} in sitelen pona|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen pona]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs]]}}</includeonly></div><!--
else use pu Epelanto glyph-->|{{#ifexist:Media:{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona tan lipu pu pi toki Epelanto.png|<div style="display:inline-block;width:50%;">[[File:{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona tan lipu pu pi toki Epelanto.png|60x60px|link=sitelen pona|alt={{{1|{{PAGENAME}}}}} in sitelen pona|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen pona]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs]][[Category:Words with sitelen pona glyphs detected in pu Epelanto]]}}</includeonly></div><!--
else use sitelen seli kiwen glyph-->|{{#ifexist:Media:Sitelen seli kiwen - {{lc:{{{1|{{PAGENAME}}}}}}}.png|<div style="display:inline-block;width:50%;">[[File:Sitelen seli kiwen - {{lc:{{{1|{{PAGENAME}}}}}}}.png|60x60px|link=sitelen pona|alt={{{1|{{PAGENAME}}}}} in sitelen pona|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen pona]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs]]}}</includeonly></div>}}}}}}}}<!--
else use sitelen seli kiwen glyph (reconsidered per [[SP:N]])-->|{{#ifexist:Media:Sitelen seli kiwen - {{lc:{{{1|{{PAGENAME}}}}}}}.png|<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs detected in sitelen seli kiwen]]}}</includeonly>}}}}}}}}<!--
sitelen sitelen:-->{{#if:{{{ss|}}}<!--or-->{{#ifexist:Media:{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen sitelen word symbol drawn by Jonathan Gabel.jpg|true}}<!--or-->{{#pos:{{120}}|^{{{1|{{PAGENAME}}}}}$}}|<div style="display:inline-block;width:50%;">[[File:{{{ss|{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen sitelen word symbol drawn by Jonathan Gabel.jpg}}}|60x60px|link=sitelen sitelen|alt={{{1|{{PAGENAME}}}}} in sitelen sitelen|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen sitelen]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen sitelen glyphs]]}}</includeonly></div>}}</span>
sitelen sitelen:-->{{#if:{{{ss|}}}<!--or-->{{#ifexist:Media:{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen sitelen word symbol drawn by Jonathan Gabel.jpg|true}}<!--or-->{{#pos:{{120}}|^{{{1|{{PAGENAME}}}}}$}}|<div style="display:inline-block;width:50%;">[[File:{{{ss|{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen sitelen word symbol drawn by Jonathan Gabel.jpg}}}|60x60px|link=sitelen sitelen|alt={{{1|{{PAGENAME}}}}} in sitelen sitelen|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen sitelen]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen sitelen glyphs]]}}</includeonly></div>}}</span>
{{#if:{{{image|}}}|{{!}}-
{{#if:{{{image|}}}|{{!}}-

Revision as of 03:53, 25 April 2024

nimi in sitelen pona
nimi in sitelen sitelen
Pronunciation /ˈni.mi/ 🔊 🔊
Usage 2023: Core (100% ↗︎ )2022: Core (99%)
Book and era nimi pu
Part of speech Content word
Codepoint 󱥂 U+F1942

Documentation

This template adds an automatically generated short description. If the automatic short description is not optimal, replace it using the parameter |shortdesc=, or append to it using |shortdesc+=.
{{nimi
|PoS=content word¦semiparticle¦both¦particle¦preposition¦preverb¦number¦ala
}}

Usage data is retrieved from {{usage 2023}}, {{usage cat 2023-4}}, {{usage cat 2023-6}}, {{usage 2022}}, {{usage cat 2022}}, and {{book}}. Codepoint data is retrieved from {{codepoint}}, {{UCSUR name}}, and {{UCSUR char}}.

To set the caption and data to a different word than the current pagename, use parameter 1. For proper categorization, you should then create a redirect at the name of the word itself, adding a copy of this template below the redirect. (If #REDIRECT is not on the first line, the redirect will break).

To set custom images for sitelen pona or sitelen sitelen glyphs, add the parameter sp or ss.

To set an illustrative image, add the parameter image.

To indicate that a word's creator has deprecated it, add the parameter deprecated.

Template data

Toki Pona word infobox

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Collapsed?collapsed compact

Collapses the infobox to show only the word and glyph images at first. Used in subsections, to help prevent several consecutive infoboxes from adding collisions or excessive empty space to the page layout.

Booleanoptional
Word1

Word that the infobox describes and finds glyph, usage, and codepoint data for, if it is different from the page title. Also suppresses the addition of categories and title formatting. Thus, make sure an article or redirect is created with this value as its title, with its own instance of this infobox in which this parameter is empty.

Example
nimi
Stringoptional
sitelen pona imagesp

Filename for an image of the word's sitelen pona glyph, if none are automatically found

Example
nimi - sitelen pona in Sonja Lang's handwriting.svg
Fileoptional
sitelen sitelen imagess

Filename for an image of the word's sitelen sitelen glyph, if none is automatically found

Example
nimi - sitelen sitelen word symbol drawn by Jonathan Gabel.jpg
Fileoptional
Imageimage

Filename for an image that describes the word's meaning

Filesuggested
Image alt textalt

Short description of the image. Displayed instead of the image if it cannot be rendered or viewed. Should not alter the meaning of the page. Important for accessibility.

Stringrequired
IPA pronunciationIPA

Word's pronunciation in the International Phonetic alphabet, if the automatically generated transcription is incorrect. Set this parameter to none if the word is completely unpronounceable.

Suggested values
none
Stringoptional
Audio pronunciationaudio

Filename for an audio recording of the word's pronunciation, if none are automatically found

Fileoptional
Deprecated?deprecated

Indicates that the word's creator has deprecated it

Booleanoptional
Part of speechPoS

Word's most specialized part of speech

Suggested values
content word semiparticle both particle preposition preverb number ala
Stringrequired