User:Medyro/Template/Icon

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

Creates an icon that links to a specified page, using either a default file of the form <specified page>.png or an explicitly specified file as the icon.

Usage[edit]

{{User:Medyro/Template/Icon|<link target/image file name prefix>}}
{{User:Medyro/Template/Icon|<link target>|file=<image file name>}}
{{User:Medyro/Template/Icon|<link target/image file name prefix>|<square size>}}
{{User:Medyro/Template/Icon|<link target>|<square size>|file=<image file name>}}

Parameters[edit]

1 (unnamed parameter)
The name of the page to link to.
2 (unnamed parameter)
Optional. A square size in pixels specifying the dimensions of the area into which the icon will be fit.
file
Optional. The name of the file to use as the icon. Defaults to <1>.png

Examples[edit]

* {{User:Medyro/Template/Icon|Skill}}
* {{User:Medyro/Template/Icon|Skill|48}}
* {{User:Medyro/Template/Icon|Waypoint|48|file=Waypoint (map icon).png}}
  • Skill
  • Skill
  • Waypoint