As part of the Unified Community Platform project, your wiki will be migrated to the new platform in the next few weeks. Read more here.

模板: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).

字串選填