模組:Shop/doc
出自星砂島百科
更多語言
更多操作
< 模块:Shop
此頁面為 模块:Shop 的說明文件
模板:Documentation subpage
Shop 提供商店庫存與物品反查展示,供 {{SoldBy}} 與 {{ShopInventory}} 調用。
示例
{{#invoke:Shop|renderSoldBy|土豆种子}}{{#invoke:Shop|renderShopInventory|肥记早餐店}}{{#invoke:Shop|getShopField|Shop.BreakfastCar|open_duration}}
導出函數
renderSoldBy:渲染物品頁的商店出售反查表。renderShopInventory:渲染商店庫存表。getShopField:獲取商店元數據字段。
字段
namekindopen_durationshop_templatefestival_template