Template:nimi: Difference between revisions

1,255 bytes added ,  24 days ago
changed pu versions of sitelen pona to original vector images by Sonja
No edit summary
(changed pu versions of sitelen pona to original vector images by Sonja)
(35 intermediate revisions by 4 users not shown)
Line 1:
<includeonly>{{#ifeqif:{{{1|{{PAGENAME}}}}}|{{PAGENAME}}|{{tpShort title}}description|{{#if:{shortdesc|{{2|}}}ucfirst category|{{#if:{{#pos:1|{{PAGENAME}}|{{{2}}}|}} Toki Pona {{tpformat titlePoS shortdesc|{{{2PoS}}}}} {{{shortdesc+|}}}}}}|2=noreplace}}}}</includeonly><!--
-->{{#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 */));"
|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]][[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'spu handwriting(monospaced).svg|true}}<!--or-->{{#pos:{{120}}|^{{{1|{{PAGENAME}}}}}$}}|<div style="display:inline-block;width:50%;">[[File:{{{sp|{{ucfirst:{{{1|{{PAGENAME}}}}}}} - sitelen pona in Sonja Lang'spu handwriting(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]][[Category:Words with sitelen pona glyphs detected in pu Epelanto]]}}</includeonly></div><!--
else use sitelen seli kiwen glyph (reconsidered per [[SP:N]])-->|{{#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 detected in sitelen seli kiwen]]}}</includeonly></div>}}}}}}}}<!--
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|}}}|{{!}}-
Line 11 ⟶ 12:
{{#ifeq:{{{IPA|}}}|none||{{!}}-
!style="font-size:smaller;text-align:start;width:80px;"{{!}}[[Phonology|Pronunciation]]
{{!}}{{w|International Phonetic Alphabet|{{IPA|{{{IPA|/{{IPAize|{{{1|{{PAGENAME}}}}}}}/{{#ifeq:{{IPAize|{{{1|{{PAGENAME}}}}}}}|{{IPAize narrow|{{{1|{{PAGENAME}}}}}}}||, [{{IPAize narrow|{{{1|{{PAGENAME}}}}}}}]}}}}}}}}}{{#ifexist:Media:Toki Pona - jan Lakuse - {{lc:{{{1|{{PAGENAME}}}}}}}.ogg|<nowiki /> [[:Media:Toki Pona - jan Lakuse - {{lc:{{{1|{{PAGENAME}}}}}}}.ogg|<span alt="Listen to jan Lakuse pronounce this word" title="Listen to jan Lakuse" style="cursor:help;">&#x1F50A;</span>]]}}{{#ifexist:Media:Toki Pona - kala Asi - {{lc:{{{1|{{PAGENAME}}}}}}}.ogg|<nowiki /> [[:Media:Toki Pona - kala Asi - {{lc:{{{1|{{PAGENAME}}}}}}}.ogg|<span alt="Listen to kala Asi pronounce this word" title="Listen to kala Asi" style="cursor:help;">&#x1F50A;</span>]]}}{{#if:{{{audio|}}}|<nowiki /> [[:File:{{{audio}}}|<span alt="Listen to a pronunciation of this word" title="Listen" style="cursor:help;">&#x1F50A;</span>]]}}{{#if:{{#pos:{{{IPA|{{lc:{{{1|{{PAGENAME}}}}}}}}}}|j}}|<small{{Notice style="background:#fef6e7;border:1px solid #fc3;color:#000;display:block;padding:0.2em 0.4em;">compact|{{IPA|/j/}} sounds like English Y, as in "f<mark>j</mark>ord" or "hallelu<mark>j</mark>ah".</small>}}}}}}
|-
!style="font-size:smaller;text-align:start;width:80px;"|[[Usage categories|Usage]]
|class="mw-collapsible mw-collapsed" data-collapsetext="&minus;" data-expandtext="&plus;"|<small class="mw-collapsible-content">'''2023:'''</small> {{#iferror:{{usage cat 2023-4|{{usage 2023|{{{1|{{PAGENAME}}}}}}}}}{{#ifeq:{{usage cat 2023-4|{{usage 2023|{{{1|{{PAGENAME}}}}}}}}}|{{usage cat 2023-6|{{usage 2023|{{{1|{{PAGENAME}}}}}}}}}||<span class="mw-collapsible-content">{{abbr|<sub>4</sub>|4-category system}}, {{usage cat 2023-6|{{usage 2023|{{{1|{{PAGENAME}}}}}}}}}{{abbr|<sub>6</sub>|6-category system}}</span>}} <small>({{usage 2023|{{{1|{{PAGENAME}}}}}}}%{{usage delta|{{{1|{{PAGENAME}}}}}|from=2022|to=2023}})</small>{{#ifexpr:{{usage 2023|{{{1|{{PAGENAME}}}}}}} < 50|{{Notice compact|{{#ifexpr:{{usage 2023|{{{1|{{PAGENAME}}}}}}} < 10|[[File:Ambox warning pn.svg|12x12px|baseline|Caution:]] Most speakers <span style="color:#d33;">'''don't understand'''</span> this word.|[[File:Ambox warning yellow.svg|12x12px|baseline|Caution:]] Most speakers '''don't use''' this word.}}}}}}|{{abbr|N/A|Not applicable}}}}{{Notice compact|1=[[File:Ambox warning pn.svg|12x12px|baseline|Caution:]] This word has not been surveyed for. Most speakers likely <brspan style="color:#d33;">'''don't understand'''</span> it.}}}}{{#iferror:<span class="mw-collapsible-content" style="display:block;"><small>'''2022:'''</small> {{usage cat 2022|{{usage 2022|{{{1|{{PAGENAME}}}}}}}}} <small>({{usage 2022|{{{1|{{PAGENAME}}}}}}}%)</small><br /></span>}}{{#if:{{{deprecated|}}}|{{Notice compact|This word is [[:Category:Deprecated words|<small style="background:#fef6e7;border:1px solid #fc3;color:#000;display:block;padding:0.2em 0.4em;">This word is '''deprecated'''.</small>]].}}<includeonly>{{#if:{{{1|}}}||[[Category:Deprecated words]]}}</includeonly>}}
|-
!style="font-size:smaller;text-align:start;"|[[Book presence|Book]] and [[Eras|era]]
Line 23 ⟶ 24:
{{#if:{{codepoint|{{{1|{{PAGENAME}}}}}}}|{{!}}-
!style="font-size:smaller;text-align:start;"{{!}}[[UCSUR|Codepoint]]
{{!}}{{UCSUR char|{{codepoint|{{{1|{{PAGENAME}}}}}}}|codepoint=yes|font="nasin nanpa","Fairfax Pona HD","linja lipamanka","linja sike","linja pona",sans-serif}}
}}
|}<noinclude>
==Documentation==
{{Auto short description|method=using the parameter <code style="display:inline-block;"><nowiki>|shortdesc=</nowiki></code>, or append to it using <code style="display:inline-block;"><nowiki>|shortdesc+=</nowiki></code>}}
<nowiki>{{</nowiki>nimi
|PoS=content word&brvbar;semiparticle&brvbar;both&brvbar;particle&brvbar;preposition&brvbar;preverb&brvbar;number&brvbar;ala
}}
 
Usage data is retrieved from <code>[[Template:usage 2023|<nowiki>{{usage 2023}}</nowiki>]]</code>, <code>[[Template:usage cat 2023-4|<nowiki>{{usage cat 2023-4}}</nowiki>]]</code>, <code>[[Template:usage cat 2023-6|<nowiki>{{usage cat 2023-6}}</nowiki>]]</code>, <code>[[Template:usage 2022|<nowiki>{{usage 2022}}</nowiki>]]</code>, <code>[[Template:usage cat 2022|<nowiki>{{usage cat 2022}}</nowiki>]]</code>, and <code>[[Template:book|<nowiki>{{book}}</nowiki>]]</code>. Codepoint data is retrieved from <code>[[Template:codepoint|<nowiki>{{codepoint}}</nowiki>]]</code>, <code>[[Template:UCSUR name|<nowiki>{{UCSUR name}}</nowiki>]]</code>, and <code>[[Template:UCSUR char|<nowiki>{{UCSUR char}}</nowiki>]]</code>.
 
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 <em>below</em> the redirect. (If <code>#REDIRECT</code> is not on the first line, the redirect will break).
Line 47 ⟶ 49:
"1": {
"label": "Word",
"description": "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 toand atitle page with a mismatched titleformatting. 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",
"type": "string"