切換選單
331
1.7K
131
11.8K
星露谷物语扩展百科
切換偏好設定選單
切換個人選單
尚未登入
若您做出任何編輯,會公開您的 IP 位址。

模板:Qualityprice

出自星露谷物語擴展百科
於 2023年3月6日 (一) 20:43 由 Sizau留言 | 貢獻 所作的修訂 (doc, untranslated)

模板:Englishdoc

待翻譯

當前頁面的部分內容尚未翻譯。幫助我們完善翻譯

編輯於 2023-03-06 20:43:01

描述

這個模板用於顯示物品多種品質下的售出價格,並且能夠根據使用的需要進行格式化。這個模板採用了物品的圖標(帶有星級標記),而非金幣圖標。圖標的大小為24px。

(另註:該模板參數只接受物品的英文名稱。若給定的是物品的中文名稱,則物品圖標無法正常顯示,部分物品還可能因公式設定出現計算錯誤的情況。)

參數

參數 提示
First (unnamed) parameter Name of image (minus ".png")
Second (unnamed) parameter Normal/base sell price of item (can be found in ObjectInformation.xnb)
or
Normal/base sell price of item used to make 工匠物品 (see examples below)
Note: also accepts non-numbers such as "3x base fruit price" without throwing an error
quality Single quality to display.
Defaults to all qualities (normal, silver, gold, iridium) if omitted.
Note: Instead of specifying 3 qualities to show, use the "hide" parameter with one quality instead.
Items that exist in normal quality only do not have to specify quality=normal (i.e., 山洞蘿蔔, , 綠茶, 蜂蜜, 果醬, 果汁, , 醃菜, 齊瓜, and 茶葉)
Note: Other items may be added in the future. In the meantime, specifying quality=normal will work.
hide Qualities to hide
(e.g., hide=silver,gold)
pm Profession modifier
Tiller gives a 10% bonus, so specify pm=1.1
Angler gives a 50% bonus, so specify pm=1.5
etc.
dsv data-sort-value
Set to false if the quality price(s) are displayed in a non-sortable structure (like an infobox)
Default value is true (the entire parameter can be omitted if a data-sort-value is desired).

舉例

代碼 顯示效果
{{Qualityprice|Melon|250}}
250
312
375
500
{{Qualityprice|Parsnip|35|pm=1.1}}
38
47
57
77
{{Qualityprice|Ginger|60}}
60
{{Qualityprice|Goat Cheese|400|hide=normal,silver}}
600
800
{{Qualityprice|Large Goat Milk FR|345}}
345
431
517
690
{{Qualityprice|Juice|260}}
(The base sell price of 紅葉捲心菜 is 260,
and the base sell price of 紅葉捲心菜 果汁 is 585)
585
{{Qualityprice|Wine|750|pm=1.4}}
(The base sell price of 楊桃 is 750,
and the Artisan base sell price of 楊桃 果酒 is 3,150)
3,150
3,936
4,725
6,300
{{Qualityprice|Honey|30}}
(The base sell price of a 鬱金香 is 30,
and the base sell price of 鬱金香 蜂蜜 is 160)
160