Template:Lead icon/doc
Jump to navigation
Jump to search
This is the documentation subpage of Template:Lead icon. It contains usage information that is not part of the underlying template.
{{Lead icon|image|frame=}}
Displays an icon in the lead of an article, and also sets ?Has game icon on the article so that {{Game icon}} can be used to show the icon from other pages. Should not be used in conjunction with an infobox. Use this for articles like Player Housing or Duty Finder which explain system functions accessible via the main menu or the "Main commands" and "Extras" sections of the system actions menu.
Parameters
- unnamed parameter 1
- File to display in the frame, including
File:namespace and file extension. - frame
- Optional. Frame type to use, passed through to
renderGameIcon. One of standard (default), hq, trait, achievement, or none to omit a frame. - size
- Optional. Icon size. One of small (20px), mid (30px), or big (40px). Defaults to big.
- no smw
- Optional. Set to anything to disable setting the SMW properties for the icon; use this when using this template multiple times on the same page, to ensure only one icon is set in semantic data.