Template:PageRef/doc

From Deadlock Wiki
Revision as of 18:31, 6 October 2024 by Sur (talk | contribs) (Created page with "Example {{PageRef|Lash}} {{PageRef|Lash|alt=Jacob}} {{PageRef|Siphon Life|size=50}} {{PageRef|Basic Magazine}} {{PageRef|The Curiosity Shop|alt=Shop|size=100}} <templatedata> { "description": "Template that outputs an icon and a link to the given page with an optional alternate display name.", "params": { "name": { "label": "Name", "description": "The name of the page to link to, also used to determine the icon.",...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Example

Lash

Lash

50 Siphon Life

Basic Magazine

100 The Curiosity Shop

Template that outputs an icon and a link to the given page with an optional alternate display name.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the page to link to, also used to determine the icon.

Example
Lash
Stringrequired
Alternate Namealt

An optional display name to show instead of the page name in the link.

Example
Jacob
Stringoptional
Sizesize

Size of the icon link, defaulted to 15px

Example
50
Numberoptional