如中文 wiki 信息过时,可以参考英文 wiki 对应页面。
见 Terraria Wiki:项目/1.4.5 获取 wiki 状态与更新指南
Template:Item/purge
Template:Item caches its results to improve the performance of subsequent transclusions with identical parameters. This template purges the cache, which may be necessary in case there are issues.
Background
Take the transclusion {{item|Stone Block|Stone}} as an example. The template computes the output for this set of parameters and stores that output to the cache. When this very same transclusion occurs again later on the same page, the template does not have to compute the output fully anew again, because it already did so once before. It can simply retrieve the output from the cache.
The cache is cleared automatically after 24 hours but it can be cleared earlier via this template. This may be necessary if a cached output is erroneous.
Usage
Simply take the normal {{item}} transclusion that should be purged (e.g. {{item|Stone Block|Stone}}), change item to item/purge (e.g. {{item/purge|Stone Block|Stone}}), and temporarily save that wikitext on a sandbox page (just previewing is not sufficient). Make sure to include any relevant transclusions of {{options}} that affect the {{item}}.
This template does not produce any output and is only meant to be used temporarily. Do not transclude it permanently on any page.