全站通知:
模板:Infobox vegetable/doc
刷
历
编
跳到导航
跳到搜索
简介
此模板({{Infobox vegetable}}
)是用于展示游戏中蔬菜类物品的信息框,其基本用法为:
{{Infobox vegetable |name = 南瓜 <!--中文名称--> |eng = Pumpkin <!--英文名称--> |source = 耕种 <!--获取方式--> |location = <!--地点,仅限于通过采集获得的蔬菜--> |seed = {{name|Pumpkin Seeds}} <!--对应的种子,仅限于通过耕种或果树获得的蔬菜--> |growth = 13 天 <!--生长时间,仅限于通过耕种或果树获得的蔬菜--> |buff = <!--增益效果(若有,没有则留空)--> |buffduration = <!--增益时长(若有,没有则留空)--> |season = Fall <!--生长季节--> |xp = 31 [[耕种#经验值|耕种经验值]] <!--收获获得的经验值--> |edibility = -300 <!--可食用性--> |sellprice = 320 <!--基础售价--> |color = Orange <!--颜色值--> |quality = <!--是否具有品质,若没有,值为 false--> |tag = <!--Wiki 内处理不同蔬菜的识别标签--> }}
Tag 的用法
Tag 主要用于区分该蔬菜的来源,与游戏数据无关,主要用于方便模板进行类别辨认。
目前暂时没有需要使用 Tag 来区分的蔬菜,后续可能会添加
示例
南瓜 | |||||||||||||||||||||||
Pumpkin | |||||||||||||||||||||||
![]() |
|||||||||||||||||||||||
秋天的农作物,因为它香脆的种子以及甜美的果肉而深受喜爱。而且,南瓜壳还能用做节日饰品。 | |||||||||||||||||||||||
信息 | |||||||||||||||||||||||
来源 | 耕种 | ||||||||||||||||||||||
种子 | ![]() |
||||||||||||||||||||||
成熟需 | 13 天 | ||||||||||||||||||||||
季节 | ![]() |
||||||||||||||||||||||
经验值 | 31 点 ![]() |
||||||||||||||||||||||
能量 | 不可食用 | ||||||||||||||||||||||
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
高级 | |||||||||||||||||||||||
物品编号 | (O)276 |
{{Infobox vegetable |name = 南瓜 |eng = Pumpkin |source = [[耕种]] |seed = {{Name|Pumpkin Seeds}} |growth = 13 天 |season = Fall |xp = {{Xp|31|farm}} |sellprice = 320 |edibility = -300 |color = Orange }}
注意
甜瓜 | |||||||||||||||||||||
Melon | |||||||||||||||||||||
![]() |
|||||||||||||||||||||
凉爽香甜的夏日食品。 | |||||||||||||||||||||
信息 | |||||||||||||||||||||
种子 | ![]() |
||||||||||||||||||||
成熟需 | 12天 | ||||||||||||||||||||
季节 | ![]() |
||||||||||||||||||||
经验值 | 27 耕种经验值 | ||||||||||||||||||||
能量 / 生命值 |
|
||||||||||||||||||||
|
|||||||||||||||||||||
|
|||||||||||||||||||||
高级 | |||||||||||||||||||||
物品编号 | (O)254 |
- 这个模板理论上支持所有物品,比如可以使用以下代码来将甜瓜“变”成不带有品质的蔬菜,效果如右所示(移动端显示在上方)
{{Infobox vegetable |name = 甜瓜 |eng = Melon |seed = {{name|Melon Seeds}} |growth = 12天 |season = Summer |xp = 27 [[耕种#经验值|耕种经验值]] |sellprice = 250 |edibility = 45 |color = Pink |quality = false }}
另见
普通
{{Infobox}}
{{Infobox animal}}
{{Infobox artifact}}
{{Infobox artisan}}
{{Infobox book}}
{{Infobox building}}
{{Infobox character}}
{{Infobox clothing}}
{{Infobox cooking}}
{{Infobox craft}}
{{Infobox festival}}
{{Infobox fish}}
{{Infobox flower}}
{{Infobox forage}}
{{Infobox fruit}}
{{Infobox fruit tree}}
{{Infobox furniture}}
{{Infobox item}}
{{Infobox location}}
{{Infobox mineral}}
{{Infobox monster}}
{{Infobox mousehat}}
{{Infobox seed}}
{{Infobox tool}}
{{Infobox tree}}
{{Infobox vegetable}}
{{Infobox villager}}
{{Infobox weapon}}
特殊
{{InfoboxSEO}}
{{Tab}}
{{InfoboxCategory}}
模组
{{Infobox building/SVE}}
{{Item}}
{{Item Crafting}}
{{Item Weapon}}
{{Item consumable}}
{{Item cooking}}
{{Item fish}}
{{InfoboxSEO/SVE}}