Template:Force

From Elwiki
Notebook.png
Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Force/doc.

What is it used for?

This is an overlay template for Force Skill icons.

How to use

Code

{{Force|file|link=skillname|size=1|float=position|valign=position}}

Parameters

  • {{Force|file}} - name of the image (without the "File:" prefix)
  • link - optional link to the skill (provide only skill name, redirects to [Mod] automatically)
  • language - the language of the page
  • name - optional name for the skill in other languages
  • size - if 1, displays a 20px icon, if 2 - 27px, if 3 - 30px
  • float - if right or left specified, pushes the picture to the right or the left of the page
  • valign - vertical align of the picture, useful if inserted in the middle of a text block or so, can equal to top/bottom/baseline/middle

Examples

{{Force|MariciSkill4.png}}

result:

ForceIcon.png
MariciSkill4.png
{{Force|MariciSkill4.png|link=Iceberg}}

result:

ForceIcon.png
MariciSkill4.png
{{Force|MariciSkill4.png|link=Iceberg|language=zh-hans|name=[变化]冰山}}

result:

ForceIcon.png
[变化]冰山
{{Force|MariciSkill4.png|size=1}}

result:

ForceIcon.png
MariciSkill4.png