(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> This template generates an icon corresponding to a standard of living value. It can be used either with numbers (1-99, including decimals) or the names of standard of living ranges. It can also be called with the shortcut {{template|sol}} == Parameters == {| class="wikitable" ! Par…”) |
小无编辑摘要 |
||
第47行: | 第47行: | ||
|- | |- | ||
| <code><nowiki>{{standard of living|Middling}}</nowiki></code> || {{standard of living|Middling}} | | <code><nowiki>{{standard of living|Middling}}</nowiki></code> || {{standard of living|Middling}} | ||
|- | |||
| <code><nowiki>{{standard of living|温饱}}</nowiki></code> || {{standard of living|温饱}} | |||
|- | |- | ||
| <code><nowiki>{{sol|num=12.4}}</nowiki></code> || {{sol|num=12.4}} | | <code><nowiki>{{sol|num=12.4}}</nowiki></code> || {{sol|num=12.4}} |
2025年6月2日 (一) 09:31的最新版本
This template generates an icon corresponding to a standard of living value. It can be used either with numbers (1-99, including decimals) or the names of standard of living ranges. It can also be called with the shortcut {{sol}}
Parameters
Parameter | Description |
---|---|
1 | Standard of living key and text following icon |
num | Standard of living value |
w | Icon size, defaults to 24px |
One of either the first parameter or the num parameter must be used; they can also be used together to customize the text that follows the icon. When using the num parameter, the value is suffixed in parentheses. The first parameter is not case sensitive for keys, but is output as entered.
Key | Value range |
---|---|
赤贫, destitute | 1 - 4.9 |
挣扎, struggling | 5 - 9.9 |
贫困, impoverished | 10 - 14.9 |
温饱, middling | 15 - 19.9 |
安稳, secure | 20 - 24.9 |
宽裕, prosperous | 25 - 29.9 |
殷实, affluent | 30 - 39.9 |
富有, wealthy | 40 - 49.9 |
奢侈, lavish | 50 - 59.9 |
奢华, opulent | 60 - 99 |
生活水平, standard of living, sol | N/A |