Template:Lhl/doc

From Official Barotrauma Wiki
Jump to: navigation, search
Documentation
This template is used for links in some other templates, such as the Legacy nav. It can also be used in articles. It creates a link and places an appropriate image to the left of the link.

Syntax

 {{Lhl|<Name>|<Image size override>|<Image name override>|<Link override>|s=<Suffix>}} 
   By default, the image and link will be the same as the name.
   The default image size is 30x30(px). The first number is the width, and the second is the height; you can omit either.
   Adding "s=s" allows the suffix to be included in the link instead of using the regular (beige) color if it was added after the template's closing braces.
   The suffix parameter (s=...) can be placed in any position since it is a named parameter.

Examples

{{Lhl|Tiger Thresher}}
gives: Tiger Thresher
{{Lhl|Diving Mask|50}}
gives: Diving Mask
{{Lhl|Jumpsuit|3=Uniform}}
gives: File:Legacy Jumpsuit.png Jumpsuit
{{Lhl|Revolver|s=s}}
gives: Revolvers (as opposed to Revolvers)
{{Lhl|Crawler|s=s|100|Husked Crawler}}
gives: Crawlers
{{Lhl|Crawler|s=s|x40|Husked Crawler}}
gives: Crawlers (specifying the height of the image this time, rather than the width)