|
|
| 第4行: |
第4行: |
|
|
|
|
|
=== 参数 === |
|
=== 参数 === |
|
|
{|class="wikitable sortable" |
|
; {{{1}}} |
|
|
|
|- |
| ⚫ |
|
|
|
|
! 参数 |
| ⚫ |
::* 耕种:<code>farming</code>、<code>farm</code>、<code>耕种</code>、<code>1</code> |
|
|
|
! 说明 |
| ⚫ |
::* 采矿:<code>mining</code>、<code>mine</code>、<code>采矿</code>、<code>2</code> |
|
|
|
|- |
| ⚫ |
::* 采集:<code>foraging</code>、<code>forage</code>、<code>采集</code>、<code>觅食</code>、<code>3</code> |
|
|
|
| 第一个(未命名)参数 |
| ⚫ |
::* 钓鱼:<code>fishing</code>、<code>fish</code>、<code>钓鱼</code>、<code>4</code> |
|
|
⚫ |
|
| ⚫ |
::* 战斗:<code>combat</code>、<code>battle</code>、<code>战斗</code>、<code>5</code> |
|
|
⚫ |
* 耕种:<code>farming</code>、<code>farm</code>、<code>耕种</code>、<code>1</code> |
|
; {{{2}}} |
|
|
⚫ |
* 采矿:<code>mining</code>、<code>mine</code>、<code>采矿</code>、<code>2</code> |
| ⚫ |
: 技能等级,当为 m 或 精通 时显示精通(必填) |
|
|
⚫ |
* 采集:<code>foraging</code>、<code>forage</code>、<code>采集</code>、<code>觅食</code>、<code>3</code> |
|
⚫ |
* 钓鱼:<code>fishing</code>、<code>fish</code>、<code>钓鱼</code>、<code>4</code> |
|
⚫ |
* 战斗:<code>combat</code>、<code>battle</code>、<code>战斗</code>、<code>5</code> |
|
|
|- |
|
|
| 第二个(未命名)参数 |
|
⚫ |
| 技能等级,当为 m 或 精通 时显示精通(必填) |
|
|
|} |
|
|
|
|
|
=== 示例 === |
|
=== 示例 === |
2025年8月17日 (日) 14:40的版本
模板说明
此模板用于标准化显示技能等级信息,自动添加对应技能等级的图标和页面链接。
参数
| 参数
|
说明
|
| 第一个(未命名)参数
|
技能类型(必填),支持以下别名:
- 耕种:
farming、farm、耕种、1
- 采矿:
mining、mine、采矿、2
- 采集:
foraging、forage、采集、觅食、3
- 钓鱼:
fishing、fish、钓鱼、4
- 战斗:
combat、battle、战斗、5
|
| 第二个(未命名)参数
|
技能等级,当为 m 或 精通 时显示精通(必填)
|
示例
{{Skill level|farming|10}}
{{Skill level|采集|6}}
{{Skill level|5|7}}
{{Skill level|fish|m}}
{{Skill level|[[File:Lucky Icon.png|24px|link=]]不知道什么技能|99}}
效果为
耕种 10 级
采集 6 级
战斗 7 级
钓鱼精通
不知道什么技能 99 级
注意事项
- 技能名称不区分大小写
- 未匹配技能时显示默认格式:
{{{1}}} {{{2}}} 级