Template:Resource link

From Against the Storm Official Wiki
Revision as of 19:16, 3 February 2023 by Aeredor (talk | contribs) (updated arg names)

Script error: The function "renderLink" does not exist.

This template takes a resource name and turns it into an image followed by a link to the resource. Use the in-game name of the resource (with or without spaces should work, as the background code contains some deconfliction). The default is the icon size is {{ImgS}}, or x16px, for use in-line with text. You can also use med, large, or huge, as you can see below.

For example:

{{Resource_link|Food Stockpiles}}
{{Resource_link|Food Stockpiles|med}}
{{Resource_link|Food Stockpiles|large}}
{{Resource_link|Food Stockpiles|huge}}

Script error: The function "renderLink" does not exist.

Script error: The function "renderLink" does not exist.

Script error: The function "renderLink" does not exist.

Script error: The function "renderLink" does not exist.