Dota 2 Wiki

你现在尚未登录,许多功能可能无法正常使用,若已有账号,请登录,若没有,请先注册Twitch账号
目前我们有非常多的待翻译条目,你也可以看一下目前我们需要优先处理的有哪些目前我们有非常多的待翻译条目,你也可以看一下目前我们需要优先处理的有哪些英雄页面的攻略、克制和物品页面的推荐英雄、小贴士等均为社区玩家编写的,你也可以把自己的心得写上去哦。英雄页面的攻略、克制和物品页面的推荐英雄、小贴士等均为社区玩家编写的,你也可以把自己的心得写上去哦。看不懂技能的buff/debuff是哪个跟哪个?鼠标移动到名称上就能看到游戏内显示的名字和描述了。看不懂技能的buff/debuff是哪个跟哪个?鼠标移动到名称上就能看到游戏内显示的名字和描述了。目前我們沒有善於製作其他中文變體的人員,如果您善於或擁有相關技術,請幫忙補充其他中文變體的空白。目前我們沒有善於製作其他中文變體的人員,如果您善於或擁有相關技術,請幫忙補充其他中文變體的空白。

了解更多

Dota 2 Wiki
注册
Advertisement

Template:SkillListLite的文档 [ 查看 | 编辑 | 净化 ]

Lua logo
▶️ Swapsies!
This template uses Lua.
Its code can be found under 模块:SkillListLite.


SkillListLite is used to display small information boxes on abilities, containing links to the page containing a full explanation of the ability and the unit or item that uses the ability. It is usually used in lists of abilities that are affected by a certain effect, such as Magic Immunity. A series of SkillListLites must be placed in between a {{SkillListHead}} and a {{SkillListTail}}.

For more detailed information boxes, use {{SkillListRich}}.

SkillListLite accepts the following parameters:

  • source - Sets the source page, the main page for the ability's user
  • sourcetext - (Optional) Sets the text displayed as the source (defaults to the value of |source)
  • name - Sets the name of the ability, and the linked page anchor point
  • nametext - (Optional) Sets the text displayed as the ability name (defaults to the value of |name)

Note: This template formerly contained individual parameters for image and type. These are now determined automatically.


Example 1:

    Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value) Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value) Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value) Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value) Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value) Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value)

1 Bad dream annotation space.


Example 2:

Wrapping

    Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value) Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value) Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value) Lua错误 在Module:SkillListLite的第74行:attempt to get length of field 'game' (a nil value)


TemplateData[]

SkillListLite is used to display small information boxes on abilities, containing links to the page containing a full explanation of the ability and the unit or item that uses the ability.

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
Sourcesource

Sets the source page, the main page for the ability's user.

示例值
Bane
字符串必需
Source Textsourcetext

Sets the text displayed as the source (defaults to the value of |source).

字符串可选
Namename

Sets the name of the ability, and the linked page anchor point.

示例值
Nightmare
字符串必需
Name Textnametext

Sets the text displayed as the ability name (defaults to the value of |name).

字符串可选
Advertisement