Template:Stormforged Cornerstones/doc

From Against the Storm Official Wiki
< Template:Stormforged Cornerstones
Revision as of 17:01, 1 May 2024 by Aeredor (talk | contribs) (Created doc for new template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

Displays data about all Stormforged Cornerstones or a subset of them based on search parameters and exclusions. It is not possible to include regular (non-Stormforged) Cornerstones in the results.

Parameters

All parameters are optional. If no parameters are given, a table of all Stormforged Cornerstones will be displayed.

Selection and Exclusion

You may combine the first three parameters to return more Cornerstones. The result will be the union of your selections, without duplicates. Then use exclude to remove any Cornerstones that are unrelated to your purposes with their ids.

Remember that ids are not visible in the game, so you may need to look them up.

Parameter Description
id The Stormforged Cornerstone with this id will be selected to display in the table. If there is a match, adds the one Cornerstone with that id to the table, since they are unique.
name Searches names for this string, and adds Cornerstones with any part of their names matching that string to the table.
description Searches descriptions for this string, and adds Cornerstones with any part of their descriptions matching that string to the table.
exclude A list of ids, separated by commas, that will be excluded from the data. Will not throw an error if an ID is invalid.

Output Overrides

These parameters allow you to customize the appearance of the results.

Parameter Description
caption If you want to override the default caption for the table, you can specify it here.
skip_prices Use skip_prices=skip if you want a table with fewer columns that only lists the icons, names, and their descriptions--without their prices at the Forsaken Altar.

Examples

Showing one Cornerstone by its ID

{{Stormforged Cornerstones|id=[Altar] Fedora Hat}}

Yields:

1 Stormforged Cornerstones with ID '[Altar] Fedora Hat'
Name Description Price Price when upgrading
meta resources villagers meta resources villagers
Old Fedora Hat (Stormforged) Old Fedora Hat (Stormforged) "An old inscription on the bottom of the hat says: "Fortune and glory". Increases the chance of doubling event loot by 75% (this doesn't apply to perks and blueprints)." 48 2 48 0


Searching names and descriptions

The following example shows searching the same term in both name and description, but you could use either.

{{Stormforged Cornerstones|name=trade|description=trade}}

Yields:

5 Stormforged Cornerstones named 'trade' and mentioning 'trade'
Name Description Price Price when upgrading
meta resources villagers meta resources villagers
Export Contract (Stormforged) Export Contract (Stormforged) Increases the production yield of packs of goods by +100%. Gain 2 additional active trade route slots. 40 2 40 0
Stormwalker Training (Stormforged) Stormwalker Training (Stormforged) Your villagers learn how to travel the wilderness from the very best - the Royal Stormwalkers. Trade route caravans travel faster by 40%. Traders will arrive 33% quicker. 40 2 40 0
Tightened Belt (Stormforged) Tightened Belt (Stormforged) Travel cost on trade routes is reduced by 3. Doesn't apply to routes already in progress. This effect scales along with the quantity of goods exported. 40 2 40 0
Trade Logs (Stormforged) Trade Logs (Stormforged) Detailed notes on different traders and their wares. Gain 2 additional active trade route slots. Traders will arrive +33% quicker and have +1 more cornerstones on sale. 40 2 40 0
Trade Negotiations (Stormforged) Trade Negotiations (Stormforged) "Trade routes are worth 3 more <sprite name="[valuable] amber"> Amber. Doesn't apply to routes already in progress. This effect scales along with the quantity of goods exported." 40 2 40 0


Skipping Price Columns

Compare the following table with the one above.

{{Stormforged Cornerstones|name=trade|description=trade|skip_prices=skip}}

Yields:

5 Stormforged Cornerstones named 'trade' and mentioning 'trade'
Name Description
Export Contract (Stormforged) Export Contract (Stormforged) Increases the production yield of packs of goods by +100%. Gain 2 additional active trade route slots.
Stormwalker Training (Stormforged) Stormwalker Training (Stormforged) Your villagers learn how to travel the wilderness from the very best - the Royal Stormwalkers. Trade route caravans travel faster by 40%. Traders will arrive 33% quicker.
Tightened Belt (Stormforged) Tightened Belt (Stormforged) Travel cost on trade routes is reduced by 3. Doesn't apply to routes already in progress. This effect scales along with the quantity of goods exported.
Trade Logs (Stormforged) Trade Logs (Stormforged) Detailed notes on different traders and their wares. Gain 2 additional active trade route slots. Traders will arrive +33% quicker and have +1 more cornerstones on sale.
Trade Negotiations (Stormforged) Trade Negotiations (Stormforged) "Trade routes are worth 3 more <sprite name="[valuable] amber"> Amber. Doesn't apply to routes already in progress. This effect scales along with the quantity of goods exported."


Custom caption