Predefinição:SkillListLite/doc

Fonte: Dota 2 Wiki
Ir para: navegação, pesquisa
Lua logo.svg
▶️ Swapsies!
Esta predefinição usa Lua.
Its code can be found under Module: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[editar]

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.

Parâmetros da predefinição

Esta predefinição prefere a formatação em bloco dos parâmetros.

ParâmetroDescriçãoTipoEstado
Sourcesource

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

Exemplo
Bane
Stringobrigatório
Source Textsourcetext

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

Stringopcional
Namename

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

Exemplo
Nightmare
Stringobrigatório
Name Textnametext

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

Stringopcional