Module:Icon/doc
De Pikmin FR
Ceci est la page de documentation pour Module:Icon
Template to display inline icons such as controllers, buttons, and graphics. Meant as a base template to be chained, but can also be called directly.
Usage
{{Icon|<grouping>|<name>}}
group
|
First positional or named, required | This is the group that the icon belongs to, such as a controller type or game or some other grouping.
Valid types include:
| |||
name
|
Second positional or named, required | This is the icon that you want. Appropriate values here vary by the group specified. | |||
ext
|
Named only, optional | The file extension of the inline icon image without the dot. By default, it is "png". For some groups this may need changing to "svg" or "jpg". | |||
link
|
Named only, optional | What the inline icon image links to. By default, this unlinks the image. This should rarely need specifying. | |||
size
|
Named only, optional | The size of the inline icon image. By default, this is 28px. This should rarely need specifying. | |||
alt
|
Named only, optional | The alt text of the inline icon image. By default, this is the same as the "name" text specified. Doesn't need changing unless specifically to point out the icon's context like "Button". |
Valid types
S Icons
{{Icon|S|Name}}
Name | Callie | Marie | Spyke | Ammo Knights |
Output | Callie | Marie | Spyke | Ammo Knights |
- For a complete list, see files beginning with S_Icon_
S2 Icons
{{Icon|S2|Name}}
Name | Judd | Li'l Judd | Pearl | Marina |
Output | Judd | Li'l Judd | Pearl | Marina |
- For a complete list, see files beginning with S2_Icon_
S3 Icons
{{Icon|S3|Name}} and {{Icon|RotM|Name}}
Name | Hotlantis | Shiver | Frye | Big Man |
Output | Hotlantis | Shiver | Frye | Big Man |
- For a complete list, see files beginning with S3_Icon_ and files beginning with RotM_Icon_
Controller Button Icons
See {{Button|<name>|<console>}}