注意:1.4.5 的更新内容量较大,页面上很可能仍有内容尚未更新。
如中文 wiki 信息过时,可以参考英文 wiki 对应页面。
见 Terraria Wiki:项目/1.4.5 获取 wiki 状态与更新指南
如中文 wiki 信息过时,可以参考英文 wiki 对应页面。
见 Terraria Wiki:项目/1.4.5 获取 wiki 状态与更新指南
Template:Cargo
跳转到导航
跳转到搜索
This template displays a notice about the usage of the MediaWiki Cargo extension of a template. It is to be placed in the template's source code, in front of {{doc}}.
If the template uses the {{#cargo_declare:}} and/or {{#cargo_attach:}} calls, they are to be put in the template's unnamed parameters.
Usage
{{ cargo | <cargo parser function calls> | query<n> = <cargo table name> | nocat = y/yes/1 }}
- First/second unnamed parameter
{{#cargo_declare:}} and/or {{#cargo_attach:}} calls, if necessary for the template.
- query1/query2/etc.
Names of cargo tables queried by the template, can be continued infinitely.
- nocat
Prevents the categorization of the template in Category:Templates using Cargo, which is enabled by default.
Examples
| Code | Result |
|---|---|
{{cargo|query1=NPCs|query2=Foobar}}
|
|
{{cargo|{{#cargo_attach:_table=Drops}}|query1=Imageinfo}}
|
|
{{cargo|{{#cargo_declare:_table=NPCs|...}}|{{#cargo_attach:_table=Items}}}}
|