Template:Perk link

Perk link is a template that creates links to perks on the wiki and includes an optional icon for improved recognition. Reuses standardized icon sizes for consistency.

The Template:pl is a shortcut to this template.

Overview
This template should be used liberally across the wiki, wherever the names of perks are mentioned in paragraphs or tables. When the accompanying icon is included, this helps expert player skim the content and helps new players get oriented.

For in-paragraph display, which is presumed to be the most common utilization, the icon is omitted. For use in tables, the size  is recommended, just like in Template:Resource_link, which improves consistency across the wiki.

Use your judgment when writing content. The first mention of a perk in a paragraph should probably be done using this template, so that the link is readily available. But you may find that paragraphs densely mentioning perks become harder instead of easier to read because of the link colors. You may decide that after the first mention of the perk, it's better for subsequent references to be in plain text. For additional guidance on style, consult the Against_the_Storm_Official_Wiki:Style article.

Parameters
You may use either the unique identifier of the perk or its name. If both are provided, the id takes precedence. Identifiers may be significantly different from the name, so double-check or use the perk's name. If you are using the perk's id, you can omit the parameter name.

Unlike goods and buildings, the names of perks are not unique. If you provide a name that matches more than one perk, a link will still be created. It's up to us authors to provide any necessary disambiguation pages.

Examples
With an id,  yields a link with no icon to the perk, which works nicely in paragraphs. With a name instead,  yields the same link,.

For tables, use the medium size icons, like this:. These icons are more recognizable in tables, where spacing and alignment facilitates readability.

Errors
1. When the template is called without a perk id or name, the template reminds you that one is required.

Example:

Incorrect:

2. You must spell identifiers and names correctly, including any punctuation and spaces.

Example:

Misspelled:

Fixed:

Example:

Misspelled:

Fixed:

Additional examples and errors
Here are ways to call the template and the expected result.