Template:nimi: Difference between revisions

1,350 bytes added ,  4 months ago
no edit summary
No edit summary
No edit summary
Line 1:
{{#ifeq:{{{1|{{PAGENAME}}}}}|{{PAGENAME}}|{{tp title}}}}
{|class="infobox wikitable {{#if:{{{compact|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" data-collapsetext="−" data-expandtext="+" 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|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen pona]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen pona glyphs]]}}</includeonly></div><!--
Line 8:
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|{{tp|{{{1|{{PAGENAME}}}}}}} in {{tp|[[sitelen sitelen]]}}]]<includeonly>{{#if:{{{1|}}}||[[Category:Words with sitelen sitelen glyphs]]}}</includeonly></div>}}</span>
{{#if:{{{image|}}}|{{!}}-
{{!}}colspan="2"{{!}}[[File:{{{image}}}|center|240x240px|alt={{{alt|}}}|{{{alt|}}}]]}}
{{#ifeq:{{{IPA|}}}|none||{{!}}-
!style="font-size:smaller;text-align:start;width:80px;"{{!}}[[Phonology|Pronunciation]]
Line 47:
"1": {
"label": "Word",
"description": "The wordWord 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 to a page with a mismatched title. 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"
Line 53:
"sp": {
"label": "sitelen pona image",
"description": "Filename for an image of the word's sitelen pona glyph, if none isare automatically found",
"example": "nimi - sitelen pona in Sonja Lang's handwriting.svg",
"type": "wiki-file-name"
Line 71:
"PoS": {
"label": "Part of speech",
"description": "The wordWord's most specialized part of speech",
"type": "string",
"suggestedvalues": [
Line 77:
"semiparticle",
"both",
"particle",
"preposition",
"preverb",
"number",
"ala"
],
"required": true
},
"compactcollapsed": {
"labelaliases": "Compact",[
"compact"
"description": "When enabled, the box will show only the word and glyph images at first. It can still be expanded to view the full content.",
],
"label": "Collapsed?",
"description": "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.",
"type": "boolean"
},
"IPA": {
"label": "IPA pronunciation",
"description": "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.",
"type": "string",
"suggestedvalues": [
"none"
]
},
"audio": {
"label": "Audio pronunciation",
"description": "Filename for an audio recording of the word's pronunciation, if none are automatically found",
"type": "wiki-file-name"
},
"deprecated": {
"label": "Deprecated?",
"description": "Indicates that the word's creator has deprecated it",
"type": "boolean"
},
"alt": {
"label": "Image alt text",
"description": "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.",
"type": "string",
"required": true
}
},
Line 94 ⟶ 121:
"format": "block",
"paramOrder": [
"collapsed",
"1",
"sp",
"ss",
"image",
"PoSalt",
"compactIPA",
"audio",
"deprecated",
"PoS"
]
}