Template:usage delta: Difference between revisions
Content added Content deleted
(Created page with "{{#switch:{{sgn|{{usage {{{to}}}|{{{1}}}}}-{{usage {{{from}}}|{{{1}}}}}}} | 1=↗ | 0=→ |-1=↘ }}<noinclude> ==Documentation== <templatedata> { "params": { "1": { "label": "Word", "description": "The word to check", "example": "nimi", "type": "string", "required": true }, "to": { "label": "To year", "type": "number", "suggestedvalues": [ "2022", "2023" ], "required": true }, "from":...") |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{sgn|{{usage {{{to}}}|{{{1}}}}}-{{usage {{{from}}}|{{{1}}}}}}} |
{{#switch:{{sgn|{{usage {{{to}}}|{{{1}}}}}-{{usage {{{from}}}|{{{1}}}}}}} |
||
| 1=↗ |
| 1= <span style="color: green">↗︎</span> |
||
| 0=→ |
| 0= → |
||
|-1=↘ |
|-1= <span style="color: maroon">↘︎</span> |
||
}}<noinclude> |
}}<noinclude> |
||
==Documentation== |
==Documentation== |
||
<templatedata> |
<templatedata> |
Latest revision as of 00:39, 10 January 2024
Documentation[edit source]
Outputs an arrow showing the change in a word's usage between two years.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Word | 1 | The word to check
| String | required |
From year | from | no description
| Number | required |
To year | to | no description
| Number | required |