Template:Building link: Difference between revisions
From Against the Storm Official Wiki
(created) |
(updated arg names) |
||
Line 1: | Line 1: | ||
{{#invoke:BuildingLink|renderLink| | {{#invoke:BuildingLink|renderLink|building={{{1|}}}|iconsize={{{2|}}}}}<noinclude> | ||
This template takes a building name and turns it into a link to the building. At larger sizes than standard text, an icon will also be included. Use the in-game name of the building (with or without spaces should work, as the background code contains some deconfliction). The default is no icon, for use in-line with text. You can also use <code>med</code>, <code>large</code>, or <code>huge</code>, as you can see below. | This template takes a building name and turns it into a link to the building. At larger sizes than standard text, an icon will also be included. Use the in-game name of the building (with or without spaces should work, as the background code contains some deconfliction). The default is no icon, for use in-line with text. You can also use <code>med</code>, <code>large</code>, or <code>huge</code>, as you can see below. |
Revision as of 19:28, 3 February 2023
Script error: The function "renderLink" does not exist.
This template takes a building name and turns it into a link to the building. At larger sizes than standard text, an icon will also be included. Use the in-game name of the building (with or without spaces should work, as the background code contains some deconfliction). The default is no icon, for use in-line with text. You can also use med
, large
, or huge
, as you can see below.
For example:
{{Building_link|Cookhouse}} {{Building_link|Cookhouse|med}} {{Building_link|Cookhouse|large}} {{Building_link|Cookhouse|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.