We are currently performing an upgrade to our software. This upgrade will bring MediaWiki from version 1.31 to 1.33. While the upgrade is being performed on your wiki it will be in read-only mode. For more information check here.

Template:SkillListLite

来自Dota 2 Wiki
跳转至: 导航搜索

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

Lua logo.svg
▶️ 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:

1 Bad dream annotation space.


Example 2:


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).

字符串可选