Template:Hyperlink

From Official Barotrauma Wiki
Revision as of 15:51, 16 May 2022 by Drlloyd5 (talk | contribs) (Undo revision 23932 by Drlloyd5 (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.png Documentation

This template is used for links in some other templates, such as the universal nav. It can also be used in articles. It creates a link and places an appropriate image to the left of the link.

Syntax

{{Hyperlink|<Name>|<Image size override>|<Image name override>|<Link override>|s=<Suffix>}}
  • By default the image and link will be the same as the name
  • Default image size is 30(px)
  • Adding "s=s" allows the s to be included in the link, instead of the regular (beige) color being used 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

{{Hyperlink|Tiger Thresher}}
gives: Tiger Thresher.png Tiger Thresher
{{Hyperlink|Diving Mask|50}}
gives: Diving Mask icon.png Diving Mask
{{Hyperlink|Jumpsuit||Uniform}}
gives: Uniform.png Jumpsuit
{{Hyperlink|Revolver|s=s}}
gives: Revolver.png Revolvers ( as opposed to Revolver.png Revolvers )
{{Hyperlink|Crawler|s=s|100|Husked Crawler}}
gives: Husked Crawler.png Crawlers